/* DKY Softwares — creative single page */
:root {
  --bg-deep: #07090f;
  --bg-card: rgba(15, 18, 28, 0.72);
  --stroke: rgba(255, 255, 255, 0.08);
  --text: #e8ecf4;
  --muted: #8b95a8;
  --accent: #3d8bfd;
  --accent-2: #7c5cff;
  --glow: rgba(61, 139, 253, 0.45);
  --radius: 20px;
  --font-display: "Syne", system-ui, sans-serif;
  --font-body: "DM Sans", system-ui, sans-serif;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

body {
  margin: 0;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  background: var(--bg-deep);
  overflow-x: hidden;
}

/* Ambient background */
.ambient {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}
.ambient__orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.5;
  animation: orbFloat 18s var(--ease-out) infinite;
}
.ambient__orb--1 {
  width: min(60vw, 520px);
  height: min(60vw, 520px);
  background: radial-gradient(circle, var(--accent) 0%, transparent 70%);
  top: -10%;
  right: -15%;
  animation-delay: 0s;
}
.ambient__orb--2 {
  width: min(50vw, 420px);
  height: min(50vw, 420px);
  background: radial-gradient(circle, var(--accent-2) 0%, transparent 70%);
  bottom: 10%;
  left: -20%;
  animation-delay: -6s;
  animation-duration: 22s;
}
.ambient__orb--3 {
  width: 280px;
  height: 280px;
  background: radial-gradient(circle, rgba(61, 139, 253, 0.4) 0%, transparent 70%);
  top: 45%;
  left: 40%;
  animation-delay: -12s;
  animation-duration: 16s;
}
.ambient__grid {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 20%, transparent 70%);
  opacity: 0.6;
}

@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  33% {
    transform: translate(3%, -4%) scale(1.05);
  }
  66% {
    transform: translate(-4%, 2%) scale(0.95);
  }
}

/* Layout shell */
.page {
  position: relative;
  z-index: 1;
}

.container {
  width: min(1120px, 100% - 40px);
  margin-inline: auto;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 16px 0;
  transition: background 0.4s var(--ease-out), backdrop-filter 0.4s, box-shadow 0.4s;
}
.nav.is-scrolled {
  background: rgba(7, 9, 15, 0.85);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 4px 40px rgba(0, 0, 0, 0.35);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav__brand {
  display: flex;
  align-items: center;
  text-decoration: none;
}
.nav__logo {
  height: 44px;
  width: auto;
  max-width: min(220px, 45vw);
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 20px var(--glow));
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav__links a {
  color: var(--muted);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 14px;
  border-radius: 999px;
  transition: color 0.25s, background 0.25s;
}
.nav__links a:hover {
  color: var(--text);
  background: rgba(255, 255, 255, 0.06);
}
.nav__cta {
  background: linear-gradient(135deg, var(--accent), #2563eb) !important;
  color: #fff !important;
  padding: 10px 22px !important;
  box-shadow: 0 4px 24px var(--glow);
}
.nav__cta:hover {
  filter: brightness(1.08);
  background: linear-gradient(135deg, #4d9bff, #3b82f6) !important;
}

.nav__toggle {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--stroke);
  color: var(--text);
  width: 44px;
  height: 44px;
  border-radius: 12px;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

@media (max-width: 900px) {
  .nav__toggle {
    display: flex;
  }
  .nav__links-wrap {
    position: fixed;
    top: 76px;
    left: 16px;
    right: 16px;
    background: rgba(12, 15, 24, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid var(--stroke);
    border-radius: var(--radius);
    padding: 16px;
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-12px);
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
  }
  .nav__links-wrap.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }
  .nav__links {
    flex-direction: column;
    width: 100%;
  }
  .nav__links a {
    text-align: center;
    padding: 14px;
  }
}

/* Hero */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
}
.hero__grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
@media (max-width: 960px) {
  .hero__grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero__visual {
    order: -1;
  }
}

.hero__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
  animation: fadeUp 0.8s var(--ease-out) both;
}
.hero__eyebrow span {
  display: inline-block;
  width: 32px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 2px;
}

.hero__title {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.8rem);
  font-weight: 800;
  line-height: 1.05;
  margin: 0 0 20px;
  letter-spacing: -0.03em;
  animation: fadeUp 0.8s var(--ease-out) 0.1s both;
}
.hero__title .grad {
  background: linear-gradient(120deg, #fff 0%, #a5c7ff 45%, var(--accent) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero__lead {
  font-size: 1.125rem;
  color: var(--muted);
  max-width: 520px;
  margin: 0 0 32px;
  animation: fadeUp 0.8s var(--ease-out) 0.2s both;
}
@media (max-width: 960px) {
  .hero__lead {
    margin-inline: auto;
  }
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  animation: fadeUp 0.8s var(--ease-out) 0.3s both;
}
@media (max-width: 960px) {
  .hero__actions {
    justify-content: center;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s, filter 0.25s;
}
.btn:active {
  transform: scale(0.98);
}
.btn--primary {
  background: linear-gradient(135deg, var(--accent), #2563eb);
  color: #fff;
  box-shadow: 0 8px 32px var(--glow);
}
.btn--primary:hover {
  filter: brightness(1.1);
  box-shadow: 0 12px 40px var(--glow);
}
.btn--ghost {
  background: rgba(255, 255, 255, 0.06);
  color: var(--text);
  border: 1px solid var(--stroke);
}
.btn--ghost:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.15);
}

/* Hero visual — logo stack + floating cards */
.hero__visual {
  position: relative;
  min-height: 360px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero__logo-main {
  width: min(100%, 380px);
  height: auto;
  object-fit: contain;
  animation: logoPulse 5s var(--ease-out) infinite, fadeUp 1s var(--ease-out) 0.15s both;
  filter: drop-shadow(0 20px 60px rgba(61, 139, 253, 0.35));
}
.hero__float-card {
  position: absolute;
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  border-radius: 16px;
  padding: 14px 18px;
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(12px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
  animation: cardFloat 6s var(--ease-out) infinite;
}
.hero__float-card i {
  margin-right: 8px;
  color: var(--accent);
}
.hero__float-card--1 {
  top: 8%;
  right: 0;
  animation-delay: 0s;
}
.hero__float-card--2 {
  bottom: 12%;
  left: -5%;
  animation-delay: -2s;
  animation-duration: 7s;
}
.hero__float-card--3 {
  top: 42%;
  left: -8%;
  animation-delay: -4s;
  animation-duration: 5.5s;
}
@media (max-width: 960px) {
  .hero__float-card {
    display: none;
  }
  .hero__visual {
    min-height: 260px;
  }
}

@keyframes logoPulse {
  0%,
  100% {
    transform: scale(1);
    filter: drop-shadow(0 20px 60px rgba(61, 139, 253, 0.35));
  }
  50% {
    transform: scale(1.02);
    filter: drop-shadow(0 28px 70px rgba(124, 92, 255, 0.28));
  }
}

@keyframes cardFloat {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-12px) rotate(-1deg);
  }
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(28px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Marquee */
.marquee {
  border-block: 1px solid var(--stroke);
  background: rgba(255, 255, 255, 0.02);
  overflow: hidden;
  padding: 18px 0;
}
.marquee__track {
  display: flex;
  gap: 48px;
  width: max-content;
  animation: marquee 32s linear infinite;
}
.marquee__track:hover {
  animation-play-state: paused;
}
.marquee__item {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--muted);
  white-space: nowrap;
}
.marquee__item::after {
  content: "✦";
  margin-left: 48px;
  color: var(--accent);
  opacity: 0.5;
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

/* Sections */
.section {
  padding: 100px 0;
  position: relative;
}
.section__head {
  max-width: 640px;
  margin-bottom: 56px;
}
.section__head--center {
  margin-inline: auto;
  text-align: center;
}
.section__tag {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 12px;
}
.section__title {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 800;
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.section__desc {
  color: var(--muted);
  margin: 0;
  font-size: 1.05rem;
}

/* Services */
.services__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
@media (max-width: 768px) {
  .services__grid {
    grid-template-columns: 1fr;
  }
}

.service-card {
  position: relative;
  padding: 40px 36px;
  border-radius: var(--radius);
  background: var(--bg-card);
  border: 1px solid var(--stroke);
  overflow: hidden;
  transition: transform 0.45s var(--ease-out), border-color 0.45s, box-shadow 0.45s;
}
.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(600px circle at var(--mx, 50%) var(--my, 50%), rgba(61, 139, 253, 0.12), transparent 45%);
  opacity: 0;
  transition: opacity 0.35s;
  pointer-events: none;
}
.service-card:hover::before {
  opacity: 1;
}
.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(61, 139, 253, 0.35);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(61, 139, 253, 0.15);
}

.service-card__icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  margin-bottom: 22px;
  background: linear-gradient(135deg, rgba(61, 139, 253, 0.2), rgba(124, 92, 255, 0.15));
  border: 1px solid var(--stroke);
}
.service-card h3 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  margin: 0 0 12px;
}
.service-card p {
  color: var(--muted);
  margin: 0;
  font-size: 0.98rem;
  line-height: 1.7;
}
.service-card__list {
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}
.service-card__list li {
  padding: 8px 0 8px 28px;
  position: relative;
  color: var(--muted);
  font-size: 0.95rem;
}
.service-card__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
}

/* Process */
.process {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) {
  .process {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .process {
    grid-template-columns: 1fr;
  }
}
.process__step {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--stroke);
  transition: transform 0.35s var(--ease-out);
}
.process__step:hover {
  transform: translateY(-4px);
}
.process__num {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 800;
  background: linear-gradient(180deg, #fff, var(--muted));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  line-height: 1;
  margin-bottom: 12px;
}
.process__step h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 700;
}
.process__step p {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

/* Contact */
.contact {
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid var(--stroke);
  background: linear-gradient(145deg, rgba(61, 139, 253, 0.08), rgba(124, 92, 255, 0.06));
  overflow: hidden;
}
.contact__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
}
@media (max-width: 900px) {
  .contact__grid {
    grid-template-columns: 1fr;
  }
}
.contact__info {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
}
.contact__brand {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 8px;
}
.contact__brand img {
  height: 48px;
  width: auto;
  max-width: 200px;
  object-fit: contain;
}
.contact__info h2 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  margin: 0 0 8px;
}
.contact__info > p {
  color: var(--muted);
  margin: 0 0 8px;
  font-size: 0.95rem;
}
.contact__rows {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.contact__row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 18px;
  border-radius: 14px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--stroke);
  transition: border-color 0.25s, transform 0.25s;
}
.contact__row:hover {
  border-color: rgba(61, 139, 253, 0.35);
  transform: translateX(4px);
}
.contact__row i {
  color: var(--accent);
  font-size: 18px;
  margin-top: 3px;
  width: 22px;
  text-align: center;
}
.contact__row div strong {
  display: block;
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted);
  margin-bottom: 4px;
  font-weight: 700;
}
.contact__row div span,
.contact__row div a {
  color: var(--text);
  font-size: 15px;
  text-decoration: none;
}
.contact__row div a:hover {
  color: var(--accent);
}

.contact__map {
  min-height: 320px;
  position: relative;
}
.contact__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  filter: grayscale(0.3) contrast(1.05);
  opacity: 0.9;
}

/* Footer */
.footer {
  padding: 40px 0;
  border-top: 1px solid var(--stroke);
  text-align: center;
  color: var(--muted);
  font-size: 14px;
}
.footer a {
  color: var(--accent);
  text-decoration: none;
}
.footer a:hover {
  text-decoration: underline;
}

/* Scroll reveal */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}
.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-stagger > * {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s var(--ease-out), transform 0.55s var(--ease-out);
}
.reveal-stagger.is-visible > *:nth-child(1) {
  transition-delay: 0.05s;
}
.reveal-stagger.is-visible > *:nth-child(2) {
  transition-delay: 0.15s;
}
.reveal-stagger.is-visible > *:nth-child(3) {
  transition-delay: 0.25s;
}
.reveal-stagger.is-visible > *:nth-child(4) {
  transition-delay: 0.35s;
}
.reveal-stagger.is-visible > * {
  opacity: 1;
  transform: translateY(0);
}
