/* ===== DESIGN TOKENS — PRAJIN DEZAA PORTFOLIO DESIGN SYSTEM ===== */
:root {
  --bg: #050816;
  --bg2: #0a1030;
  --fg: #eef1ff;
  --mut: #a3adcf;
  --c1: #38bdf8;
  --c2: #6366f1;
  --c3: #a855f7;
  --glass: rgba(255, 255, 255, 0.05);
  --glass-hover: rgba(255, 255, 255, 0.08);
  --line: rgba(255, 255, 255, 0.12);
  --grad: linear-gradient(120deg, var(--c1), var(--c2) 55%, var(--c3));
  --d: 'Space Grotesk', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --b: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --s: 8px;
}

[data-theme="light"] {
  --bg: #f4f6ff;
  --bg2: #e6eaff;
  --fg: #0b1030;
  --mut: #475079;
  --glass: rgba(255, 255, 255, 0.7);
  --glass-hover: rgba(255, 255, 255, 0.85);
  --line: rgba(11, 16, 48, 0.14);
  --c1: #0284c7;
  --c2: #4f46e5;
  --c3: #9333ea;
}

/* RTL Support for Arabic */
[dir="rtl"] {
  text-align: right;
}
[dir="rtl"] .logo {
  margin-right: 0;
  margin-left: auto;
}
[dir="rtl"] .tl {
  padding-left: 0;
  padding-right: 40px;
}
[dir="rtl"] .tl:before,
[dir="rtl"] .tl i {
  left: auto;
  right: 11px;
}
[dir="rtl"] .step:after {
  left: auto;
  right: -37px;
}
[dir="rtl"] .wa {
  right: auto;
  left: 20px;
}
[dir="rtl"] .wa-tooltip {
  right: auto;
  left: calc(100% + 14px);
  transform: translateY(-50%) translateX(-8px);
}
[dir="rtl"] .wa:hover .wa-tooltip {
  transform: translateY(-50%) translateX(0);
}

* {
  box-sizing: border-box;
  margin: 0;
}

html {
  scroll-behavior: auto;
}

body {
  background: var(--bg);
  color: var(--fg);
  font: 400 16px/1.65 var(--b);
  overflow-x: hidden;
  transition: background 0.4s;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

body:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  opacity: 0.05;
  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 baseFrequency='.9'/%3E%3C/filter%3E%3Crect width='120' height='120' filter='url(%23n)'/%3E%3C/svg%3E");
}

.mesh {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: radial-gradient(40vmax 40vmax at 15% 10%, color-mix(in srgb, var(--c2) 28%, transparent), transparent),
              radial-gradient(35vmax 35vmax at 90% 30%, color-mix(in srgb, var(--c1) 20%, transparent), transparent),
              radial-gradient(40vmax 40vmax at 50% 100%, color-mix(in srgb, var(--c3) 22%, transparent), transparent);
  animation: mv 18s ease-in-out infinite alternate;
}

@keyframes mv {
  to {
    transform: scale(1.15) translate(2%, -2%);
  }
}

#gl {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  transition: opacity 0.4s;
}

main, footer {
  position: relative;
  z-index: 2;
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 70;
  padding-top: calc(env(safe-area-inset-top, 0px) + 12px);
  pointer-events: none;
}

section {
  scroll-margin-top: 88px;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
  height: auto;
}

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

.skip {
  position: absolute;
  left: -999px;
  top: 8px;
  background: var(--c2);
  color: #fff;
  padding: 8px 16px;
  z-index: 99;
  border-radius: 8px;
}
.skip:focus {
  left: 8px;
}

h1, h2, h3, h4 {
  font-family: var(--d);
  line-height: 1.1;
  letter-spacing: -0.03em;
}

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

section {
  padding: clamp(64px, 8vw, 120px) 0;
}

.eyebrow {
  font: 600 13px var(--d);
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c1);
  margin-bottom: 16px;
}

h2 {
  font-size: clamp(32px, 4.8vw, 56px);
  margin-bottom: 20px;
  max-width: 20ch;
}

.g {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.lead {
  color: var(--mut);
  max-width: 62ch;
  font-size: clamp(16px, 1.4vw, 19px);
  line-height: 1.7;
}

#bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: 0;
  z-index: 60;
}

/* Nav */
nav {
  position: relative;
  margin: 0 auto;
  width: min(1120px, calc(100% - 24px));
  pointer-events: auto;
  transition: background 0.3s, box-shadow 0.3s;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 8px 12px 8px 24px;
  border-radius: 999px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.sc {
  background: color-mix(in srgb, var(--bg) 85%, transparent) !important;
  box-shadow: 0 12px 40px -14px rgba(0, 0, 0, 0.55);
}

.logo {
  font: 700 20px var(--d);
  margin-right: auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}
.logo b {
  color: var(--c1);
}
.brand-logo-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-right: auto;
  text-decoration: none;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  white-space: nowrap;
}
.brand-logo-link:hover {
  transform: translateY(-1px);
}
.brand-logo-link:hover .nav-emblem {
  transform: scale(1.08) rotate(3deg);
  filter: drop-shadow(0 0 16px rgba(56, 189, 248, 0.75));
}
.nav-emblem {
  width: 36px;
  height: 36px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  filter: drop-shadow(0 0 10px rgba(56, 189, 248, 0.45));
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.3s ease;
}
.brand-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  text-align: left;
  white-space: nowrap;
}
.brand-title {
  font: 800 18px/1.1 var(--d);
  letter-spacing: -0.02em;
  color: var(--fg);
  display: block;
  white-space: nowrap;
}
.brand-title b {
  color: var(--c1);
  font-weight: 800;
  margin: 0 1px;
}
.brand-sub {
  font: 700 8.5px/1 var(--m);
  letter-spacing: 0.2em;
  color: var(--c1);
  opacity: 0.85;
  margin-top: 3px;
  text-transform: uppercase;
  display: block;
  white-space: nowrap;
}
.nav-logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.45);
  border: 1px solid var(--line);
}

.links {
  display: flex;
  gap: 20px;
  font-size: 14px;
  color: var(--mut);
}
.links a {
  position: relative;
  padding: 4px 0;
  transition: color 0.2s;
}
.links a:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: 2px;
  width: 100%;
  background: var(--grad);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.35s;
}
.links a:hover,
.links a.on {
  color: var(--fg);
}
.links a:hover:after,
.links a.on:after {
  transform: scaleX(1);
  transform-origin: left;
}

.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font: 600 15px var(--d);
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--fg);
  cursor: pointer;
  overflow: hidden;
  transition: box-shadow 0.3s, transform 0.2s;
}
.btn:hover {
  transform: translateY(-2px);
}
.btn.p {
  background: var(--grad);
  border: 0;
  color: #fff;
  box-shadow: 0 8px 32px -8px var(--c2);
}
.btn.p:hover {
  box-shadow: 0 12px 44px -6px var(--c1);
}
.btn.s {
  padding: 10px 20px;
  font-size: 14px;
}
.ic {
  width: 40px;
  height: 40px;
  padding: 0;
  justify-content: center;
  font-size: 18px;
}
.burger {
  display: none;
}

/* Lang Switcher Dropdown */
.lang-wrap {
  position: relative;
}
.lang-btn {
  background: transparent;
  border: 1px solid var(--line);
  color: var(--fg);
  padding: 6px 12px;
  border-radius: 999px;
  font: 600 12px var(--d);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}
.lang-menu {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: var(--bg2);
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 8px;
  min-width: 170px;
  display: none;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4);
  z-index: 100;
  max-height: 320px;
  overflow-y: auto;
}
.lang-menu.show {
  display: block;
}
.lang-menu a {
  display: block;
  padding: 8px 12px;
  font-size: 13px;
  color: var(--mut);
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.lang-menu a:hover,
.lang-menu a.active {
  background: var(--glass);
  color: var(--fg);
}

/* Hero Section */
.hero {
  min-height: 90vh;
  display: flex;
  align-items: center;
  padding: 130px 0 64px;
}
.hero .wrap {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 32px;
  align-items: center;
}
.badge {
  display: inline-flex;
  gap: 8px;
  align-items: center;
  padding: 8px 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--glass);
  font-size: 13px;
  color: var(--mut);
  margin-bottom: 24px;
}
.badge i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 12px #22c55e;
  animation: pl 1.6s infinite;
}
@keyframes pl {
  50% { opacity: 0.3; }
}

h1 {
  font-size: clamp(40px, 7.5vw, 92px);
  letter-spacing: -0.04em;
  margin-bottom: 24px;
}
.ln {
  display: block;
  overflow: hidden;
  padding-bottom: 0.08em;
}
.ln > span {
  display: inline-block;
}

.cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 32px 0 44px;
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, auto);
  gap: 24px 36px;
  justify-content: start;
}
.stats b {
  display: block;
  font: 700 clamp(28px, 3.2vw, 42px) var(--d);
}
.stats span {
  font-size: 13px;
  color: var(--mut);
}

.me {
  justify-self: center;
  position: relative;
  width: min(340px, 72vw);
  aspect-ratio: 1;
}
.me:before {
  content: "";
  position: absolute;
  inset: -12px;
  border-radius: 32px;
  background: var(--grad);
  filter: blur(28px);
  opacity: 0.45;
  animation: pl 4s infinite;
}
.me img {
  position: relative;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 26px;
  padding: 16px;
  background: var(--glass);
  border: 1px solid var(--line);
  box-shadow: 0 20px 50px -10px rgba(0, 0, 0, 0.5), 0 0 30px rgba(56, 189, 248, 0.15);
}

.hint {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  font-size: 12px;
  color: var(--mut);
  letter-spacing: 0.2em;
}

/* About Me Section */
.about {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 48px;
  align-items: start;
}
.about .me {
  width: min(260px, 56vw);
  position: sticky;
  top: 120px;
}
.vals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
}
.vals .card {
  padding: 24px 24px 28px;
  border-radius: 20px;
}
.vals .card h3 {
  font-size: 20px;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.vals .card p {
  font-size: 14px;
  color: var(--mut);
  line-height: 1.6;
}

/* Glass Card & Bento */
.card {
  position: relative;
  border-radius: 24px;
  background: var(--glass);
  border: 1px solid var(--line);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}
.card:hover {
  border-color: color-mix(in srgb, var(--c1) 40%, var(--line));
}
.card:before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(320px circle at var(--mx, 50%) var(--my, 0), color-mix(in srgb, var(--c1) 20%, transparent), transparent 70%);
  opacity: 0;
  transition: opacity 0.3s;
}
.card:hover:before {
  opacity: 1;
}

.bento {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.bento .card {
  padding: 28px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}
.bento .card:nth-child(1),
.bento .card:nth-child(6) {
  grid-column: span 2;
}
.bento h3 {
  font-size: 22px;
  margin: 16px 0 8px;
  letter-spacing: -0.02em;
}
.bento p {
  font-size: 14px;
  color: var(--mut);
}

.chip {
  width: 52px;
  height: 52px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  font-size: 26px;
  background: var(--grad);
  animation: fl 4s ease-in-out infinite;
  box-shadow: 0 10px 30px -10px var(--c2);
  margin-bottom: auto;
}
@keyframes fl {
  50% { transform: translateY(-6px) rotate(-6deg); }
}

/* Work Case Studies */
.work {
  display: grid;
  gap: 32px;
  margin-top: 48px;
}
.case {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
  padding: 36px;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.case:nth-child(even) .vis {
  order: 2;
}
.vis {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 16px;
  min-height: 420px;
}
.phone {
  position: relative;
  width: 200px;
  height: 400px;
  border-radius: 30px;
  border: 6px solid #1a1f3d;
  background: #000;
  overflow: hidden;
  box-shadow: 0 30px 60px -20px rgba(0, 0, 0, 0.6), 0 0 0 1px var(--line);
  transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.phone.b {
  width: 170px;
  height: 340px;
  margin-top: 64px;
}
.phone img {
  width: 100%;
  transition: transform 5s linear;
}
.case:hover .phone {
  transform: translateY(-14px) rotateY(-6deg);
}
.case:hover .phone.b {
  transform: translateY(8px) rotateY(-6deg);
}
.case:hover .phone img {
  transform: translateY(calc(-100% + 388px));
}
.case:hover .phone.b img {
  transform: translateY(calc(-100% + 328px));
}

.tag {
  font: 600 12px var(--d);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--c1);
}
.case h3 {
  font-size: clamp(26px, 3.2vw, 38px);
  margin: 8px 0 16px;
}
.case dl {
  display: grid;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}
.case dt {
  font: 700 13px var(--d);
  color: var(--fg);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.case dd {
  color: var(--mut);
}

.pills {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 24px;
}
.pills span {
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 12px;
  border: 1px solid var(--line);
  color: var(--mut);
}

/* Marquee */
.mq {
  overflow: hidden;
  padding: 24px 0;
  border-block: 1px solid var(--line);
  background: var(--glass);
  -webkit-mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
  mask: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent);
}
.mq div {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: mq 32s linear infinite;
}
.mq:hover div {
  animation-play-state: paused;
}
.mq span {
  font: 700 clamp(20px, 3vw, 32px) var(--d);
  white-space: nowrap;
  color: var(--mut);
}
.mq span:nth-child(3n+1) {
  color: var(--fg);
}
.mq span:after {
  content: "✦";
  margin-left: 48px;
  color: var(--c2);
}
@keyframes mq {
  to { transform: translateX(-50%); }
}

/* Timeline & Process */
.tl {
  position: relative;
  margin-top: 56px;
  display: grid;
  gap: 24px;
  padding-left: 40px;
}
.tl:before {
  content: "";
  position: absolute;
  left: 11px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--line);
}
.tl i {
  position: absolute;
  left: 11px;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--grad);
  transform-origin: top;
  transform: scaleY(var(--p, 1));
}
.step {
  padding: 24px 32px;
  overflow: visible;
}
.step:after {
  content: "";
  position: absolute;
  left: -37px;
  top: 32px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--c1);
  box-shadow: 0 0 16px var(--c1);
  border: 3px solid var(--bg);
}
.step small {
  font: 600 13px var(--d);
  color: var(--c1);
}
.step h3 {
  font-size: 24px;
  margin: 4px 0 8px;
}
.step p {
  color: var(--mut);
}

/* Testimonials */
.tests {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 48px;
}
.tests .card {
  padding: 32px;
}
.tests q {
  display: block;
  quotes: none;
  margin-bottom: 24px;
  font-size: 16px;
  line-height: 1.6;
}
.tests b {
  display: block;
  font-family: var(--d);
}
.tests span {
  font-size: 13px;
  color: var(--mut);
}

/* FAQ Details */
details {
  border-bottom: 1px solid var(--line);
  padding: 22px 0;
}
summary {
  cursor: pointer;
  font: 600 20px var(--d);
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
summary::-webkit-details-marker {
  display: none;
}
summary:after {
  content: "+";
  color: var(--c1);
  font-size: 26px;
  line-height: 1;
  transition: transform 0.3s;
}
details[open] summary:after {
  transform: rotate(45deg);
}
details p {
  color: var(--mut);
  margin-top: 14px;
  max-width: 66ch;
}
.faq {
  max-width: 820px;
  margin-top: 36px;
}

/* Contact Section & Form */
.final {
  text-align: center;
  padding: clamp(48px, 8vw, 96px) 24px;
  border-radius: 40px;
}
.final h2 {
  margin: 0 auto 20px;
  max-width: 14ch;
  font-size: clamp(38px, 6vw, 72px);
}
.final .lead {
  margin: 0 auto 32px;
}
form {
  display: grid;
  gap: 12px;
  max-width: 520px;
  margin: 32px auto 0;
  text-align: left;
}
input, textarea {
  width: 100%;
  padding: 16px 20px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--glass);
  color: var(--fg);
  font: inherit;
}
input::placeholder, textarea::placeholder {
  color: var(--mut);
}

/* Breadcrumbs */
.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--mut);
  margin-bottom: 24px;
  align-items: center;
}
.breadcrumbs a:hover {
  color: var(--c1);
}
.breadcrumbs span.sep {
  opacity: 0.5;
}
.breadcrumbs span.curr {
  color: var(--fg);
  font-weight: 500;
}

/* Subpage Content Blocks */
.page-header {
  padding: 130px 0 40px;
  border-bottom: 1px solid var(--line);
}
.page-body {
  padding: 56px 0 96px;
}
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 48px;
}
.prose {
  font-size: 17px;
  line-height: 1.75;
  color: var(--fg);
}
.prose p {
  margin-bottom: 20px;
}
.prose h2 {
  font-size: 28px;
  margin: 36px 0 16px;
}
.prose h3 {
  font-size: 22px;
  margin: 28px 0 12px;
}
.prose ul, .prose ol {
  padding-left: 24px;
  margin-bottom: 24px;
}
.prose li {
  margin-bottom: 8px;
}
.prose blockquote {
  border-left: 4px solid var(--c1);
  padding: 12px 20px;
  margin: 24px 0;
  background: var(--glass);
  border-radius: 0 12px 12px 0;
  color: var(--mut);
  font-style: italic;
}
.author-box {
  display: flex;
  gap: 20px;
  align-items: center;
  padding: 24px;
  margin-top: 48px;
  border-radius: 20px;
  background: var(--glass);
  border: 1px solid var(--line);
}
.author-box img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  border: 2px solid var(--line);
}

/* Footer & Sitemaps */
footer {
  margin-top: auto;
  border-top: 1px solid var(--line);
  padding: 56px 0 100px;
  color: var(--mut);
  font-size: 14px;
  background: color-mix(in srgb, var(--bg) 95%, transparent);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  margin-bottom: 40px;
}
.footer-col h4 {
  font: 700 15px var(--d);
  color: var(--fg);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}
.footer-col ul {
  list-style: none;
  padding: 0;
  display: grid;
  gap: 10px;
}
.footer-col a {
  transition: color 0.2s;
}
.footer-col a:hover {
  color: var(--c1);
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}

/* WhatsApp Floating Button */
.wa {
  position: fixed;
  right: 20px;
  bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  z-index: 55;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #25D366;
  color: #fff;
  box-shadow: 0 10px 25px -4px rgba(37, 211, 102, 0.5), 0 4px 12px rgba(0, 0, 0, 0.18);
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease;
  text-decoration: none;
}
.wa:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 14px 30px -2px rgba(37, 211, 102, 0.65), 0 6px 16px rgba(0, 0, 0, 0.25);
}
.wa:before {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  border: 2px solid #25D366;
  animation: pg 2.2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}
@keyframes pg {
  0% { transform: scale(0.95); opacity: 0.8; }
  70% { transform: scale(1.45); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}

.wa-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--bg2);
  color: var(--fg);
  border: 1px solid var(--line);
  padding: 8px 14px;
  border-radius: 999px;
  font: 600 13px var(--d);
  letter-spacing: -0.01em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  gap: 8px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}
.wa:hover .wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}
.wa-online {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 10px #25D366;
}

/* Custom Cursor */
.cur, .dot {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  pointer-events: none;
  border-radius: 50%;
  display: none;
}
@media(hover:hover) and (pointer:fine) {
  .cur, .dot { display: block; }
  .cur {
    width: 36px;
    height: 36px;
    border: 1.5px solid var(--c1);
    margin: -18px 0 0 -18px;
    transition: width 0.25s, height 0.25s, margin 0.25s, background 0.25s;
  }
  .cur.h {
    width: 64px;
    height: 64px;
    margin: -32px 0 0 -32px;
    background: rgba(56, 189, 248, 0.12);
  }
  .dot {
    width: 6px;
    height: 6px;
    margin: -3px 0 0 -3px;
    background: var(--c1);
  }
  body.nc, body.nc a, body.nc button {
    cursor: none;
  }
}

.anim .rv {
  opacity: 0;
  transform: translateY(32px);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
  .hero .wrap, .case, .about, .content-grid {
    grid-template-columns: 1fr;
  }
  .case:nth-child(even) .vis {
    order: 0;
  }
  .bento {
    grid-template-columns: 1fr 1fr;
  }
  .bento .card:nth-child(n) {
    grid-column: auto;
  }
  .bento .card:nth-child(1) {
    grid-column: span 2;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .tests, .vals {
    grid-template-columns: 1fr;
  }
  .stats {
    grid-template-columns: repeat(2, auto);
  }
  .links {
    display: none;
  }
  .burger {
    display: inline-flex;
  }
  .links.o {
    display: flex;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    flex-direction: column;
    padding: 24px;
    border-radius: 24px;
    background: var(--bg2);
    border: 1px solid var(--line);
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.75);
    z-index: 100;
  }
  .vis {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .bento {
    grid-template-columns: 1fr;
  }
  .bento .card:nth-child(1) {
    grid-column: auto;
  }
  .case {
    padding: 20px;
  }
  .phone.b {
    display: none;
  }
  .hint, .btn.hire {
    display: none;
  }
  nav {
    width: calc(100% - 16px);
    padding: 5px 8px 5px 12px;
    gap: 8px;
    min-height: 48px;
  }
  .brand-logo-link {
    gap: 8px;
  }
  .nav-emblem {
    width: 28px;
    height: 28px;
  }
  .brand-title {
    font-size: 15px;
    letter-spacing: -0.01em;
  }
  .brand-sub {
    font-size: 7px;
    letter-spacing: 0.16em;
    margin-top: 2px;
  }
  .lang-btn {
    padding: 5px 8px;
    font-size: 11px;
    gap: 3px;
  }
  .ic {
    width: 34px;
    height: 34px;
    font-size: 15px;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .wa-tooltip {
    display: none !important;
  }
  .wa {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px));
  }
  .wa svg {
    width: 28px;
    height: 28px;
  }
}

@media (max-width: 380px) {
  nav {
    width: calc(100% - 12px);
    padding: 4px 6px 4px 10px;
    gap: 6px;
  }
  .brand-logo-link {
    gap: 6px;
  }
  .nav-emblem {
    width: 24px;
    height: 24px;
  }
  .brand-title {
    font-size: 14px;
  }
  .brand-sub {
    display: none;
  }
  .lang-btn {
    padding: 4px 6px;
    font-size: 10px;
  }
  .ic {
    width: 32px;
    height: 32px;
    font-size: 14px;
  }
}

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