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

:root {
  --p: #818cf8;
  --p2: #a78bfa;
  --acc: #22d3ee;
  --bg: #0e0e1a;
  --s: #13131f;
  --card: #1a1a2e;
  --border: rgba(129,140,248,0.25);
  --text: #f4f4ff;
  --muted: #94a3b8;
}

body { background: var(--bg); color: var(--text); font-family: 'Segoe UI', system-ui, sans-serif; overflow-x: hidden; }
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-thumb { background: var(--p); border-radius: 10px; }

/* NAV */
nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 64px;
  background: rgba(14,14,26,0.92);
  backdrop-filter: blur(24px);
  position: sticky; top: 0; z-index: 200;
  border-bottom: 1px solid var(--border);
}
.nav-logo-wrap { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
nav img { height: 40px; filter: brightness(0) invert(1); }
.nav-links { display: flex; align-items: center; gap: 6px; }
.nav-links a { color: #b0bcd4; text-decoration: none; font-size: 14px; font-weight: 500; padding: 8px 16px; border-radius: 8px; transition: all 0.2s; white-space: nowrap; }
.nav-links a:hover { color: var(--text); background: rgba(99,102,241,0.1); }
.nav-cta { background: var(--p) !important; color: #fff !important; border-radius: 8px; margin-left: 6px; }
.nav-cta:hover { background: var(--p2) !important; transform: translateY(-1px); }

/* hamburger */
.nav-toggle { display: none; flex-direction: column; gap: 5px; cursor: pointer; padding: 4px; background: none; border: none; }
.nav-toggle span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* HERO */
.hero {
  min-height: 90vh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  padding: 80px 64px;
  position: relative; overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 20% 50%, rgba(129,140,248,0.2) 0%, transparent 60%),
    radial-gradient(ellipse 50% 50% at 80% 20%, rgba(167,139,250,0.15) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 70% 80%, rgba(34,211,238,0.1) 0%, transparent 50%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image: linear-gradient(rgba(129,140,248,0.07) 1px, transparent 1px), linear-gradient(90deg, rgba(129,140,248,0.07) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 100% 100% at 50% 50%, black 20%, transparent 80%);
}

/* left side */
.hero-content { position: relative; z-index: 2; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(99,102,241,0.1); border: 1px solid rgba(99,102,241,0.3);
  color: #a5b4fc; font-size: 11px; font-weight: 600; letter-spacing: 1.5px;
  text-transform: uppercase; padding: 7px 16px; border-radius: 50px;
  margin-bottom: 28px;
  animation: fadeUp 0.7s ease both;
}
.badge-dot { width: 6px; height: 6px; background: #6366f1; border-radius: 50%; animation: blink 1.5s infinite; flex-shrink: 0; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

.hero h1 {
  font-size: 58px; font-weight: 900; line-height: 1.1; letter-spacing: -2px;
  margin-bottom: 22px;
  animation: fadeUp 0.7s 0.1s ease both;
  text-align: left;
}
.hero h1 .white { color: var(--text); display: block; }
.hero h1 .grad {
  display: block;
  background: linear-gradient(90deg, #6366f1, #8b5cf6, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  background-size: 200%;
  animation: gradShift 4s ease infinite;
}
@keyframes gradShift { 0%,100%{background-position:0%} 50%{background-position:100%} }

.hero-sub {
  color: #a8b4cc; font-size: 17px; line-height: 1.75;
  margin-bottom: 36px; text-align: left;
  animation: fadeUp 0.7s 0.2s ease both;
}

.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; animation: fadeUp 0.7s 0.3s ease both; }

.btn-primary {
  background: linear-gradient(135deg, var(--p), var(--p2));
  color: #fff; padding: 14px 30px; border-radius: 12px;
  text-decoration: none; font-size: 15px; font-weight: 600;
  box-shadow: 0 0 30px rgba(99,102,241,0.35);
  transition: all 0.25s; display: inline-flex; align-items: center; gap: 8px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 0 50px rgba(99,102,241,0.55); }

.btn-ghost {
  color: var(--text); padding: 14px 30px; border-radius: 12px;
  text-decoration: none; font-size: 15px; font-weight: 500;
  border: 1px solid var(--border); background: rgba(255,255,255,0.03);
  transition: all 0.25s; display: inline-block;
}
.btn-ghost:hover { border-color: var(--p); color: #a5b4fc; background: rgba(99,102,241,0.08); }

/* right side — floating service cards */
.hero-right {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: 1fr 1fr; gap: 14px;
}
.hero-float-card {
  background: rgba(26,26,46,0.9);
  border: 1px solid rgba(129,140,248,0.3);
  border-radius: 18px;
  padding: 22px 18px;
  backdrop-filter: blur(12px);
  transition: all 0.3s;
  animation: fadeUp 0.7s ease both;
}
.hero-float-card:nth-child(1) { animation-delay: 0.15s; }
.hero-float-card:nth-child(2) { animation-delay: 0.25s; margin-top: 24px; }
.hero-float-card:nth-child(3) { animation-delay: 0.35s; }
.hero-float-card:nth-child(4) { animation-delay: 0.45s; margin-top: -24px; }
.hero-float-card:hover { border-color: rgba(99,102,241,0.5); transform: translateY(-5px); box-shadow: 0 16px 40px rgba(99,102,241,0.15); }
.hfc-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(99,102,241,0.12); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px; margin-bottom: 12px; transition: all 0.3s;
}
.hero-float-card:hover .hfc-icon { background: var(--p); border-color: var(--p); }
.hfc-title { font-size: 13px; font-weight: 700; margin-bottom: 4px; }
.hfc-sub { font-size: 11px; color: #94a3b8; line-height: 1.5; }

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

@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 60px 20px; text-align: center; }
  .hero h1, .hero-sub { text-align: center; }
  .hero-btns { justify-content: center; }
  .hero-right { display: none; }
}

/* STATS */
.stats-bar {
  display: grid; grid-template-columns: repeat(4, 1fr);
  background: #16162a; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.stat-card {
  padding: 40px 20px; text-align: center;
  border-right: 1px solid var(--border);
  transition: background 0.3s; position: relative; overflow: hidden;
}
.stat-card:last-child { border-right: none; }
.stat-card::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(99,102,241,0.06), transparent);
  opacity: 0; transition: opacity 0.3s;
}
.stat-card:hover { background: rgba(99,102,241,0.05); }
.stat-card:hover::before { opacity: 1; }
.stat-icon { font-size: 26px; margin-bottom: 10px; }
.stat-num {
  font-size: 40px; font-weight: 900; display: block; line-height: 1;
  background: linear-gradient(135deg, #6366f1, #06b6d4);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: 6px;
}
.stat-label { font-size: 13px; color: #94a3b8; font-weight: 500; }

/* SERVICES */
.services-section {
  padding: 110px 64px; background: #14142a;
  border-bottom: 1px solid rgba(129,140,248,0.2); position: relative; overflow: hidden;
}
.services-section::after {
  content: ''; position: absolute;
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(129,140,248,0.12) 0%, transparent 65%);
  bottom: -200px; left: -100px; pointer-events: none;
}
.services-section::before {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(34,211,238,0.09) 0%, transparent 65%);
  top: -100px; right: -50px; pointer-events: none;
}
.section-header { text-align: center; margin-bottom: 64px; }
.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 2px;
  color: var(--acc); margin-bottom: 14px;
}
.section-label::before, .section-label::after { content: ''; width: 20px; height: 1px; background: var(--acc); }
.section-header h2 { font-size: 42px; font-weight: 800; letter-spacing: -1px; margin-bottom: 14px; color: #ffffff; }
.section-header h2 em { font-style: normal; background: linear-gradient(90deg, var(--p), var(--acc)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.section-header p { color: #a1a9b8; font-size: 16px; max-width: 460px; margin: 0 auto; line-height: 1.7; }

.services-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 18px; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1;
}
.service-card {
  background: rgba(255,255,255,0.07); border: 1px solid rgba(129,140,248,0.35); border-radius: 20px;
  padding: 32px 24px; transition: all 0.3s; position: relative; overflow: hidden; cursor: default;
  box-shadow: 0 4px 24px rgba(0,0,0,0.2);
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--p), transparent);
  transform: scaleX(0); transition: transform 0.4s;
}
.service-card:hover { transform: translateY(-8px); border-color: rgba(129,140,248,0.7); box-shadow: 0 24px 60px rgba(129,140,248,0.2); background: rgba(129,140,248,0.1); }
.service-card:hover::before { transform: scaleX(1); }
.service-num { font-size: 11px; font-weight: 700; color: #818cf8; letter-spacing: 1px; margin-bottom: 16px; }
.service-icon {
  width: 52px; height: 52px; border-radius: 14px;
  background: rgba(129,140,248,0.2); border: 1px solid rgba(129,140,248,0.4);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 18px; transition: all 0.3s;
  box-shadow: 0 0 16px rgba(129,140,248,0.15);
}
.service-card:hover .service-icon { background: var(--p); border-color: var(--p); box-shadow: 0 0 24px rgba(99,102,241,0.4); }
.service-card h3 { font-size: 16px; font-weight: 700; margin-bottom: 10px; color: #eef0ff; }
.service-card p { font-size: 13px; color: #a8b4cc; line-height: 1.65; margin-bottom: 20px; }
.service-arrow { color: var(--p); font-size: 18px; transition: transform 0.2s; }
.service-card:hover .service-arrow { transform: translateX(5px); }

/* DIGITAL MARKETING */
.dm-section {
  padding: 110px 64px;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}
.dm-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 60% 70% at 90% 50%, rgba(129,140,248,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 10% 30%, rgba(34,211,238,0.08) 0%, transparent 55%);
}
.dm-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.dm-left h2 {
  font-size: 40px;
  font-weight: 800;
  line-height: 1.2;
  letter-spacing: -1px;
  margin: 14px 0 18px;
  color: #f4f4ff;
}
.dm-left h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--p), var(--acc));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.dm-left p {
  color: #a8b4cc;
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 32px;
}
.dm-stats {
  display: flex;
  gap: 32px;
  margin-bottom: 36px;
}
.dm-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.dm-stat-num {
  font-size: 28px;
  font-weight: 900;
  background: linear-gradient(135deg, var(--p), var(--acc));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  line-height: 1;
}
.dm-stat-label {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 500;
}
.dm-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.dm-card {
  background: #1a1a2e;
  border: 1px solid rgba(129,140,248,0.25);
  border-radius: 16px;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all 0.3s;
}
.dm-card:hover {
  border-color: rgba(129,140,248,0.5);
  transform: translateX(6px);
  box-shadow: 0 8px 30px rgba(129,140,248,0.12);
  background: rgba(129,140,248,0.08);
}
.dm-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: rgba(129,140,248,0.15);
  border: 1px solid rgba(129,140,248,0.3);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  transition: all 0.3s;
}
.dm-card:hover .dm-card-icon { background: var(--p); border-color: var(--p); }
.dm-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 4px; color: #eef0ff; }
.dm-card p { font-size: 13px; color: #94a3b8; line-height: 1.5; margin: 0; }

@media (max-width: 900px) {
  .dm-section { padding: 70px 32px; }
  .dm-inner { grid-template-columns: 1fr; gap: 48px; }
  .dm-left h2 { font-size: 32px; }
}
@media (max-width: 768px) {
  .dm-section { padding: 60px 20px; }
  .dm-left h2 { font-size: 26px; }
  .dm-stats { gap: 20px; }
  .dm-stat-num { font-size: 22px; }
}

/* PRODUCTS */
.products-section { padding: 110px 64px; max-width: 1300px; margin: 0 auto; }
.filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 48px; }
.filter-btn {
  padding: 9px 24px; border-radius: 50px; border: 1px solid var(--border);
  background: transparent; color: #94a3b8; cursor: pointer; font-size: 14px; font-weight: 500; transition: all 0.2s;
}
.filter-btn:hover, .filter-btn.active { background: var(--p); border-color: var(--p); color: #fff; box-shadow: 0 4px 20px rgba(99,102,241,0.3); }
.projects-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.project-card {
  background: #1e1e32; border: 1px solid rgba(129,140,248,0.25); border-radius: 20px;
  overflow: hidden; cursor: pointer; transition: all 0.3s;
}
.project-card:hover { transform: translateY(-8px); border-color: rgba(129,140,248,0.5); box-shadow: 0 24px 60px rgba(129,140,248,0.15); }
.card-thumb-wrap {
  width: 100%;
  background: linear-gradient(135deg, #0d0d1f, #1a1035);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 12px 0;
  overflow: hidden;
}
.card-thumb {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-radius: 10px 10px 0 0;
}
.card-thumb-placeholder {
  width: 100%; height: 200px; display: flex; align-items: center; justify-content: center;
  font-size: 56px; background: linear-gradient(135deg, #0f0f20, #1a1030);
}
.card-body { padding: 24px; }
.card-tag { font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--acc); margin-bottom: 8px; }
.card-body h3 { font-size: 18px; font-weight: 700; margin-bottom: 8px; color: #eef0ff; }
.card-body p { color: #94a3b8; font-size: 14px; line-height: 1.6; margin-bottom: 20px; }
.card-footer { display: flex; align-items: center; justify-content: space-between; }
.tech-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.tech-tag { background: rgba(99,102,241,0.1); color: #a5b4fc; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 600; border: 1px solid var(--border); }
.arrow-btn {
  background: linear-gradient(135deg, var(--p), var(--p2)); color: #fff; border: none;
  border-radius: 50%; width: 36px; height: 36px; font-size: 16px; cursor: pointer;
  display: flex; align-items: center; justify-content: center; transition: all 0.2s; flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(99,102,241,0.35);
}
.arrow-btn:hover { transform: scale(1.12); box-shadow: 0 6px 24px rgba(99,102,241,0.5); }

/* ABOUT */
.about-section {
  background: #13132a; border-top: 1px solid var(--border);
  padding: 110px 64px; position: relative; overflow: hidden;
}
.about-section::before {
  content: ''; position: absolute;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(99,102,241,0.07) 0%, transparent 65%);
  top: -100px; right: -100px; pointer-events: none;
}
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 64px;
  max-width: 1200px; margin: 60px auto 0; align-items: start;
}
.about-main p { color: #a8b4cc; font-size: 15px; line-height: 1.85; margin-bottom: 16px; }
.about-langs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.lang-tag {
  background: rgba(99,102,241,0.1); border: 1px solid var(--border);
  color: #a5b4fc; padding: 5px 14px; border-radius: 6px; font-size: 12px; font-weight: 600; transition: all 0.2s;
}
.lang-tag:hover { background: var(--p); color: #fff; border-color: var(--p); }
.about-cards { display: flex; flex-direction: column; gap: 14px; }
.about-card {
  background: #1e1e32; border: 1px solid rgba(129,140,248,0.25); border-radius: 16px;
  padding: 20px 22px; display: flex; align-items: center; gap: 18px; transition: all 0.3s;
}
.about-card:hover { border-color: rgba(99,102,241,0.4); transform: translateX(6px); box-shadow: 0 8px 30px rgba(99,102,241,0.1); }
.about-card-icon {
  width: 48px; height: 48px; border-radius: 12px; flex-shrink: 0;
  background: rgba(99,102,241,0.1); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center; font-size: 22px; transition: all 0.3s;
}
.about-card:hover .about-card-icon { background: var(--p); border-color: var(--p); }
.about-card h4 { font-size: 14px; font-weight: 700; margin-bottom: 3px; }
.about-card p { font-size: 12px; color: #94a3b8; line-height: 1.5; }

/* FOOTER */
footer {
  background: var(--bg); border-top: 1px solid var(--border);
  padding: 48px 20px; text-align: center;
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 12px; }
.footer-logo img { height: 36px; filter: brightness(0) invert(1); opacity: 0.6; }
footer p { color: #94a3b8; font-size: 14px; }
footer span { color: var(--p); font-weight: 700; }
.footer-sub { font-size: 12px; color: #64748b; }

/* SCROLL ANIMATIONS */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-left.visible { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal-right.visible { opacity: 1; transform: translateX(0); }

/* DETAIL THUMB WRAP */
.detail-thumb-wrap {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--border);
  overflow: hidden;
  margin-bottom: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #0d0d1f, #1a1035);
}

/* Landscape — desktop/web screenshots: full width, no crop */
.thumb-landscape {
  padding: 0;
}
.thumb-landscape .detail-thumb {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: 0;
  border: none;
  margin-bottom: 0;
}

/* Portrait — mobile app screenshots: centered, max width capped */
.thumb-portrait {
  padding: 40px 20px;
}
.thumb-portrait .detail-thumb {
  width: auto;
  max-width: 340px;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  border-radius: 24px;
  border: none;
  margin-bottom: 0;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
  .thumb-portrait { padding: 24px 16px; }
  .thumb-portrait .detail-thumb { max-width: 260px; }
}

/* SCREENSHOTS */
.screenshots-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 16px;
  margin-bottom: 54px;
}
.ss-item {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  overflow: hidden;
  padding: 12px;
  cursor: pointer;
  transition: all 0.3s;
}
.ss-item:hover { border-color: var(--p); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(99,102,241,0.2); }
.ss-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 8px;
  background: #0a0a14;
}
.ss-label {
  font-size: 11px;
  font-weight: 600;
  color: var(--muted);
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* LIGHTBOX */
.lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 20px;
  backdrop-filter: blur(8px);
}
.lightbox.open { display: flex; }
.lightbox img {
  max-width: 92vw;
  max-height: 90vh;
  object-fit: contain;
  border-radius: 12px;
  border: 1px solid var(--border);
  box-shadow: 0 0 80px rgba(99,102,241,0.3);
}
.lightbox-close {
  position: fixed;
  top: 20px; right: 28px;
  color: #fff;
  font-size: 32px;
  cursor: pointer;
  line-height: 1;
  opacity: 0.7;
  transition: opacity 0.2s;
  z-index: 10000;
}
.lightbox-close:hover { opacity: 1; }

/* WORKFLOW */
.workflow-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 54px;
}
.workflow-step {
  background: #1e1e32;
  border: 1px solid rgba(129,140,248,0.25);
  border-radius: 12px;
  padding: 14px 18px;
  text-align: center;
  transition: all 0.3s;
  flex: 1;
  min-width: 120px;
}
.workflow-step:hover { border-color: var(--p); transform: translateY(-3px); }
.ws-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--p);
  letter-spacing: 1px;
  margin-bottom: 6px;
}
.ws-text { font-size: 12px; font-weight: 600; line-height: 1.4; }
.ws-arrow { color: var(--p); font-size: 20px; flex-shrink: 0; }

/* BENEFITS */
.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 12px;
  margin-bottom: 54px;
}
.benefit-item {
  background: #1e1e32;
  border: 1px solid rgba(129,140,248,0.25);
  border-radius: 10px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.benefit-item:hover { border-color: var(--p); background: rgba(99,102,241,0.06); }
.benefit-icon { font-size: 20px; flex-shrink: 0; }

/* CLIENTS */
.clients-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 54px;
}
.client-tag {
  background: rgba(99,102,241,0.1);
  border: 1px solid var(--border);
  color: #a5b4fc;
  padding: 10px 22px;
  border-radius: 50px;
  font-size: 14px;
  font-weight: 600;
  transition: all 0.2s;
}
.client-tag:hover { background: var(--p); color: #fff; border-color: var(--p); }

/* DETAIL PAGE */
.back-btn { display: inline-flex; align-items: center; gap: 8px; color: var(--muted); text-decoration: none; font-size: 14px; padding: 50px 64px 0; transition: color 0.2s; font-weight: 500; }
.back-btn:hover { color: var(--p); }
.detail-hero { padding: 30px 64px 60px; max-width: 1100px; margin: 0 auto; }
.detail-tag { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; color: var(--acc); margin-bottom: 12px; }
.detail-hero h1 { font-size: 42px; font-weight: 800; margin-bottom: 16px; letter-spacing: -1px; }
.detail-hero .desc { color: #a8b4cc; font-size: 17px; line-height: 1.8; max-width: 700px; margin-bottom: 30px; }
.detail-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 44px; }
.btn-outline { border: 1px solid var(--border); color: var(--text); padding: 13px 28px; border-radius: 10px; text-decoration: none; font-size: 15px; transition: all 0.2s; display: inline-block; background: rgba(255,255,255,0.02); }
.btn-outline:hover { border-color: var(--p); color: #a5b4fc; }
.detail-thumb { width: 100%; max-height: 420px; object-fit: cover; border-radius: 18px; border: 1px solid var(--border); margin-bottom: 54px; }
.detail-thumb-placeholder { width: 100%; height: 320px; border-radius: 18px; border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 80px; background: linear-gradient(135deg, #0f0f20, #1a1030); margin-bottom: 54px; }
.section-title { font-size: 22px; font-weight: 800; margin-bottom: 24px; padding-bottom: 12px; border-bottom: 1px solid var(--border); letter-spacing: -0.5px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; margin-bottom: 54px; }
.feature-card { background: #1e1e32; border: 1px solid rgba(129,140,248,0.25); border-radius: 14px; padding: 22px; transition: all 0.3s; }
.feature-card:hover { border-color: rgba(99,102,241,0.4); transform: translateY(-3px); }
.feature-icon { font-size: 28px; margin-bottom: 12px; }
.feature-card h4 { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.feature-card p { color: #94a3b8; font-size: 13px; line-height: 1.55; }
.screenshots-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; margin-bottom: 54px; }
.screenshots-grid img { width: 100%; border-radius: 12px; border: 1px solid var(--border); object-fit: cover; height: 180px; }
.tech-stack-list { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 54px; }
.tech-stack-list span { background: rgba(99,102,241,0.1); border: 1px solid var(--border); color: #a5b4fc; padding: 8px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; }

/* RESPONSIVE */
@media (max-width: 900px) {
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(1), .stat-card:nth-child(2) { border-bottom: 1px solid var(--border); }
  .services-section, .products-section, .about-section { padding-left: 32px; padding-right: 32px; }
}

@media (max-width: 768px) {
  /* nav mobile */
  nav { padding: 14px 20px; position: relative; flex-wrap: wrap; }
  .nav-toggle { display: flex; }
  .nav-links {
    display: none; flex-direction: column; align-items: stretch;
    width: 100%; gap: 4px;
    padding: 12px 0 8px;
    border-top: 1px solid var(--border);
    margin-top: 12px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 10px 14px; border-radius: 8px; font-size: 15px; }
  .nav-cta { margin-left: 0; text-align: center; }

  /* hero */
  .hero { grid-template-columns: 1fr; padding: 50px 20px 40px; min-height: auto; text-align: center; }
  .hero h1 { font-size: 32px; letter-spacing: -1px; text-align: center; }
  .hero-sub { text-align: center; font-size: 15px; }
  .hero-btns { justify-content: center; flex-direction: column; align-items: center; }
  .btn-primary, .btn-ghost { width: 100%; justify-content: center; }
  .hero-right { display: none; }

  /* stats */
  .stats-bar { grid-template-columns: repeat(2,1fr); }
  .stat-card { padding: 24px 12px; }
  .stat-card:nth-child(2) { border-right: none; }
  .stat-card:nth-child(1), .stat-card:nth-child(2) { border-bottom: 1px solid var(--border); }
  .stat-num { font-size: 28px; }

  /* sections */
  .services-section { padding: 60px 20px; }
  .products-section { padding: 60px 20px; }
  .about-section { padding: 60px 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; margin-top: 32px; }

  /* section headers */
  .section-header h2 { font-size: 26px; }
  .section-header p { font-size: 14px; }
  .section-header { margin-bottom: 40px; }

  /* products grid */
  .projects-grid { grid-template-columns: 1fr; }

  /* services grid */
  .services-grid { grid-template-columns: 1fr; }

  /* dm section on homepage */
  .dm-stats { gap: 16px; flex-wrap: wrap; }
  .dm-stat-num { font-size: 22px; }

  /* detail page */
  .back-btn { padding: 30px 20px 0; }
  .detail-hero { padding: 20px 20px 40px; }
  .detail-hero h1 { font-size: 24px; }
  .detail-hero .desc { font-size: 14px; }
  .features-grid { grid-template-columns: 1fr; }
  .benefits-grid { grid-template-columns: 1fr 1fr; }
  .workflow-row { flex-direction: column; align-items: stretch; }
  .ws-arrow { transform: rotate(90deg); text-align: center; }
}
