/* ==============================
   CUSTOM PROPERTIES — Dark IT Theme
============================== */
:root {
  --bg:         #0a0a0f;
  --bg2:        #111118;
  --card:       rgba(255,255,255,.05);
  --card-solid: #151520;
  --surface:    rgba(255,255,255,.04);
  --surface2:   rgba(255,255,255,.07);
  --border:     rgba(255,255,255,.08);
  --border2:    rgba(255,255,255,.14);
  --text:       #f0f0f3;
  --muted:      #9898a6;
  --subtle:     #6b6b7b;
  --accent:     #ffffff;
  --accent-inv: #0a0a0f;

  /* Color palette for accents */
  --blue:       #60a5fa;
  --blue-light: rgba(96,165,250,.12);
  --violet:     #a78bfa;
  --violet-light:rgba(167,139,250,.12);
  --teal:       #2dd4bf;
  --teal-light: rgba(45,212,191,.12);
  --rose:       #fb7185;
  --rose-light: rgba(251,113,133,.12);
  --amber:      #fbbf24;
  --amber-light:rgba(251,191,36,.12);
  --r-sm:       12px;
  --r:          18px;
  --r-lg:       24px;
  --shadow:     0 1px 3px rgba(0,0,0,.3), 0 8px 24px rgba(0,0,0,.2);
  --shadow-lg:  0 4px 12px rgba(0,0,0,.4), 0 24px 48px rgba(0,0,0,.3);
  --ease:       cubic-bezier(.4,0,.2,1);
  --nav-h:      76px;
}

/* ==============================
   RESET
============================== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; background: #0a0a0f; }
body {
  font-family: ui-sans-serif, system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  background: #0a0a0f;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-image:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(96,165,250,.07) 0%, transparent 60%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(167,139,250,.05) 0%, transparent 50%);
  background-attachment: fixed;
}
img    { max-width: 100%; height: auto; display: block; }
a      { text-decoration: none; color: inherit; }
ul     { list-style: none; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }
section { scroll-margin-top: var(--nav-h); }


/* ==============================
   AMBIENT GLOW ORBS
============================== */
.orb {
  position: fixed; border-radius: 50%; pointer-events: none;
  filter: blur(100px); opacity: .12; z-index: 0;
}
.orb:nth-child(1) { width: 600px; height: 600px; top: -200px; left: -100px; background: var(--blue); }
.orb:nth-child(2) { width: 500px; height: 500px; bottom: -150px; right: -100px; background: var(--violet); }
.orb:nth-child(3) { width: 400px; height: 400px; top: 50%; left: 50%; transform: translate(-50%,-50%); background: var(--teal); opacity: .06; }

/* ==============================
   LAYOUT
============================== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 24px; }

/* ==============================
   NAVBAR
============================== */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000; height: var(--nav-h);
  transition: background .3s var(--ease), border-color .3s var(--ease), box-shadow .3s var(--ease);
  border-bottom: 1px solid transparent;
}
.nav.scrolled {
  background: rgba(10,10,15,.85);
  backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px);
  border-color: var(--border);
  box-shadow: 0 1px 8px rgba(0,0,0,.3);
}
.nav-inner {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 20px;
}

.nav-logo img { height: 56px; width: auto; max-width: 210px; object-fit: contain; transition: opacity .2s; }
.nav-logo:hover img { opacity: .7; }

.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 14px; font-weight: 600; color: var(--muted);
  padding: 8px 14px; border-radius: var(--r-sm);
  transition: color .2s, background .2s;
}
.nav-links a:hover { color: var(--text); background: var(--surface); }

.nav-right { display: flex; align-items: center; gap: 10px; }

.lang-sw {
  display: flex; gap: 2px; background: rgba(255,255,255,.06);
  border: 1px solid var(--border); border-radius: 9px; padding: 3px;
}
.lang-btn {
  font-size: 11px; font-weight: 500;
  color: var(--subtle); padding: 5px 9px; border-radius: 7px; transition: all .2s;
}
.lang-btn.active { background: var(--accent); color: var(--accent-inv); }
.lang-btn:not(.active):hover { color: var(--text); background: var(--surface); }

.ham {
  display: none; flex-direction: column; gap: 5px;
  padding: 8px; border-radius: var(--r-sm); transition: background .2s;
}
.ham:hover { background: var(--surface); }
.ham span {
  display: block; width: 20px; height: 1.5px; background: var(--text); border-radius: 2px;
  transition: transform .25s var(--ease), opacity .2s;
}
.ham.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.ham.open span:nth-child(2) { opacity: 0; }
.ham.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

.mob-menu {
  display: none; position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: rgba(10,10,15,.97); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  z-index: 999; padding: 12px 20px 18px; flex-direction: column; gap: 2px;
}
.mob-menu.open { display: flex; }
.mob-menu a {
  font-size: 15px; font-weight: 600; color: var(--muted);
  padding: 12px 14px; border-radius: var(--r-sm); transition: color .2s, background .2s;
}
.mob-menu a:hover { color: var(--text); background: var(--surface); }
.mob-lang {
  display: flex; gap: 8px; padding: 12px 14px 0; margin-top: 6px;
  border-top: 1px solid var(--border);
}

/* ==============================
   HERO
============================== */
.hero {
  min-height: 100vh; display: flex; align-items: center;
  padding: calc(var(--nav-h) + 60px) 0 80px;
  position: relative; z-index: 1; overflow: hidden;
}

.hero-canvas { position: absolute; inset: 0; width: 100%; height: 100%; z-index: 0; display: block; }
.hero-bar {
  position: absolute; top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(96,165,250,.3), rgba(167,139,250,.3), transparent);
  z-index: 2;
}
.hero-rings { display: none; }

.tech-strip { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 28px; }
.tech-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 5px 12px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--card);
  font-size: 11px; font-weight: 700; color: var(--muted);
  letter-spacing: .3px; transition: color .2s, border-color .2s;
}
.tech-chip:hover { color: var(--text); border-color: var(--border2); }
.tech-chip-dot { width: 5px; height: 5px; border-radius: 50%; }
.tech-chip:nth-child(1) .tech-chip-dot { background: var(--blue); }
.tech-chip:nth-child(2) .tech-chip-dot { background: var(--violet); }
.tech-chip:nth-child(3) .tech-chip-dot { background: var(--teal); }
.tech-chip:nth-child(4) .tech-chip-dot { background: var(--rose); }
.tech-chip:nth-child(5) .tech-chip-dot { background: var(--amber); }
.tech-chip:nth-child(n+6) .tech-chip-dot { background: var(--blue); }

.hero-wrap {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center;
  position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 14px; border-radius: 100px;
  border: 1px solid var(--border); background: var(--card);
  font-size: 10.5px; font-weight: 800; letter-spacing: 2px; text-transform: uppercase;
  color: var(--muted); margin-bottom: 20px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--teal);
  animation: badge-pulse 2.5s ease-in-out infinite;
}
@keyframes badge-pulse {
  0%,100% { opacity: .4; }
  50%     { opacity: 1; }
}

.hero h1 {
  font-size: clamp(36px, 5.5vw, 60px);
  font-weight: 600; line-height: 1.05; letter-spacing: -1px; margin-bottom: 20px;
}
.gtxt {
  background: linear-gradient(135deg, #60a5fa, #a78bfa, #2dd4bf);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 17px; color: var(--muted); line-height: 1.7;
  max-width: 440px; margin-bottom: 34px;
}
.hero-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.btn-p {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-sm);
  background: var(--accent); color: var(--accent-inv);
  font-weight: 600; font-size: 14px;
  transition: opacity .2s, transform .15s;
}
.btn-p:hover { opacity: .82; transform: translateY(-1px); }
.btn-p:active { transform: translateY(0); }

.btn-s {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; border-radius: var(--r-sm);
  background: var(--card); border: 1px solid var(--border); color: var(--text);
  font-weight: 600; font-size: 14px;
  transition: background .2s, border-color .2s, transform .15s;
}
.btn-s:hover { border-color: var(--border2); transform: translateY(-1px); }

.hero-stats {
  display: flex; gap: 30px; flex-wrap: wrap;
  margin-top: 38px; padding-top: 30px; border-top: 1px solid var(--border);
}
.stat-n { font-size: 28px; font-weight: 600; line-height: 1; margin-bottom: 4px; color: var(--text); }
.stat-l { font-size: 12px; font-weight: 600; color: var(--subtle); }

/* Floating cards */
.hero-vis {
  position: relative; display: flex;
  justify-content: center; align-items: center;
  min-height: 460px; gap: 20px;
}
.vis-glow { display: none; }

/* ---------- Browser Mockup ---------- */
.mockup-browser {
  width: 260px; border-radius: 12px; overflow: hidden;
  border: 1px solid var(--border2);
  box-shadow: var(--shadow-lg), 0 0 60px rgba(96,165,250,.06);
  background: rgba(255,255,255,.04);
  backdrop-filter: blur(12px);
  animation: floatBrowser 5s ease-in-out infinite;
  position: relative; z-index: 2; flex-shrink: 0;
  align-self: center; margin-top: 30px;
}
.mock-topbar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 12px; background: rgba(255,255,255,.03); border-bottom: 1px solid var(--border);
}
.mock-dot {
  width: 7px; height: 7px; border-radius: 50%;
}
.mock-dot:nth-child(1) { background: #f43f5e; }
.mock-dot:nth-child(2) { background: #f59e0b; }
.mock-dot:nth-child(3) { background: #22c55e; }
.mock-url {
  flex: 1; margin-left: 8px; font-size: 9px; font-weight: 600;
  color: var(--muted); background: rgba(255,255,255,.05); border-radius: 4px;
  padding: 3px 8px; text-align: center;
}
.mock-body { padding: 12px; }
.mock-nav {
  height: 6px; width: 60%; border-radius: 3px;
  background: var(--surface); margin-bottom: 10px;
}
.mock-hero-block {
  height: 48px; border-radius: 8px; margin-bottom: 10px;
  background: linear-gradient(135deg, rgba(96,165,250,.12) 0%, rgba(167,139,250,.1) 100%);
}
.mock-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 6px; }
.mock-card {
  height: 36px; border-radius: 6px; background: var(--surface);
  border: 1px solid var(--border);
}

/* ---------- iPhone Mockup ---------- */
.mockup-iphone {
  position: relative; z-index: 3;
  flex-shrink: 0; align-self: center;
  animation: floatPhone 4.8s ease-in-out infinite;
}
.iphone-frame {
  position: relative;
  width: 172px;
  border-radius: 40px;
  background:
    linear-gradient(135deg,
      #4a4a52 0%,
      #2c2c32 15%,
      #1e1e22 40%,
      #26262c 60%,
      #3a3a42 80%,
      #4e4e58 100%);
  box-shadow:
    0 40px 100px rgba(0,0,0,.9),
    0 12px 30px rgba(0,0,0,.7),
    0 0 60px rgba(80,120,200,.07),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(0,0,0,.5),
    inset 1px 0 0 rgba(255,255,255,.1),
    inset -1px 0 0 rgba(0,0,0,.3);
  padding: 10px 8px 14px;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
}

/* Side volume buttons — left */
.iphone-frame::before {
  content: '';
  position: absolute; left: -4px; top: 82px;
  width: 4px; height: 56px; border-radius: 4px 0 0 4px;
  background: linear-gradient(180deg, #3a3a42 0%, #4e4e58 20%, #2c2c32 50%, #3a3a42 80%, #2c2c32 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), -1px 0 4px rgba(0,0,0,.4);
}
/* Power button — right */
.iphone-frame::after {
  content: '';
  position: absolute; right: -4px; top: 100px;
  width: 4px; height: 38px; border-radius: 0 4px 4px 0;
  background: linear-gradient(180deg, #3a3a42 0%, #4e4e58 20%, #2c2c32 50%, #3a3a42 80%, #2c2c32 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 1px 0 4px rgba(0,0,0,.4);
}

.iphone-notch { display: none; }
.iphone-cam   { display: none; }
.iphone-di {
  width: 46px; height: 11px;
  background: #000; border-radius: 20px;
  margin-bottom: -2px; position: relative; z-index: 2; flex-shrink: 0;
}
.iphone-screen {
  width: 100%; background: #080814;
  border-radius: 22px; overflow: hidden; padding: 8px 8px 0;
}
.iphone-statusbar {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 8px; padding: 0 2px;
}
.iphone-time { font-size: 8.5px; font-weight: 700; color: rgba(255,255,255,.85); letter-spacing: .3px; }
.iphone-icons { display: flex; gap: 3px; color: rgba(255,255,255,.75); }
.iphone-app-header {
  display: flex; align-items: center; gap: 6px; margin-bottom: 8px;
}
.iphone-app-logo {
  width: 20px; height: 20px; border-radius: 6px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  box-shadow: 0 2px 8px rgba(96,165,250,.4);
}
.iphone-app-title { font-size: 9px; font-weight: 800; color: rgba(255,255,255,.95); letter-spacing: .2px; }
.iphone-banner {
  height: 52px; border-radius: 10px; margin-bottom: 8px;
  background: linear-gradient(135deg, rgba(96,165,250,.3), rgba(167,139,250,.22));
  border: 1px solid rgba(96,165,250,.25);
  display: flex; align-items: center; justify-content: center;
}
.iphone-banner-inner {
  width: 28px; height: 28px; border-radius: 8px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  opacity: .7;
}
.iphone-cards-row { display: flex; gap: 5px; margin-bottom: 8px; }
.iphone-card {
  flex: 1; height: 36px; border-radius: 8px;
}
.iphone-card.ic1 { background: linear-gradient(135deg, rgba(45,212,191,.25), rgba(96,165,250,.18)); border: 1px solid rgba(45,212,191,.25); }
.iphone-card.ic2 { background: linear-gradient(135deg, rgba(167,139,250,.25), rgba(251,113,133,.15)); border: 1px solid rgba(167,139,250,.25); }
.iphone-list { display: flex; flex-direction: column; gap: 6px; }
.iphone-list-item { display: flex; align-items: center; gap: 6px; }
.iphone-list-dot {
  width: 9px; height: 9px; border-radius: 50%; flex: 0 0 9px;
}
.iphone-list-dot.d1 { background: var(--blue); box-shadow: 0 0 6px rgba(96,165,250,.5); }
.iphone-list-dot.d2 { background: var(--teal); box-shadow: 0 0 6px rgba(45,212,191,.5); }
.iphone-list-dot.d3 { background: var(--violet); box-shadow: 0 0 6px rgba(167,139,250,.5); }
.iphone-list-bar {
  height: 5px; border-radius: 3px; flex: 1;
  background: rgba(255,255,255,.1);
}
.iphone-list-bar.short { flex: 0.55; }
.iphone-home-bar {
  width: 46px; height: 4px; border-radius: 3px;
  background: rgba(255,255,255,.3);
  margin-top: 2px;
}

/* ---------- Floating cards ---------- */
.card-stack { position: absolute; inset: 0; z-index: 4; }
.fc {
  position: absolute;
  border: 1px solid var(--border2);
  border-radius: 12px; padding: 10px 14px;
  display: flex; align-items: center; gap: 10px;
  box-shadow: var(--shadow);
  transition: box-shadow .3s, transform .3s;
  backdrop-filter: blur(16px); background: rgba(255,255,255,.07);
}
.fc:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px) !important; }
.fc-ico {
  width: 32px; height: 32px; border-radius: 8px; flex: 0 0 32px;
  display: grid; place-items: center; border: none;
}
.fc1 .fc-ico { background: var(--teal); }
.fc2 .fc-ico { background: var(--amber); }
.fc3 .fc-ico { background: var(--blue); }
.fc-ico svg { width: 14px; height: 14px; color: #fff; stroke: currentColor; fill: none; }
.fc-lbl { font-size: 13px; color: var(--text); }
.fc-sub { font-size: 10px; color: var(--subtle); margin-top: 1px; }

.fc1 { top: 10px;    left: -10px;  animation: f1 4.5s ease-in-out infinite; }
.fc2 { bottom: 30px; right: -10px; animation: f2 5.2s ease-in-out infinite; }
.fc3 { bottom: -10px; left: 50%;  transform: translateX(-50%); animation: f3 4.8s ease-in-out infinite; }

@keyframes f1 { 0%,100%{transform:translateY(0)}   50%{transform:translateY(-10px)} }
@keyframes f2 { 0%,100%{transform:translateY(-50%)} 50%{transform:translateY(calc(-50% - 12px))} }
@keyframes f3 { 0%,100%{transform:translateY(-5px)} 50%{transform:translateY(5px)}  }
@keyframes floatBrowser { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-6px)} }
@keyframes floatPhone { 0%,100%{transform:translateY(0) rotate(0deg)} 50%{transform:translateY(-8px) rotate(1deg)} }

/* ==============================
   SECTION COMMONS
============================== */
.section { padding: 90px 0; position: relative; z-index: 1; }
.section.alt { background: rgba(255,255,255,.02); }

.sec-head { text-align: center; margin-bottom: 56px; }
.sec-tag {
  display: inline-block; font-size: 10.5px; font-weight: 700;
  letter-spacing: .15em; text-transform: uppercase;
  color: #a78bfa;
  background: rgba(139,92,246,.12);
  border: 1px solid rgba(139,92,246,.25);
  padding: 5px 14px; border-radius: 20px; margin-bottom: 16px;
}
.sec-head h2 {
  font-size: clamp(26px, 3.8vw, 40px); font-weight: 600;
  line-height: 1.12; letter-spacing: -.4px; margin-bottom: 14px;
}
.sec-sub { font-size: 16px; color: var(--muted); max-width: 480px; margin: 0 auto; line-height: 1.65; }

.section + .section::before { display: none; }

/* ==============================
   SERVICES
============================== */
.svc-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 16px; }

.svc-card {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 24px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: transform .2s, box-shadow .3s, border-color .2s;
  position: relative; overflow: hidden;
}
.svc-card::after {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1.5px;
  background: var(--accent); opacity: 0; transition: opacity .2s;
}
.svc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: var(--border2); }
.svc-card:hover::after { opacity: 1; }

.svc-ico {
  width: 46px; height: 46px; border-radius: 13px; margin-bottom: 18px;
  display: grid; place-items: center; border: none;
}
.svc-ico svg { width: 20px; height: 20px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.svc-card h3 { font-size: 16px; font-weight: 600; margin-bottom: 8px; }
.svc-card p  { font-size: 13.5px; color: var(--muted); line-height: 1.65; }

/* Individual service colors */
.svc-card:nth-child(1) .svc-ico { background: var(--blue-light); color: var(--blue); }
.svc-card:nth-child(1)::after   { background: var(--blue); }
.svc-card:nth-child(2) .svc-ico { background: var(--violet-light); color: var(--violet); }
.svc-card:nth-child(2)::after   { background: var(--violet); }
.svc-card:nth-child(3) .svc-ico { background: var(--teal-light); color: var(--teal); }
.svc-card:nth-child(3)::after   { background: var(--teal); }
.svc-card:nth-child(4) .svc-ico { background: var(--rose-light); color: var(--rose); }
.svc-card:nth-child(4)::after   { background: var(--rose); }

.svc-tags { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 16px; }
.tag {
  font-size: 10.5px; font-weight: 700; padding: 3px 9px; border-radius: 100px;
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  transition: color .2s, border-color .2s;
}
.tag:hover { color: var(--text); border-color: var(--border2); }

/* ==============================
   PORTFOLIO — auto-scroll carousel
============================== */
/* ==============================
   PORTFOLIO GRID
============================== */
.pf-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

@media (max-width: 560px) {
  .pf-grid { grid-template-columns: 1fr; }
}

/* Wide card — spans full row */
.pf-card2-wide {
  grid-column: span 2;
  display: flex;
  flex-direction: row;
}
.pf-card2-wide .pf-device-area {
  width: 72%;
  flex-shrink: 0;
  min-height: unset;
  border-radius: 20px 0 0 20px;
}
.pf-card2-wide .pf-info2 {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-top: none;
  border-left: 1px solid rgba(255,255,255,.06);
  padding: 28px 24px;
}
.pf-card2-wide .pf-info2 h3 { font-size: 17px; margin-bottom: 8px; }
.pf-card2-wide .pf-stack   { font-size: 12px; }
.pf-card2-wide .pf-info2-top { margin-bottom: 14px; }
.pf-card2-wide .pf-desc {
  font-size: 12px; color: var(--muted); line-height: 1.65;
  margin: 8px 0 0 0;
}

@media (max-width: 700px) {
  .pf-card2-wide { grid-column: span 2; flex-direction: column; }
  .pf-card2-wide .pf-device-area { width: 100%; border-radius: 20px 20px 0 0; }
  .pf-card2-wide .pf-info2 { border-left: none; border-top: 1px solid rgba(255,255,255,.06); }
}

@media (max-width: 560px) {
  .pf-card2-wide { grid-column: span 1; }
}

/* Card */
.pf-card2 {
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(255,255,255,.03);
  box-shadow: 0 8px 30px rgba(0,0,0,.4);
  transition: transform .3s var(--ease), box-shadow .3s var(--ease), border-color .3s;
  cursor: pointer;
  align-self: start;
}
.pf-card2:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0,0,0,.55), 0 0 30px rgba(96,165,250,.08);
  border-color: rgba(96,165,250,.18);
}

/* Device area — dark bg where the mockup sits */
.pf-device-area {
  background: #0b0b14;
  min-height: 210px;
  display: flex; align-items: center; justify-content: center;
  padding: 20px 18px 14px;
}

/* Info strip below device */
.pf-info2 {
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.pf-info2-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 7px;
}
.pf-info2 h3 {
  font-size: 14px; font-weight: 700; color: var(--text);
  margin: 0 0 4px 0;
}
.pf-stack {
  font-size: 11px; color: var(--muted);
  margin: 0;
}
.pf-desc {
  font-size: 11.5px; color: var(--muted); line-height: 1.6;
  margin: 7px 0 0 0;
  opacity: .8;
}

/* Badges */
.pf-badge {
  font-size: 9.5px; font-weight: 800; letter-spacing: 1.2px;
  text-transform: uppercase;
  padding: 4px 10px; border-radius: 100px;
  display: inline-block;
}
.pf-badge-green  { background: rgba(34,197,94,.12);  color: #4ade80; border: 1px solid rgba(34,197,94,.22); }
.pf-badge-blue   { background: rgba(96,165,250,.12);  color: #60a5fa; border: 1px solid rgba(96,165,250,.22); }
.pf-badge-violet { background: rgba(167,139,250,.12); color: #a78bfa; border: 1px solid rgba(167,139,250,.22); }

/* Arrow link wrapper */
.pf-arrow-link {
  display: flex; align-items: center; justify-content: center;
  text-decoration: none;
  line-height: 1;
}

/* Arrow icon */
.pf-arrow-icon {
  width: 16px; height: 16px;
  color: rgba(255,255,255,.22);
  transition: color .2s, transform .2s;
  flex-shrink: 0;
}
.pf-card2:hover .pf-arrow-icon {
  color: rgba(255,255,255,.6);
  transform: translate(2px,-2px);
}

/* Desktop Monitor Mockup */
.pm-desktop-wrap {
  display: flex; flex-direction: column; align-items: center;
  width: 100%; padding: 8px 0 0;
}
.pm-desktop {
  width: 92%;
}
.pm-desktop-frame {
  background: #13131f;
  border-radius: 8px 8px 0 0;
  border: 1.5px solid rgba(255,255,255,.13);
  border-bottom: none;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.7);
}
.pm-desktop-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 7px 10px;
  background: #1c1c2e;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pm-desktop-screen {
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex; align-items: flex-start; justify-content: center;
  background: #0d0d1a;
}
.pm-desktop-screen img {
  width: 100%; height: 100%; object-fit: cover; object-position: top; display: block;
}
.pm-desktop-stand {
  display: flex; flex-direction: column; align-items: center;
}
.pm-desktop-neck {
  width: 18%; height: 18px;
  background: rgba(255,255,255,.08);
  border-radius: 0 0 2px 2px;
}
.pm-desktop-base {
  width: 46%; height: 5px;
  background: rgba(255,255,255,.08);
  border-radius: 0 0 6px 6px;
}

.port-card {
  border-radius: var(--r-lg); border: 1px solid var(--border);
  background: rgba(255,255,255,.03); backdrop-filter: blur(8px);
  overflow: hidden; box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .3s, border-color .2s;
}
.port-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: var(--border2); }

.port-img {
  aspect-ratio: 16/10;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, rgba(96,165,250,.1), rgba(167,139,250,.08));
}
.port-img.b { background: linear-gradient(135deg, rgba(167,139,250,.1), rgba(251,113,133,.06)); }
.port-img.c { background: linear-gradient(135deg, rgba(45,212,191,.1), rgba(96,165,250,.06)); }
.port-img-photo {
  background: #0a0a0f;
  overflow: hidden;
  padding: 0;
}
.port-img-photo img {
  width: 100%; height: 100%; object-fit: cover; object-position: top;
  display: block;
}

/* ---- Portfolio Mockup Cards ---- */
.port-card-mock {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  display: flex; flex-direction: column; align-items: center; gap: 16px;
}
.port-card-mock:hover { transform: translateY(-6px); box-shadow: none !important; }

.port-mock-label {
  text-align: center;
}
.port-mock-label .port-type { justify-content: center; }

/* ---- Browser Mockup ---- */
.pm-browser-wrap {
  width: 100%;
  display: flex; justify-content: center;
}
.pm-browser {
  width: 100%;
  background: #13131f;
  border-radius: 10px;
  border: 1px solid rgba(255,255,255,.12);
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 0 0 1px rgba(255,255,255,.04) inset;
}
.pm-browser-bar {
  display: flex; align-items: center; gap: 5px;
  padding: 8px 10px;
  background: #1c1c2e;
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.pm-dot {
  width: 8px; height: 8px; border-radius: 50%;
}
.pm-dot.r { background: #ff5f57; }
.pm-dot.y { background: #ffbd2e; }
.pm-dot.g { background: #28c840; }
.pm-url {
  flex: 1; font-size: 9px; color: rgba(255,255,255,.3);
  text-align: center; letter-spacing: .3px;
  background: rgba(255,255,255,.05); border-radius: 4px; padding: 2px 8px;
}
.pm-browser-screen {
  aspect-ratio: 16/9;
  overflow: hidden;
  display: flex; align-items: center; justify-content: center;
  background: #0d0d1a;
}
.pm-browser-screen img {
  width: 100%; height: 100%; object-fit: cover; object-position: top; display: block;
}
.pm-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 8px; width: 100%; height: 100%;
  color: rgba(255,255,255,.25); font-size: 10px; letter-spacing: .5px;
}

/* ---- iPhone 15 Pro Realistic Mockup ---- */
.pm-phone-wrap {
  display: flex; justify-content: center;
  padding: 4px 0 2px;
}
.pm-iphone {
  position: relative;
  width: 110px;
}

/* Outer titanium frame */
.pm-iphone-frame {
  position: relative;
  width: 100%;
  border-radius: 26px;
  background:
    linear-gradient(135deg,
      #4a4a52 0%,
      #2c2c32 15%,
      #1e1e22 40%,
      #26262c 60%,
      #3a3a42 80%,
      #4e4e58 100%);
  box-shadow:
    0 24px 60px rgba(0,0,0,.85),
    0 8px 20px rgba(0,0,0,.6),
    0 0 30px rgba(80,120,200,.06),
    inset 0 1px 0 rgba(255,255,255,.22),
    inset 0 -1px 0 rgba(0,0,0,.5),
    inset 1px 0 0 rgba(255,255,255,.1),
    inset -1px 0 0 rgba(0,0,0,.3);
  padding: 6px 5px 10px;
  display: flex; flex-direction: column; align-items: center;
}

/* Side volume buttons — left */
.pm-iphone-frame::before {
  content: '';
  position: absolute;
  left: -3px; top: 52px;
  width: 3px; height: 36px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(180deg,
    #3a3a42 0%, #4e4e58 20%, #2c2c32 50%, #3a3a42 80%, #2c2c32 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), -1px 0 4px rgba(0,0,0,.4);
}
/* Power button — right */
.pm-iphone-frame::after {
  content: '';
  position: absolute;
  right: -3px; top: 64px;
  width: 3px; height: 24px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg,
    #3a3a42 0%, #4e4e58 20%, #2c2c32 50%, #3a3a42 80%, #2c2c32 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15), 1px 0 4px rgba(0,0,0,.4);
}

/* Inner bezel + screen */
.pm-iphone-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9/19.5;
  background: #050508;
  border-radius: 22px;
  overflow: hidden;
  box-shadow:
    inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 2px 8px rgba(0,0,0,.8);
  display: flex; align-items: center; justify-content: center;
}

/* Dynamic Island */
.pm-iphone-di {
  position: absolute;
  top: 10px; left: 50%; transform: translateX(-50%);
  width: 28px; height: 7px;
  background: #000;
  border-radius: 20px;
  z-index: 2;
  box-shadow: 0 0 0 1px rgba(255,255,255,.05);
}

.pm-iphone-screen-photo img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: top;
  display: block;
}

/* Home indicator */
.pm-iphone-bar {
  width: 30px; height: 3px; border-radius: 3px;
  background: rgba(255,255,255,.28);
  margin-top: 5px; flex-shrink: 0;
}

/* Mute switch (small nub above vol buttons) */
.pm-iphone-mute {
  position: absolute;
  left: -3px; top: 40px;
  width: 3px; height: 10px;
  border-radius: 3px 0 0 3px;
  background: linear-gradient(180deg, #4e4e58, #2c2c32);
  box-shadow: -1px 0 4px rgba(0,0,0,.4);
}

/* ---- Android Device Mockup (Rectangular) ---- */
.pm-android-device {
  position: relative;
  width: 110px;
}

.pm-android-frame {
  position: relative;
  width: 100%;
  border-radius: 8px;
  background: linear-gradient(135deg, #2a2a30 0%, #1a1a20 50%, #2a2a30 100%);
  box-shadow: 0 20px 60px rgba(0,0,0,.7), 0 4px 12px rgba(0,0,0,.5),
    inset 0 1px 0 rgba(255,255,255,.1), inset 0 -1px 0 rgba(0,0,0,.5);
  padding: 8px 6px 12px;
  display: flex; flex-direction: column; align-items: center;
  border: 1px solid rgba(255,255,255,.05);
}

.pm-android-screen {
  position: relative;
  width: 100%;
  aspect-ratio: 9/19.5;
  background: #050508;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.06),
    inset 0 2px 8px rgba(0,0,0,.8);
  display: flex; align-items: center; justify-content: center;
}


.pm-android-buttons {
  position: absolute;
  right: -4px; top: 60px;
  width: 4px; height: 40px;
  border-radius: 0 2px 2px 0;
  background: linear-gradient(180deg, #2a2a30, #1a1a20, #2a2a30);
  box-shadow: 1px 0 4px rgba(0,0,0,.5);
}

.port-ico {
  width: 54px; height: 54px; border-radius: 16px;
  background: rgba(255,255,255,.06); border: 1px solid var(--border);
  display: grid; place-items: center;
  box-shadow: 0 2px 8px rgba(0,0,0,.2);
}
.port-card:nth-child(1) .port-ico svg { color: var(--blue); }
.port-card:nth-child(2) .port-ico svg { color: var(--violet); }
.port-card:nth-child(3) .port-ico svg { color: var(--teal); }
.port-ico svg { width: 24px; height: 24px; stroke: currentColor; fill: none; stroke-width: 1.8; color: var(--text); }

.port-body { padding: 18px 16px; }
.port-type {
  font-size: 10px; font-weight: 800; letter-spacing: 1.5px; text-transform: uppercase;
  color: var(--blue); margin-bottom: 6px;
}
.port-type.b { color: var(--violet); }
.port-type.c { color: var(--teal); }
.port-body h3 { font-size: 14.5px; font-weight: 600; margin-bottom: 6px; }
.port-body p  { font-size: 12.5px; color: var(--muted); line-height: 1.6; }

/* ==============================
   TESTIMONIALS
============================== */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 16px; }

.testi-card {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 26px 22px;
  box-shadow: var(--shadow); backdrop-filter: blur(8px);
  transition: transform .2s, box-shadow .3s;
}
.testi-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-lg); }

.stars { display: flex; gap: 2px; margin-bottom: 14px; }
.stars span { color: var(--amber); font-size: 13px; }
.testi-card blockquote { font-size: 13.5px; color: var(--muted); line-height: 1.7; font-style: italic; margin-bottom: 20px; }

.testi-aut { display: flex; align-items: center; gap: 11px; }
.ava {
  width: 38px; height: 38px; border-radius: 50%; flex: 0 0 38px;
  display: grid; place-items: center; font-weight: 900; font-size: 14px; color: #fff;
}
.testi-name { font-size: 13.5px; font-weight: 700; }
.testi-role { font-size: 11.5px; color: var(--subtle); margin-top: 1px; }

/* ==============================
   CONTACT
============================== */
.contact-wrap { display: grid; grid-template-columns: 1fr 1.15fr; gap: 48px; align-items: end; }
.form-wrap { display: flex; flex-direction: column; }
.form-wrap form { flex: 1; display: flex; flex-direction: column; }
.form-wrap .f-grid { flex: 1; display: flex; flex-direction: column; }
.field-msg { flex: 1; display: flex; flex-direction: column; }
.field-msg textarea { flex: 1; min-height: 200px; resize: none; }

.contact-left .sec-tag { display: inline-block; margin-bottom: 16px; }
.contact-left h2 {
  font-size: clamp(24px, 3.2vw, 36px); font-weight: 600; letter-spacing: -.3px; margin-bottom: 14px;
}
.contact-left > p { font-size: 15px; color: var(--muted); line-height: 1.7; margin-bottom: 30px; }

.c-links { display: flex; flex-direction: column; gap: 10px; }
.c-link {
  display: flex; align-items: center; gap: 13px;
  padding: 14px 15px; border-radius: var(--r-sm);
  border: 1px solid var(--border); background: rgba(255,255,255,.03);
  box-shadow: 0 1px 4px rgba(0,0,0,.15);
  transition: border-color .2s, box-shadow .2s;
}
.c-link:hover { border-color: var(--border2); box-shadow: var(--shadow); }
.c-link-ico {
  width: 36px; height: 36px; border-radius: 10px; flex: 0 0 36px;
  display: grid; place-items: center; border: none;
}
.c-link:nth-child(1) .c-link-ico { background: var(--blue-light); color: var(--blue); }
.c-link:nth-child(2) .c-link-ico { background: var(--teal-light); color: var(--teal); }
.c-link:nth-child(3) .c-link-ico { background: var(--violet-light); color: var(--violet); }
.c-link:nth-child(4) .c-link-ico { background: var(--rose-light); color: var(--rose); }
.c-link-ico svg { width: 16px; height: 16px; stroke: currentColor; fill: none; stroke-width: 1.8; }
.c-link-lbl { font-size: 12px; letter-spacing: .6px; text-transform: uppercase; color: var(--muted); font-weight: 400; }
.c-link-val { font-size: 14px; font-weight: 400; color: var(--text); font-family: inherit; }

.form-wrap {
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 30px 28px;
  box-shadow: var(--shadow-lg); backdrop-filter: blur(12px);
}
.form-wrap h3 { font-size: 19px; font-weight: 600; margin-bottom: 4px; }
.form-sub { font-size: 13.5px; color: var(--muted); margin-bottom: 24px; }

.f-grid { display: grid; gap: 14px; }
.f-row  { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.field label {
  display: block; font-size: 12px; letter-spacing: .6px;
  text-transform: uppercase; color: var(--muted); margin-bottom: 6px;
}
.field input,
.field textarea {
  width: 100%;
  background: rgba(255,255,255,.04); border: 1px solid var(--border);
  border-radius: var(--r-sm); padding: 11px 12px;
  font: inherit; font-size: 14px; color: var(--text); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--subtle); }
.field input:focus,
.field textarea:focus {
  border-color: rgba(96,165,250,.5);
  box-shadow: 0 0 0 3px rgba(96,165,250,.1);
  background: rgba(255,255,255,.06);
}
.field textarea { min-height: 120px; resize: vertical; }

.sub-btn {
  width: 100%; margin-top: 2px; padding: 13px;
  border-radius: var(--r-sm); border: none;
  background: var(--accent); color: var(--accent-inv);
  font-weight: 600; font-size: 14px;
  cursor: pointer;
  transition: opacity .2s, transform .15s;
}
.sub-btn:hover  { opacity: .82; transform: translateY(-1px); }
.sub-btn:active { transform: translateY(0); }
.sub-btn:disabled { opacity: .45; cursor: not-allowed; transform: none; }

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ==============================
   TOAST BANNER
============================== */
.banner {
  position: fixed; left: 50%;
  transform: translateX(-50%) translateY(-14px);
  top: 90px;
  width: min(520px, calc(100% - 32px));
  padding: 13px 16px;
  border-radius: 12px; border: 1px solid var(--border);
  background: rgba(20,20,30,.9); backdrop-filter: blur(16px);
  box-shadow: var(--shadow-lg);
  color: var(--text); font-weight: 600; font-size: 14px;
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: opacity .2s var(--ease), transform .2s var(--ease);
}
.banner.show { opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0); }
.banner.success { border-color: rgba(34,197,94,.4); }
.banner.error   { border-color: rgba(239,68,68,.4); }

/* ==============================
   FOOTER
============================== */
footer {
  border-top: 1px solid var(--border); padding: 28px 0;
  position: relative; z-index: 1; background: rgba(0,0,0,.2);
}
.foot-in {
  max-width: 1100px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; flex-wrap: wrap;
}
.foot-copy { font-size: 12.5px; color: var(--subtle); }
.foot-links { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.foot-links a { font-size: 12.5px; color: var(--subtle); transition: color .2s; }
.foot-links a:hover { color: var(--text); }
.foot-sep { color: var(--border2); font-size: 12px; }
.foot-social { display: flex; align-items: center; gap: 10px; }
.foot-social-link {
  display: flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid rgba(255,255,255,.1);
  color: var(--subtle); transition: color .2s, border-color .2s, background .2s;
}
.foot-social-link svg { width: 16px; height: 16px; }
.foot-social-link:hover { color: #fff; border-color: rgba(139,92,246,.5); background: rgba(139,92,246,.1); }

/* ==============================
   FLOATING ACTION BUTTONS
============================== */
.fab {
  position: fixed; bottom: 28px; z-index: 9000;
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 20px rgba(0,0,0,.4);
  cursor: pointer; border: none;
  transition: transform .2s var(--ease), opacity .2s, box-shadow .2s;
}
.fab:hover { transform: translateY(-3px) scale(1.06); box-shadow: 0 8px 28px rgba(0,0,0,.5); }
.fab:active { transform: scale(.95); }

/* WhatsApp */
.fab-wa {
  right: 28px;
  background: #25d366;
  color: #fff;
}
.fab-wa svg { width: 26px; height: 26px; }

/* Back to top */
.fab-top {
  right: 90px;
  background: rgba(255,255,255,.1);
  border: 1px solid var(--border2);
  color: var(--text);
  backdrop-filter: blur(12px);
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .2s var(--ease), box-shadow .2s;
}
.fab-top.visible { opacity: 1; pointer-events: auto; }
.fab-top svg { width: 20px; height: 20px; }

/* On mobile, stack them vertically */
@media (max-width: 600px) {
  .fab-wa  { right: 20px; bottom: 24px; }
  .fab-top { right: 20px; bottom: 86px; }
}

/* ==============================
   SCROLL REVEAL
============================== */
.rv {
  opacity: 0; transform: translateY(18px);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.rv.in { opacity: 1; transform: translateY(0); }
.rv.d1 { transition-delay: .1s; }
.rv.d2 { transition-delay: .2s; }
.rv.d3 { transition-delay: .3s; }

/* ==============================
   RESPONSIVE
============================== */
@media (max-width: 960px) {
  .hero-wrap  { grid-template-columns: 1fr; text-align: center; }
  .hero-badge { margin: 0 auto 20px; }
  .hero-desc  { margin: 0 auto 34px; }
  .hero-btns  { justify-content: center; }
  .hero-stats { justify-content: center; }
  .hero-vis   { display: none; }
  .tech-strip { justify-content: center; }
  .svc-grid   { grid-template-columns: 1fr; }
  .port-grid  { grid-template-columns: repeat(2,1fr); }
  .testi-grid { grid-template-columns: 1fr; }
  .contact-wrap { grid-template-columns: 1fr; }
  .contact-left { text-align: left; }
  .contact-left .sec-tag { display: inline-block; }
  .contact-left h2 { text-align: left; }
  .contact-left > p { text-align: left; }
}
@media (max-width: 1024px) {
  /* Fix iOS Safari toolbar/side color — orbs bleed into viewport edges */
  .orb { display: none; }
  /* Nav always opaque on mobile/tablet so toolbar picks up dark color */
  .nav {
    background: rgba(10,10,15,.97);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
  .nav-links { display: none; }
  .ham       { display: flex; }
  .port-grid { grid-template-columns: 1fr; }
  .f-row     { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .hero-stats { gap: 20px; }
  .form-wrap  { padding: 22px 16px; }
  .section    { padding: 64px 0; }
  .foot-in    { flex-direction: column; align-items: center; text-align: center; gap: 12px; }
  .foot-links { justify-content: center; }
}

/* ==============================
   CLIENTS CAROUSEL
============================== */
.clients-section {
  padding: 50px 0 64px;
  overflow: hidden;
}
.clients-track-wrap {
  overflow: hidden;
  margin-top: 38px;
  -webkit-mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 13%, #000 87%, transparent);
}
.clients-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: clients-scroll 99s linear infinite;
}
.clients-track:hover { animation-play-state: paused; }
@keyframes clients-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
.client-logo {
  display: flex; align-items: center; justify-content: center;
  flex: 0 0 auto;
  padding: 16px 44px;
  border-right: 1px solid var(--border);
  opacity: .38;
  transition: opacity .3s var(--ease);
  user-select: none;
}
.client-logo:first-child { border-left: 1px solid var(--border); }
.client-logo:hover { opacity: .82; }
.client-logo-icon {
  display: flex; align-items: center; gap: 9px;
  color: var(--text);
}
.client-logo-icon svg {
  flex: 0 0 auto; stroke: currentColor; fill: none;
  width: 40px; height: 40px;
}
.client-logo-icon img,
.client-img {
  height: 44px; width: auto;
  opacity: .75;
  filter: brightness(0) invert(1);
  transition: opacity .3s var(--ease);
}
.client-logo:hover .client-img { opacity: 1; }
.client-logo-text {
  font-size: 20px; font-weight: 700;
  letter-spacing: .3px; white-space: nowrap; color: var(--text);
}

/* ==============================
   FAQ
============================== */
.faq-list {
  max-width: 800px; margin: 0 auto;
  display: flex; flex-direction: column; gap: 10px;
}
.faq-item {
  border: 1px solid var(--border);
  border-radius: var(--r);
  background: rgba(255,255,255,.03);
  overflow: hidden;
  transition: border-color .22s var(--ease), box-shadow .22s var(--ease);
}
.faq-item.open {
  border-color: var(--border2);
  box-shadow: var(--shadow);
}
.faq-q {
  width: 100%; text-align: left;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 20px 22px;
  font-size: 15px; font-weight: 600; color: var(--text);
  cursor: pointer; background: none; border: none;
  font-family: inherit; line-height: 1.5;
  transition: color .2s;
}
.faq-q:hover { color: var(--blue); }
.faq-chevron {
  flex: 0 0 22px; width: 22px; height: 22px;
  border-radius: 50%; border: 1px solid var(--border);
  display: grid; place-items: center;
  transition: transform .32s var(--ease), background .2s, border-color .2s;
  color: var(--muted);
}
.faq-item.open .faq-chevron {
  transform: rotate(180deg);
  background: var(--surface); border-color: var(--border2); color: var(--text);
}
.faq-chevron svg {
  width: 11px; height: 11px;
  stroke: currentColor; fill: none;
  stroke-width: 2.5; stroke-linecap: round; stroke-linejoin: round;
}
.faq-a {
  max-height: 0; overflow: hidden;
  font-size: 14px; color: var(--muted); line-height: 1.78;
  padding: 0 22px;
  transition: max-height .38s var(--ease), padding .32s var(--ease);
}
.faq-item.open .faq-a {
  max-height: 400px;
  padding: 0 22px 22px;
}

/* testi-grid: 2 cols on tablet, 1 on mobile */
@media (max-width: 960px) {
  .testi-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 600px) {
  .testi-grid { grid-template-columns: 1fr !important; }
}

/* ==============================
   D2 DIGITAL APP SCREEN
============================== */
.d2app-bg {
  background: linear-gradient(170deg, #0d0d18 0%, #0f1428 55%, #0a1020 100%) !important;
  padding: 6px 7px 8px !important;
  display: flex; flex-direction: column; gap: 5px;
}

/* Header */
.d2app-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 2px 0 3px;
}
.d2app-logo-wrap {
  display: flex; align-items: center; gap: 5px;
}
.d2app-icon {
  width: 22px; height: 22px; border-radius: 6px;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  display: flex; align-items: center; justify-content: center;
  font-size: 7px; font-weight: 800; color: #fff; letter-spacing: -.5px;
  box-shadow: 0 2px 8px rgba(96,165,250,.4);
}
.d2app-brand {
  font-size: 8px; font-weight: 700; color: #f0f0f3; letter-spacing: .2px;
}
.d2app-tagline {
  font-size: 5.5px; color: rgba(255,255,255,.45); letter-spacing: .2px;
}
.d2app-notif {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6);
}

/* Hero card */
.d2app-hero-card {
  background: linear-gradient(135deg, rgba(96,165,250,.18), rgba(167,139,250,.14));
  border: 1px solid rgba(96,165,250,.25);
  border-radius: 9px;
  padding: 7px 9px 8px;
}
.d2app-hc-label {
  font-size: 5.5px; color: rgba(96,165,250,.85); text-transform: uppercase;
  letter-spacing: .6px; margin-bottom: 2px;
}
.d2app-hc-title {
  font-size: 9px; font-weight: 700; color: #f0f0f3; margin-bottom: 5px;
}
.d2app-hc-bar {
  height: 3px; background: rgba(255,255,255,.1); border-radius: 2px; margin-bottom: 3px;
}
.d2app-hc-fill {
  height: 100%; width: 78%; border-radius: 2px;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  box-shadow: 0 0 6px rgba(96,165,250,.5);
}
.d2app-hc-meta {
  display: flex; align-items: center; gap: 4px;
  font-size: 5px; color: rgba(255,255,255,.5);
}
.d2app-hc-dot {
  width: 2px; height: 2px; border-radius: 50%; background: rgba(255,255,255,.3);
}

/* Stats row */
.d2app-stats {
  display: flex; align-items: center; justify-content: space-around;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 8px; padding: 6px 4px;
}
.d2app-stat { text-align: center; }
.d2app-stat-n {
  font-size: 9px; font-weight: 800; color: #f0f0f3;
  background: linear-gradient(135deg, #60a5fa, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}
.d2app-stat-l { font-size: 5px; color: rgba(255,255,255,.45); margin-top: 1px; }
.d2app-stat-div {
  width: 1px; height: 18px; background: rgba(255,255,255,.1);
}

/* Service list */
.d2app-services {
  display: flex; flex-direction: column; gap: 4px;
}
.d2app-svc-item {
  display: flex; align-items: center; gap: 5px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.07);
  border-radius: 7px; padding: 5px 6px;
}
.d2app-svc-ico {
  width: 18px; height: 18px; border-radius: 5px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
}
.d2app-svc-name {
  flex: 1; font-size: 6.5px; color: rgba(255,255,255,.8); font-weight: 500;
}
.d2app-svc-arrow {
  font-size: 8px; color: rgba(255,255,255,.25); line-height: 1;
}

/* ==============================
   HERO TYPEWRITER
============================== */
.hero-tw-h1 {
  position: relative;
}
.tw-line1,
.tw-line2 {
  display: inline;
  min-height: 1em;
}
.tw-cur {
  display: inline-block;
  color: var(--blue);
  font-weight: 300;
  margin-left: 2px;
  animation: twBlink 1s step-end infinite;
  vertical-align: baseline;
}
@keyframes twBlink {
  0%, 100% { opacity: 1; }
  50%       { opacity: 0; }
}

/* ==============================
   PAGE LOADER
============================== */
#page-loader {
  position: fixed; inset: 0; z-index: 99999;
  background: #0a0a0f;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 28px;
  transition: opacity .6s ease, visibility .6s ease;
}
#page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.pl-logo { display: flex; align-items: center; justify-content: center; }
#pl-svg { overflow: visible; }
/* Draw animation — JS sets stroke-dasharray/dashoffset on #pl-path */
#pl-path {
  stroke-dasharray: 9999;  /* overridden by JS with real length */
  stroke-dashoffset: 9999;
  animation: pl-draw .69s .1s cubic-bezier(.4,0,.2,1) forwards;
  filter: drop-shadow(0 0 6px rgba(96,165,250,.35));
}
@keyframes pl-draw {
  to { stroke-dashoffset: 0; }
}
/* After draw finishes, fill fades in */
#pl-path.filled {
  fill: #f0f0f3;
  transition: fill .35s ease;
}
/* Thin gradient progress bar */
.pl-bar {
  width: 140px; height: 2px;
  background: rgba(255,255,255,.1);
  border-radius: 2px; overflow: hidden;
}
.pl-bar-fill {
  height: 100%; width: 0;
  background: linear-gradient(90deg, #60a5fa, #a78bfa);
  border-radius: 2px;
  animation: pl-bar .75s .1s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes pl-bar {
  to { width: 100%; }
}
