:root {
  --font-size: 16px;
  --background: #ffffff;
  --foreground: #0f0f1a;
  --radius: 0.625rem;
  --max-w: 72rem;
  --wa: #25d366;
  --wa-hover: #1ebe5d;
  --font: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue",
    Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  font-size: var(--font-size);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  background: var(--background);
  color: var(--foreground);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

main {
  min-height: 100vh;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700;
  line-height: 1.15;
  margin: 0;
}
h2 {
  font-size: clamp(1.6rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.25;
  margin: 0;
}
h3 {
  font-size: 1.25rem;
  font-weight: 600;
  line-height: 1.4;
  margin: 0;
}
h4 {
  margin: 0;
}
p {
  margin: 0;
}
img {
  display: block;
  max-width: 100%;
}

.container {
  position: relative;
  z-index: 10;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .container {
    padding: 0 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container {
    padding: 0 2rem;
  }
}

/* ===== Icons ===== */
.icon {
  width: 1.25rem;
  height: 1.25rem;
  flex-shrink: 0;
}
.icon--arrow {
  transition: transform 0.3s ease;
}
.icon--violet { color: #7c3aed; }
.icon--amber { color: #f59e0b; }
.icon--red { color: #ef4444; }
.icon--react { color: #ff3e00; }

/* ===== Reveal animation ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
[data-reveal].revealed {
  opacity: 1;
  transform: translateY(0);
}

/* ===== Buttons & links ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  padding: 1rem 1.75rem;
  border: none;
  border-radius: 0.75rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn--wa {
  background: var(--wa);
  color: #fff;
  box-shadow: 0 18px 35px -10px rgba(5, 46, 22, 0.4);
}
.btn--wa:hover {
  background: var(--wa-hover);
  transform: translateY(-2px);
  box-shadow: 0 25px 45px -12px rgba(5, 46, 22, 0.45);
}
.btn--wa:hover .icon--arrow {
  transform: translateX(4px);
}
.btn--lg {
  padding: 1rem 2.5rem;
  font-size: 1.125rem;
}
.btn--ghost {
  background: rgba(219, 234, 254, 0.58);
  color: #172554;
  border: 1px solid rgba(191, 219, 254, 0.75);
  backdrop-filter: blur(16px);
  font-weight: 500;
}
.btn--ghost:hover {
  background: rgba(219, 234, 254, 0.75);
}
.btn--ghost .icon {
  color: #2563eb;
}

.link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.2s ease;
}
.link .icon {
  width: 1rem;
  height: 1rem;
}
.link--wa { color: #16a34a; }
.link--wa:hover { color: #15803d; }
.link--ig { color: #7c3aed; }
.link--ig:hover { color: #6d28d9; }

.accent-sky { color: #38bdf8; }
.accent-violet { color: #7c3aed; }
.accent-cyan { color: #67e8f9; }
.text-white { color: #fff; }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}
.eyebrow--violet { color: #6d28d9; }
.eyebrow--cyan { color: #a5f3fc; }
.eyebrow--red { color: #dc2626; }
.eyebrow--react { color: #ff3e00; }
.eyebrow--blue { color: #2563eb; }
.eyebrow--sky { color: #0284c7; }

/* shared blob */
.blob {
  position: absolute;
  border-radius: 9999px;
  pointer-events: none;
  will-change: transform;
}

.grid-texture {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.08) 0 1px,
    transparent 1px 100%
  );
  background-size: 48px 48px;
  opacity: 0.4;
  pointer-events: none;
}

.section-head {
  max-width: 48rem;
  margin: 0 auto 3.5rem;
  text-align: center;
}
.section-head h2 {
  margin-bottom: 1rem;
  color: #111827;
}
.section-head p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: #4b5563;
}
.section-head--light h2 { color: #fff; }
.section-head--light p { color: #cbd5e1; }

/* ============ HERO ============ */
.hero {
  position: relative;
  display: flex;
  align-items: center;
  min-height: 100vh;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(
    135deg,
    rgb(196, 181, 253) 0%,
    rgb(129, 140, 248) 54%,
    rgb(34, 211, 238) 100%
  );
}
.hero__texture {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-image: radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.28), transparent 28%),
    radial-gradient(circle at 62% 18%, rgba(196, 181, 253, 0.36), transparent 25%),
    radial-gradient(circle at 76% 30%, rgba(56, 189, 248, 0.3), transparent 26%),
    radial-gradient(circle at 84% 78%, rgba(251, 146, 60, 0.2), transparent 27%),
    linear-gradient(120deg, rgba(255, 255, 255, 0.11) 0 1px, transparent 1px 100%);
  background-size: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 42px 42px;
}
.hero__tint {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background: rgba(30, 27, 75, 0.08);
}
.hero__backdrop {
  position: absolute;
  left: 0;
  right: 0;
  top: -30%;
  height: 170%;
  z-index: 0;
  pointer-events: none;
  will-change: transform;
}
.hero__backdrop img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  opacity: 0.46;
  filter: saturate(1.1) contrast(1);
}
.hero__backdrop-grad1 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(196, 181, 253, 0.54),
    rgba(199, 210, 254, 0.28),
    rgba(207, 250, 254, 0.24)
  );
}
.hero__backdrop-grad2 {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(30, 27, 75, 0.18),
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.08)
  );
}
.hero__accents {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.hero__accents .blob {
  filter: blur(48px);
}
.blob--violet {
  top: 3rem;
  left: -8%;
  height: 10rem;
  width: 520px;
  transform: rotate(-18deg);
  background: rgba(237, 233, 254, 0.38);
}
.blob--cyan {
  top: 18%;
  right: 8%;
  height: 9rem;
  width: 420px;
  transform: rotate(16deg);
  background: rgba(103, 232, 249, 0.34);
}
.blob--indigo {
  bottom: -2%;
  right: -6%;
  height: 11rem;
  width: 580px;
  transform: rotate(12deg);
  background: rgba(165, 180, 252, 0.34);
}
.blob--emerald {
  top: 50%;
  left: 45%;
  height: 8rem;
  width: 420px;
  transform: translate(-50%, -50%) rotate(6deg);
  background: rgba(167, 243, 208, 0.24);
}
.hero__inner {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 80rem;
  margin: 0 auto;
  padding: 5rem 1rem;
}
@media (min-width: 1024px) {
  .hero__inner {
    padding: 0.5rem 2rem;
  }
}
.hero__card {
  max-width: 64rem;
  margin: 0 auto;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.34);
  padding: 2.5rem 1.25rem;
  text-align: center;
  box-shadow: 0 25px 50px -12px rgba(30, 27, 75, 0.14);
  backdrop-filter: blur(24px);
}
@media (min-width: 640px) {
  .hero__card { padding: 2.5rem 2rem; }
}
@media (min-width: 1024px) {
  .hero__card { padding: 3.5rem 3rem; }
}
.hero__title {
  max-width: 56rem;
  margin: 0 auto 1.5rem;
  color: #2e1065;
  letter-spacing: -0.02em;
}
.hero__lead {
  max-width: 48rem;
  margin: 0 auto 2.25rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: rgba(46, 16, 101, 0.76);
}
@media (min-width: 768px) {
  .hero__lead { font-size: 1.25rem; }
}
.hero__lead strong { color: #2e1065; }
.hero__actions {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .hero__actions { flex-direction: row; }
}

/* ============ SERVICES ============ */
.services {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  background: #020617;
}
.services__bg {
  position: absolute;
  left: 0;
  right: 0;
  top: -12%;
  height: 124%;
  will-change: transform;
  background-image: radial-gradient(circle at 18% 16%, rgba(196, 181, 253, 0.34), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(56, 189, 248, 0.24), transparent 26%),
    radial-gradient(circle at 76% 80%, rgba(251, 146, 60, 0.22), transparent 28%),
    linear-gradient(135deg, #0f172a 0%, #312e81 50%, #111827 100%);
}
.services__grid {
  display: grid;
  gap: 1.25rem;
}
@media (min-width: 1024px) {
  .services__grid { grid-template-columns: repeat(3, 1fr); }
}
.service-card {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  padding: 2rem;
  box-shadow: 0 25px 50px -12px rgba(2, 6, 23, 0.28);
  backdrop-filter: blur(40px);
}
.service-card__glow,
.service-card__glow2 {
  position: absolute;
  height: 10rem;
  width: 10rem;
  border-radius: 9999px;
  filter: blur(48px);
}
.service-card__glow {
  right: -4rem;
  top: -4rem;
  opacity: 0.28;
  transition: transform 0.5s ease;
}
.service-card:hover .service-card__glow {
  transform: scale(1.1);
}
.service-card__glow2 {
  bottom: -5rem;
  left: 2rem;
  opacity: 0.16;
}
.accent-1 { background: linear-gradient(to bottom right, #a78bfa, #e879f9, #fdba74); }
.accent-2 { background: linear-gradient(to bottom right, #38bdf8, #67e8f9, #6ee7b7); }
.accent-3 { background: linear-gradient(to bottom right, #34d399, #bef264, #fdba74); }
.service-card__top {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  height: 6rem;
  pointer-events: none;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.12), transparent);
}
.service-card__body {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}
.service-card__body h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
  color: #fff;
}
.service-card__divider {
  width: 100%;
  height: 1px;
  margin-bottom: 0.75rem;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.1), transparent);
}
.service-card__body p {
  line-height: 1.7;
  color: #cbd5e1;
}
.services__cta {
  margin-top: 2.5rem;
  text-align: center;
}
.services__cta-note {
  margin-top: 0.75rem;
  font-size: 0.875rem;
  color: #94a3b8;
}

/* ============ AI ============ */
.ai {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
  color: #fff;
  background: #020617;
}
.ai__bg {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 18% 16%, rgba(196, 181, 253, 0.3), transparent 28%),
    radial-gradient(circle at 84% 22%, rgba(56, 189, 248, 0.24), transparent 26%),
    radial-gradient(circle at 76% 82%, rgba(34, 197, 94, 0.18), transparent 26%),
    linear-gradient(135deg, #0f172a 0%, #312e81 50%, #111827 100%);
}
.blob--ai1 {
  left: -10%;
  top: 3rem;
  height: 20rem;
  width: 20rem;
  background: rgba(167, 139, 250, 0.18);
  filter: blur(48px);
}
.blob--ai2 {
  right: -8%;
  bottom: 2.5rem;
  height: 24rem;
  width: 24rem;
  background: rgba(103, 232, 249, 0.16);
  filter: blur(48px);
}
.ai__panel {
  display: grid;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 25px 50px -12px rgba(2, 6, 23, 0.3);
  backdrop-filter: blur(24px);
}
@media (min-width: 1024px) {
  .ai__panel { grid-template-columns: 0.92fr 1.08fr; }
}
.ai__left {
  padding: 1.5rem;
}
@media (min-width: 1024px) {
  .ai__left { padding: 2.5rem; }
}
.ai__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}
.ai-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
}
.ai-badge strong {
  display: block;
  font-size: 0.875rem;
  color: #fff;
}
.ai-badge small {
  font-size: 0.75rem;
  color: #94a3b8;
}
.ai-badge__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0.4rem;
  background: #1A7FFF;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
.ai-badge--tg {
  background: rgba(34, 158, 217, 0.14);
  color: #beebff;
}
.ai-badge--tg img {
  width: 2.25rem;
  height: 2.25rem;
}
.ai__h3 {
  margin-bottom: 1rem;
  font-size: 1.875rem;
  font-weight: 700;
  color: #fff;
}
.ai__desc {
  line-height: 1.7;
  color: #cbd5e1;
}
.ai__caps {
  display: grid;
  gap: 0.75rem;
  margin-top: 1.75rem;
}
.ai-cap {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem;
  backdrop-filter: blur(16px);
}
.ai-cap strong {
  display: block;
  margin-bottom: 0.25rem;
  color: #fff;
}
.ai-cap p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #94a3b8;
}
.ai__right {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  padding: 1.25rem;
}
@media (min-width: 1024px) {
  .ai__right {
    border-top: none;
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }
}
.blob--airight1 {
  right: 2rem;
  top: 2rem;
  width: 6rem;
  height: 6rem;
  background: rgba(103, 232, 249, 0.22);
  filter: blur(32px);
}
.blob--airight2 {
  bottom: 2rem;
  left: 2rem;
  height: 7rem;
  width: 7rem;
  background: rgba(110, 231, 183, 0.2);
  filter: blur(32px);
}
.chat {
  position: relative;
  z-index: 10;
  max-width: 32rem;
  margin: 0 auto;
  border-radius: 1.5rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(15, 23, 42, 0.82);
  padding: 1rem;
  box-shadow: 0 20px 40px -10px rgba(2, 6, 23, 0.4);
}
.chat__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.chat__id {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.chat__avatar {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  padding: 0.4rem;
  background: #fff;
  border-radius: 9999px;
}
.chat__id strong {
  display: block;
  color: #fff;
}
.chat__id small {
  font-size: 0.75rem;
  color: #94a3b8;
}
.chat__status {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 9999px;
  background: rgba(52, 211, 153, 0.14);
  color: #a7f3d0;
}
.chat__body {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-height: 420px;
  overflow-y: auto;
  padding-right: 0.25rem;
}
.chat__body::-webkit-scrollbar {
  width: 6px;
}
.chat__body::-webkit-scrollbar-thumb {
  background: rgba(167, 243, 208, 0.35);
  border-radius: 9999px;
}
.chat__msg {
  max-width: 88%;
  padding: 0.75rem 1rem;
  font-size: 0.875rem;
  line-height: 1.5;
  border-radius: 1rem;
  will-change: transform;
}
.chat__msg--user {
  margin-left: auto;
  max-width: 82%;
  border-top-right-radius: 0.375rem;
  background: #229ed9;
  color: #fff;
}
.chat__msg--bot {
  border-top-left-radius: 0.375rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.1);
  color: #f1f5f9;
}
.chat__msg--ok {
  max-width: 92%;
  border-top-left-radius: 0.375rem;
  border: 1px solid rgba(167, 243, 208, 0.18);
  background: rgba(52, 211, 153, 0.12);
  color: #ecfdf5;
  white-space: pre-line;
}
.chat__msg--ok strong {
  color: #ffffff;
}
.ai__note {
  position: relative;
  z-index: 10;
  max-width: 28rem;
  margin: 1rem auto 0;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(253, 186, 116, 0.18);
  background: rgba(253, 186, 116, 0.1);
}
.ai__note p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 247, 237, 0.9);
}

/* ============ ABOUT ============ */
.about {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.about__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #f5f3ff, #ffffff, #ecfeff);
}
.about__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob--about1 {
  top: 2.5rem;
  left: -10%;
  width: 400px;
  height: 400px;
  background: rgba(221, 214, 254, 0.3);
  filter: blur(80px);
}
.blob--about2 {
  bottom: 2.5rem;
  right: -10%;
  width: 400px;
  height: 400px;
  background: rgba(165, 243, 252, 0.25);
  filter: blur(80px);
}
.blob--about3 {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: rgba(224, 231, 255, 0.4);
  filter: blur(60px);
}
.about__grid {
  display: grid;
  align-items: center;
  gap: 3rem;
}
@media (min-width: 1024px) {
  .about__grid { grid-template-columns: repeat(2, 1fr); }
}
.about__photo-wrap {
  display: flex;
  justify-content: center;
}
.about__photo {
  position: relative;
}
.about__ring {
  position: absolute;
  border-radius: 9999px;
}
.about__ring--1 {
  inset: -16px;
  border: 2px dashed rgba(196, 181, 253, 0.5);
  animation: spin 30s linear infinite;
}
.about__ring--2 {
  inset: -32px;
  border: 1px dotted rgba(103, 232, 249, 0.4);
  animation: spin 45s linear infinite reverse;
}
@keyframes spin {
  to { transform: rotate(360deg); }
}
.about__img {
  position: relative;
  width: 16rem;
  height: 16rem;
  overflow: hidden;
  border-radius: 9999px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  border: 4px solid #fff;
}
@media (min-width: 640px) {
  .about__img { width: 18rem; height: 18rem; }
}
.about__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.about__img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(76, 29, 149, 0.3), transparent);
}
.about__badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  background: #fff;
  border: 1px solid #f3f4f6;
  border-radius: 1rem;
  box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.1);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1f2937;
}
.about__badge .icon { width: 1rem; height: 1rem; }
.about__badge--tr { right: -1rem; top: 2rem; }
.about__badge--bl { left: -1rem; bottom: 2.5rem; }
.about__content h2 {
  margin-bottom: 0.5rem;
  color: #111827;
}
.about__role {
  margin-bottom: 1rem;
  font-size: 1rem;
  font-weight: 500;
  color: #7c3aed;
}
.about__content > div > p {
  margin-bottom: 1rem;
  line-height: 1.7;
  color: #4b5563;
}
.about__values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  margin: 1.5rem 0;
}
.value {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.375rem;
  padding: 0.75rem;
  border-radius: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 600;
  color: #374151;
}
.value .icon { width: 1.25rem; height: 1.25rem; }
.value--violet { background: #f5f3ff; }
.value--violet .icon { color: #7c3aed; }
.value--amber { background: #fffbeb; }
.value--amber .icon { color: #d97706; }
.value--rose { background: #fff1f2; }
.value--rose .icon { color: #e11d48; }
.about__skills-label {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #6b7280;
}
.about__skills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}
.about__skills span {
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  border-radius: 9999px;
  background: linear-gradient(to right, #ede9fe, #e0e7ff);
  color: #6d28d9;
  border: 1px solid rgba(196, 181, 253, 0.6);
}
.about__links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 0.75rem;
}

/* ============ TECH ============ */
.tech {
  position: relative;
  padding: 6rem 0;
  overflow: hidden;
}
.tech__bg {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom right, #f5f3ff, #ffffff, #ecfeff);
}
.tech__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob--tech1 {
  left: -8%;
  top: 2.5rem;
  height: 20rem;
  width: 20rem;
  background: rgba(221, 214, 254, 0.42);
  filter: blur(48px);
}
.blob--tech2 {
  right: -8%;
  top: 25%;
  height: 24rem;
  width: 24rem;
  background: rgba(165, 243, 252, 0.38);
  filter: blur(48px);
}
.blob--tech3 {
  bottom: 2rem;
  left: 33%;
  height: 18rem;
  width: 18rem;
  background: rgba(255, 237, 213, 0.58);
  filter: blur(48px);
}
.logo-tile {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.5rem;
  height: 3.5rem;
  flex-shrink: 0;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 10px 20px -6px rgba(30, 27, 75, 0.12);
  box-shadow: 0 10px 20px -6px rgba(30, 27, 75, 0.12), 0 0 0 1px rgba(237, 233, 254, 1);
}
.logo-tile img { width: 2rem; height: 2rem; object-fit: contain; }
.logo-tile img[alt="Codex"] { width: 2.6rem; height: 2.6rem; }
.logo-tile img[alt="Laravel"] { width: 2.6rem; height: 2.6rem; }
.logo-tile--react {
  border-radius: 9999px;
  background: rgba(97, 218, 251, 0.12);
  box-shadow: 0 10px 20px -6px rgba(8, 47, 73, 0.2), 0 0 0 1px rgba(97, 218, 251, 0.4);
}

.codex-card {
  position: relative;
  overflow: hidden;
  border-radius: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.78);
  padding: 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(30, 27, 75, 0.1);
  backdrop-filter: blur(16px);
}
.codex-card__glow1,
.codex-card__glow2 {
  position: absolute;
  border-radius: 9999px;
  filter: blur(48px);
}
.codex-card__glow1 {
  right: -10%;
  top: -50%;
  height: 14rem;
  width: 14rem;
  background: rgba(221, 214, 254, 0.44);
}
.codex-card__glow2 {
  bottom: -45%;
  left: 28%;
  height: 11rem;
  width: 11rem;
  background: rgba(165, 243, 252, 0.34);
}
.codex-card__inner {
  position: relative;
  z-index: 10;
  display: grid;
  gap: 1.5rem;
  align-items: center;
}
@media (min-width: 1024px) {
  .codex-card__inner { grid-template-columns: 0.92fr 1.08fr; }
}
.codex-card__intro {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}
.codex-card__agents {
  display: grid;
  gap: 1.5rem;
}
.codex-card__agent {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .codex-card__agent { flex-direction: row; align-items: flex-start; }
}
.codex-card__intro h3 {
  margin-bottom: 0.75rem;
  font-size: 1.5rem;
  font-weight: 700;
  color: #020617;
}
.codex-card__text {
  line-height: 1.7;
  color: #475569;
}
.codex-card__workflow {
  display: grid;
  gap: 0.5rem;
  margin-top: 1.25rem;
}
.wf {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: 1rem;
  border: 1px solid #ede9fe;
  background: rgba(245, 243, 255, 0.6);
}
.wf .icon { width: 1rem; height: 1rem; }
.wf p {
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}
.codex-card__panel {
  border-radius: 1.5rem;
  border: 1px solid #f1f5f9;
  background: #020617;
  padding: 1rem;
  color: #fff;
  box-shadow: 0 20px 40px -10px rgba(30, 27, 75, 0.18);
}
.codex-card__panel-head {
  padding-bottom: 0.75rem;
  margin-bottom: 1rem;
  padding-left: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.codex-card__panel-sub {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #94a3b8;
}
.benefits {
  display: grid;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .benefits { grid-template-columns: repeat(2, 1fr); }
}
.benefit {
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  padding: 1rem;
  backdrop-filter: blur(16px);
}
.benefit__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}
.benefit__head h4 {
  font-weight: 700;
  color: #fff;
}
.benefit__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.75rem;
  background: rgba(103, 232, 249, 0.12);
  color: #cffafe;
}
.benefit p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #cbd5e1;
}
.codex-card__note {
  margin-top: 1rem;
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid rgba(253, 186, 116, 0.14);
  background: rgba(253, 186, 116, 0.1);
}
.codex-card__note p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: rgba(255, 247, 237, 0.9);
}

.tech-grid {
  display: grid;
  gap: 1.5rem;
}
.tech-grid--b { margin-top: 1.5rem; }
@media (min-width: 1024px) {
  .tech-grid--a { grid-template-columns: 1.18fr 0.82fr; }
  .tech-grid--b { grid-template-columns: 1.18fr 0.82fr; }
}
.tech-panel {
  border-radius: 2rem;
  box-shadow: 0 25px 50px -12px rgba(30, 27, 75, 0.1);
  backdrop-filter: blur(16px);
}
.tech-panel--laravel {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.72);
}
.tech-panel__head {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.tech-panel__head--laravel {
  padding: 1.5rem;
  border-bottom: 1px solid rgba(254, 226, 226, 0.8);
  background: linear-gradient(to right, #fef2f2, #ffffff, #fff7ed);
}
.tech-panel__head h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #020617;
}
.tech-panel--laravel .tech-panel__body { padding: 1.5rem; }
.tech-panel--laravel .tech-panel__body > p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: #475569;
}
.tech-points {
  display: grid;
  gap: 1rem;
}
.tech-point {
  padding: 1rem;
  border-radius: 1rem;
  border: 1px solid #f1f5f9;
  background: rgba(248, 250, 252, 0.8);
}
.tech-point__head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}
.tech-point__head strong { color: #020617; }
.tech-point p {
  font-size: 0.875rem;
  line-height: 1.6;
  color: #475569;
}

.tech-panel--react {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 196, 173, 0.5);
  background: #020617;
  padding: 1.5rem;
  color: #fff;
  box-shadow: 0 25px 50px -12px rgba(8, 51, 68, 0.2);
}
.tech-panel__glow1,
.tech-panel__glow2 {
  position: absolute;
  height: 18rem;
  width: 18rem;
  border-radius: 9999px;
  filter: blur(48px);
}
.tech-panel__glow1 {
  right: -20%;
  top: -20%;
  background: rgba(255, 62, 0, 0.2);
}
.tech-panel__glow2 {
  bottom: -20%;
  left: -15%;
  background: rgba(139, 92, 246, 0.18);
}
.tech-panel__react-inner {
  position: relative;
  z-index: 10;
}
.tech-panel__react-inner .tech-panel__head { margin-bottom: 2rem; }
.tech-panel__react-inner .logo-tile { width: 3.5rem; height: 3.5rem; }
.tech-panel__react-desc {
  margin-bottom: 1.5rem;
  line-height: 1.7;
  color: #cbd5e1;
}
.react-points {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.react-point {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem;
  border-radius: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(16px);
  font-size: 0.875rem;
  color: #f1f5f9;
}

.tech-panel--mysql {
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.72);
  padding: 1.5rem;
}
.tech-panel--mysql .tech-panel__head,
.tech-panel--tailwind .tech-panel__head { margin-bottom: 1.25rem; }
.tech-panel--mysql > p,
.tech-panel--tailwind > p {
  line-height: 1.7;
  color: #475569;
}
.tech-panel--mysql h3,
.tech-panel--tailwind h3 {
  font-size: 1.5rem;
  font-weight: 700;
  color: #020617;
}
.tech-panel--tailwind {
  border: 1px solid rgba(207, 250, 254, 0.8);
  background: linear-gradient(to bottom right, #ecfeff, #ffffff, #f0f9ff);
  padding: 1.5rem;
}

/* ============ CTA ============ */
.cta {
  position: relative;
  padding: 6rem 0 0;
  overflow: hidden;
  color: #fff;
  background-image: linear-gradient(
    135deg,
    rgb(88, 28, 235) 0%,
    rgb(30, 60, 220) 50%,
    rgb(6, 182, 212) 100%
  );
}
.cta__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.blob--cta1 {
  top: -10%;
  left: -5%;
  width: 450px;
  height: 450px;
  background: rgba(255, 255, 255, 0.1);
  filter: blur(100px);
}
.blob--cta2 {
  bottom: -10%;
  right: -5%;
  width: 500px;
  height: 500px;
  background: rgba(34, 211, 238, 0.2);
  filter: blur(100px);
}
.blob--cta3 {
  top: 50%;
  right: 25%;
  width: 300px;
  height: 300px;
  background: rgba(192, 132, 252, 0.15);
  filter: blur(80px);
}
.cta__inner {
  position: relative;
  z-index: 10;
  max-width: 64rem;
  margin: 0 auto;
  padding: 0 1rem;
}
@media (min-width: 640px) {
  .cta__inner { padding: 0 1.5rem; }
}
.cta__head {
  text-align: center;
  margin-bottom: 3rem;
}
.cta__head h2 {
  margin-bottom: 1.5rem;
  color: #fff;
}
.cta__head > p {
  max-width: 42rem;
  margin: 0 auto 2.5rem;
  font-size: 1.25rem;
  line-height: 1.7;
  color: #c7d2fe;
}
.cta__actions {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}
@media (min-width: 640px) {
  .cta__actions { flex-direction: row; }
}
.cta .btn--wa:hover { transform: scale(1.05); }

.footer {
  position: relative;
  z-index: 10;
  margin-top: 4rem;
  padding: 2rem 1rem;
  text-align: center;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}
.footer__copy {
  font-size: 0.875rem;
  color: #a5b4fc;
}
.footer__copy strong { color: #fff; }
.footer__links {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
@media (min-width: 640px) {
  .footer__links { flex-direction: row; }
}
.link--wa-light { color: #bbf7d0; }
.link--wa-light:hover { color: #fff; }
.link--ig-light { color: #c7d2fe; }
.link--ig-light:hover { color: #fff; }

@media (min-width: 640px) {
  .footer { padding-bottom: 2rem; }
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
  .about__ring { animation: none; }
  * { scroll-behavior: auto; }
}
