:root {
  --black: #030406;
  --deep: #080b13;
  --dark: #0d111a;
  --white: #ffffff;
  --soft: #f3f7ff;
  --muted: #a8b0c4;
  --line: rgba(255, 255, 255, 0.14);
  --cyan: #10f5e7;
  --blue: #2176ff;
  --purple: #8a2cff;
  --pink: #ff2bd6;
  --gold: #d7b762;
  --radius: 28px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.45);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: Tahoma, Arial, sans-serif;
  background:
    radial-gradient(circle at 15% 8%, rgba(138, 44, 255, 0.22), transparent 28%),
    radial-gradient(circle at 85% 18%, rgba(16, 245, 231, 0.16), transparent 30%),
    linear-gradient(180deg, var(--black) 0%, var(--deep) 42%, #05070d 100%);
  color: var(--white);
  line-height: 1.8;
  overflow-x: hidden;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 72px 72px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 78%);
  z-index: -2;
}
body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(115deg, transparent 0 35%, rgba(16,245,231,0.08), transparent 60%),
    linear-gradient(250deg, transparent 0 42%, rgba(255,43,214,0.08), transparent 72%);
  z-index: -1;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }
.container { width: min(1400px, 90%); margin: auto; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(3, 4, 6, 0.76);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.navbar {
  height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}
.brand-logo, .footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 160px;
}
.brand-logo img, .footer-logo img, .contact-logo {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(16,245,231,0.32));
}
.brand-logo strong, .footer-logo strong {
  display: block;
  font-size: 1.45rem;
  line-height: 1;
  letter-spacing: -1px;
}
.brand-logo small {
  display: block;
  color: var(--muted);
  font-size: 0.75rem;
  margin-top: 5px;
}
.nav-links {
  display: flex;
  gap: 25px;
  align-items: center;
  color: var(--muted);
  font-weight: 800;
  font-size: 0.94rem;
}
.nav-links a:hover { color: var(--white); }
.header-actions { display: flex; align-items: center; gap: 12px; }
.menu-btn {
  display: none;
  border: 0;
  background: transparent;
  color: var(--white);
  font-size: 2rem;
  cursor: pointer;
}
.language-switch {
  display: flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 4px;
  background: rgba(255,255,255,0.06);
}
.language-switch button {
  border: 0;
  cursor: pointer;
  color: var(--muted);
  background: transparent;
  padding: 7px 10px;
  border-radius: 999px;
  font-weight: 900;
}
.language-switch button.active {
  color: var(--black);
  background: linear-gradient(90deg, var(--cyan), var(--pink));
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid transparent;
  border-radius: 999px;
  padding: 13px 24px;
  font-weight: 900;
  cursor: pointer;
  transition: 0.25s ease;
  font-size: 1rem;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(90deg, #27e6e6 0%, #9bbcff 50%, #ef31c8 100%);
  border: none;
  border-radius: 999px;
  color: #000;
  overflow: hidden;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  box-shadow: 0 10px 24px rgba(11, 1, 2, 0.45);

}
.btn-primary:hover, .btn-outline:hover { transform: translateY(-3px); }
.btn-outline {
  color: var(--white);
  background: rgba(255,255,255,0.06);
  border-color: var(--line);
  backdrop-filter: blur(12px);
}
.full { width: 100%; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--cyan);
  font-weight: 900;
  letter-spacing: 0.2px;
  margin-bottom: 16px;
}
.eyebrow::before {
  content: "";
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--cyan), var(--pink));
  border-radius: 99px;
}
html[dir="ltr"] .eyebrow::before { order: -1; }
.card-glow {
  border: 1px solid var(--line);
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.025));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

section { padding: 100px 0; }
.hero { min-height: calc(100vh - 82px); display: grid; align-items: center; overflow: hidden; }
.hero-grid {
  display: grid;
  grid-template-columns: 3.05fr 2.80fr;
  gap: 54px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.7rem, 3vw, 6.2rem);
  line-height: 1.07;
  letter-spacing: -2px;
  margin-bottom: 22px;
}
.hero p, .section-head p, .identity p, .contact-copy p, .journey-step p, .service-card p, .portfolio-card p {
  color: var(--muted);
  font-size: 1.08rem;
}
.hero p { max-width: 680px; color: var(--soft); font-size: clamp(1.05rem, 2vw, 1.28rem); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; margin: 28px 0; }
.brand-strip { display: flex; flex-wrap: wrap; gap: 12px; }
.brand-strip span {
  padding: 7px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  background: rgba(255,255,255,0.04);
  font-weight: 800;
}
.hero-visual, .identity-visual, .journey-visual {
  position: relative;
  overflow: hidden;
  border-radius: 42px;
  min-height: 540px;
}
.hero-image, .identity-visual img, .journey-visual img {
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
}
.hero-visual::before, .identity-visual::before, .journey-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 25% 22%, rgba(255,43,214,0.28), transparent 24%),
    radial-gradient(circle at 82% 64%, rgba(16,245,231,0.24), transparent 28%),
    linear-gradient(180deg, transparent 0%, rgba(0,0,0,0.82) 72%);
  z-index: 1;
}
.floating-logo {
  position: absolute;
  z-index: 2;
  top: 26px;
  inset-inline-start: 26px;
  width: 66px;
  height: 66px;
  border-radius: 20px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.42);
  backdrop-filter: blur(12px);
}
.floating-logo img { width: 46px; height: 46px; object-fit: contain; }
.visual-overlay {
  position: absolute;
  z-index: 2;
  inset-inline: 30px;
  bottom: 30px;
}
.visual-overlay h2 { font-size: clamp(1.8rem, 3vw, 3rem); line-height: 1.25; margin-bottom: 8px; }

.identity { border-block: 1px solid var(--line); background: rgba(255,255,255,0.025); }
.identity-grid, .journey-grid-wrap, .contact-panel {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 60px;
  align-items: center;
}
.identity h2, .section-head h2, .contact h2 {
  font-size: clamp(2rem, 2vw, 4rem);
  line-height: 1.18;
  margin-bottom: 16px;
  letter-spacing: -1px;
}
.identity p { margin-bottom: 16px; color: var(--soft); }
blockquote {
  margin: 25px 0;
  padding: 22px;
  border-inline-start: 4px solid var(--cyan);
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
  font-weight: 900;
  font-size: 1.2rem;
}
.compass-mark {
  position: absolute;
  z-index: 2;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(3rem, 6vw, 5.8rem);
  font-weight: 950;
  letter-spacing: -2px;
  text-shadow: 0 0 24px rgba(0,0,0,0.72);
}
.registry-link {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  color: var(--black);
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  padding: 12px 16px;
  border-radius: 999px;
  font-weight: 950;
}

.section-head { text-align: center; max-width: 820px; margin: 0 auto 38px; }
.section-head.align-start { text-align: start; margin: 0; }
.grid-3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card, .portfolio-card, .journey-step {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(160deg, rgba(255,255,255,0.10), rgba(255,255,255,0.025));
  backdrop-filter: blur(14px);
  box-shadow: 0 18px 45px rgba(0,0,0,0.20);
}
.service-card { padding: 0; min-height: 420px; display: flex; flex-direction: column; }
.service-card img, .portfolio-card img { width: 100%; height: 210px; object-fit: cover; }
.service-body, .portfolio-body { padding: 24px; }
.service-card .number, .journey-step .number {
  display: inline-flex;
  color: var(--cyan);
  font-weight: 950;
  margin-bottom: 12px;
}
.service-card h3, .portfolio-card h3, .journey-step h3 { font-size: 1.35rem; line-height: 1.35; margin-bottom: 10px; }

.work { background: rgba(255,255,255,0.025); }
.portfolio-card { min-height: 430px; }
.tag {
  display: inline-flex;
  color: var(--black);
  background: linear-gradient(90deg, var(--cyan), var(--gold));
  border-radius: 999px;
  padding: 6px 12px;
  font-size: 0.84rem;
  font-weight: 950;
  margin-bottom: 14px;
}
.journey-grid-wrap { grid-template-columns: 1fr 0.85fr; margin-bottom: 34px; }
.journey-visual { min-height: 360px; }
.journey-steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.journey-step { padding: 24px; }
.journey-step .number { font-size: 2.2rem; line-height: 1; }

.contact { padding-bottom: 0; }
.contact-panel {
  align-items: start;
  border-radius: 42px 42px 0 0;
  padding: 36px;
  background:
    radial-gradient(circle at 20% 18%, rgba(255,43,214,0.48), transparent 28%),
    radial-gradient(circle at 72% 12%, rgba(16,245,231,0.42), transparent 32%),
    linear-gradient(135deg, rgba(255,255,255,0.12), rgba(255,255,255,0.03));
}
.contact-logo { margin-bottom: 20px; }
.contact-lines { display: grid; gap: 10px; margin: 22px 0; font-weight: 900; }
.contact-lines a:hover { color: var(--cyan); }
.social-links { display: flex; flex-wrap: wrap; gap: 12px; }
.social-links a {
  width: 46px;
  height: 46px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line);
  background: rgba(0,0,0,0.32);
  transition: 0.22s ease;
}
.social-links a:hover { transform: translateY(-3px); border-color: var(--cyan); }
.social-links svg { width: 22px; height: 22px; fill: currentColor; }
.social-links.mini a { width: 38px; height: 38px; border-radius: 12px; }
.contact-form {
  background: rgba(3,4,6,0.72);
  border: 1px solid var(--line);
  border-radius: 28px;
  padding: 28px;
  backdrop-filter: blur(14px);
}
.form-group { margin-bottom: 15px; }
label { display: block; margin-bottom: 7px; font-weight: 900; color: var(--soft); }
input, select, textarea {
  width: 100%;
  border: 1px solid rgba(255,255,255,0.16);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: 16px;
  padding: 13px 14px;
  outline: none;
}
option { background: var(--black); color: var(--white); }
textarea { min-height: 126px; resize: vertical; }
input:focus, select:focus, textarea:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(16,245,231,0.10); }
.site-footer { padding: 28px 0; background: #030406; border-top: 1px solid var(--line); color: var(--muted); }
.footer-grid { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; }
.whatsapp-float {
  position: fixed;
  left: 22px;
  bottom: 22px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  z-index: 99;
  background: linear-gradient(135deg, #25d366, var(--cyan));
  color: #02130b;
  font-size: 1.75rem;
  font-weight: 950;
  box-shadow: var(--shadow);
}
html[dir="ltr"] .whatsapp-float { right: 22px; left: auto; }

/* Admin */
.admin-body { background: #06070d; }
.admin-shell { width: min(1820px, 92%); margin: 32px auto; }
.admin-top { display: flex; justify-content: space-between; gap: 16px; align-items: center; margin-bottom: 22px; }
.admin-card {
  border: 1px solid var(--line);
  background: rgba(255,255,255,0.06);
  border-radius: 24px;
  padding: 24px;
  margin-bottom: 38px;
}
.admin-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.admin-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.admin-card h2 { margin-bottom: 18px; }
.admin-card h3 { margin: 18px 0 12px; color: var(--cyan); }
.admin-actions { display: flex; gap: 12px; flex-wrap: wrap; }
.helper { color: var(--muted); font-size: 0.92rem; margin-top: 6px; }
.status { margin-top: 14px; color: var(--cyan); font-weight: 900; }
.item-box { border: 1px dashed var(--line); border-radius: 18px; padding: 18px; margin-bottom: 14px; background: rgba(0,0,0,0.18); }
.image-row { display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: end; }
.image-preview { width: 100%; max-height: 160px; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); margin-top: 10px; }
.hide { display: none !important; }

@media (max-width: 980px) {
  .hero-grid, .identity-grid, .journey-grid-wrap, .contact-panel { grid-template-columns: 1fr; }
  .grid-3 { grid-template-columns: 1fr 1fr; }
  .journey-steps { grid-template-columns: 1fr 1fr; }
  .nav-links {
    position: fixed;
    top: 82px;
    right: -100%;
    width: min(370px, 82%);
    height: calc(100vh - 82px);
    flex-direction: column;
    align-items: stretch;
    padding: 26px;
    background: rgba(3,4,6,0.96);
    border-left: 1px solid var(--line);
    transition: 0.25s ease;
  }
  html[dir="ltr"] .nav-links { right: auto; left: -100%; border-left: 0; border-right: 1px solid var(--line); }
  .nav-links.active { right: 0; }
  html[dir="ltr"] .nav-links.active { left: 0; }
  .menu-btn { display: block; }
  .header-actions .btn { display: none; }
  .admin-grid, .admin-grid-3 { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  section { padding: 68px 0; }
  .grid-3, .journey-steps { grid-template-columns: 1fr; }
  .hero-visual, .identity-visual { min-height: 390px; }
  .contact-panel { padding: 28px 18px; border-radius: 28px 28px 0 0; }
  .footer-grid { align-items: flex-start; flex-direction: column; }
}

/* v4 updates */
.nav-links a[data-text="nav.journey"] { display: none; }

.service-card-clean {
  min-height: 220px;
  padding: 0;
  display: flex;
  position: relative;
  overflow: hidden;
}

.service-card-clean .service-body {
  width: 100%;
  height: 100%;
  padding: 28px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 12px;
}

.service-card-clean .service-body .number {
  min-height: 14px;
  display: block;
}

.service-card-clean .service-body h3 {
  min-height: 40px;
  display: flex;
  align-items: flex-start;
  line-height: 1.25;
  margin: 0;
}

.service-card-clean .service-body p {
  min-height: 82px;
  line-height: 1.8;
  margin: 0;
}

.service-card-clean::before {
  content: "";
  position: absolute;
  width: 160px;
  height: 160px;
  inset-inline-start: -70px;
  top: -70px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16,245,231,.20), transparent 68%);
}

.service-card-clean::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, transparent, rgba(255,43,214,.055));
  pointer-events: none;
}

.service-card-clean .service-body > * {
  position: relative;
  z-index: 1;
}

.slider-shell {
  position: relative;
}
.slider-viewport,
.clients-viewport {
  overflow-x: auto;
  scroll-behavior: smooth;
  scrollbar-width: none;
  direction: ltr;
  padding: 14px 62px 18px;
}
.slider-viewport::-webkit-scrollbar,
.clients-viewport::-webkit-scrollbar { display: none; }
.portfolio-track {
  display: flex;
  gap: 22px;
  align-items: stretch;
}
.portfolio-slide {
  flex: 0 0 min(410px, 880vw);
}
html[dir="rtl"] .portfolio-slide { direction: rtl; text-align: right; }
html[dir="ltr"] .portfolio-slide { direction: ltr; text-align: left; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 8;
  width: 42px;
  height: 42px;
  border-radius: 999px;
  border: 1px solid var(--line);
  color: var(--white);
  background: rgba(3, 4, 6, .72);
  backdrop-filter: blur(12px);
  display: grid;
  place-items: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: .22s ease;
}
.slider-btn:hover { border-color: var(--cyan); color: var(--cyan); transform: translateY(-50%) scale(1.06); }
.slider-prev { inset-inline-start: -50px; }
.slider-next { inset-inline-end: -50px; }

.clients {
  background: rgba(255,255,255,.018);
  border-block: 1px solid var(--line);
}
.clients-shell { margin-top: 50px; }
.clients-viewport {
  border: 1px solid var(--line);
  border-radius: 28px;
  background: rgba(255,255,255,.045);
  overflow: hidden;
  padding: 28px 0;
}
.clients-track {
  display: flex;
  gap: 28px;
  width: max-content;
  animation: clients-marquee 70s linear infinite;
}
.clients-viewport:hover .clients-track { animation-play-state: paused; }
.client-logo-card {
  flex: 0 0 190px;
  min-height: 112px;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(0,0,0,.28);
  display: grid;
  place-items: center;
  padding: 14px;
  text-align: center;
}
.client-logo-card img {
  width: 530px;
  height: 58px;
  object-fit: contain;
  filter: saturate(.92) contrast(1.05);
}
.client-logo-card span {
  color: var(--muted);
  font-size: .82rem;
  margin-top: 8px;
  font-weight: 800;
}
@keyframes clients-marquee {
  from { transform: translateX(50); }
  to { transform: translateX(-50%); }
}

.contact-copy { text-align: start; }
.contact-lines { justify-items: start; }
.contact-lines a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}
.contact-value {
  direction: ltr;
  unicode-bidi: embed;
  text-align: left;
}
html[dir="rtl"] .contact-copy { text-align: right; }
html[dir="rtl"] .contact-lines { justify-items: right; }
html[dir="rtl"] .social-links { justify-content: flex-start; }
html[dir="ltr"] .contact-copy { text-align: left; }

.item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}
.btn-danger {
  color: #ffd5d5;
  background: rgba(255, 80, 80, .12);
  border-color: rgba(255, 80, 80, .38);
}
.btn-danger:hover { transform: translateY(-2px); border-color: #ff7a7a; }
.admin-list-actions { margin: 12px 0 18px; }

@media (max-width: 980px) {
  .slider-prev { inset-inline-start: 8px; }
  .slider-next { inset-inline-end: 8px; }
  .portfolio-slide { flex-basis: min(360px, 88vw); }
}
@media (max-width: 640px) {
  .service-card-clean { min-height: 230px; }
  .client-logo-card { flex-basis: 160px; }
  .client-logo-card img { width: 112px; }
  .slider-btn { width: 38px; height: 38px; }
}
