/* ═══════════════════════════════════════
   FLEXISOFTWARE – Shared Stylesheet
   Brand: #5d0fac · #5741f1 · #d14bec · #3dc2fb
═══════════════════════════════════════ */

@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@400;600;700;900&family=DM+Sans:opsz,wght@9..40,300;9..40,400;9..40,500;9..40,700&display=swap');

:root {
  --bg:       #07070d;
  --bg2:      #0c0a16;
  --bg3:      #110e1e;
  --p1:       #5d0fac;
  --p2:       #5741f1;
  --p3:       #d14bec;
  --p4:       #3dc2fb;
  --grad:     linear-gradient(135deg, #5d0fac 0%, #5741f1 50%, #d14bec 100%);
  --grad-h:   linear-gradient(135deg, #7a1fd4 0%, #6e5af5 50%, #e06af7 100%);
  --glow1:    rgba(93,15,172,.22);
  --glow2:    rgba(61,194,251,.18);
  --glass:    rgba(255,255,255,.04);
  --glass-b:  rgba(255,255,255,.08);
  --text:     #f0eeff;
  --muted:    #7a7090;
  --fh:       'Oxanium', sans-serif;
  --fb:       'DM Sans', sans-serif;
  --ease:     .3s cubic-bezier(.4,0,.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--text); font-family: var(--fb); font-size: 1rem; line-height: 1.7; overflow-x: hidden; }

::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--p2); border-radius: 3px; }

/* ── Grid bg ── */
.grid-bg {
  position: fixed; inset: 0; z-index: -2; pointer-events: none;
  background-image:
    linear-gradient(rgba(87,65,241,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(87,65,241,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 90% 60% at 50% 0%, black 20%, transparent 80%);
}
#particles-canvas { position: fixed; inset: 0; z-index: -1; pointer-events: none; opacity: .5; }

/* ══════════════════════════════
   NAVBAR
══════════════════════════════ */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 1.1rem 0;
  transition: background var(--ease), padding var(--ease), box-shadow var(--ease);
}
#navbar.scrolled {
  background: rgba(7,7,13,.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  padding: .7rem 0;
  box-shadow: 0 1px 0 var(--glass-b), 0 8px 40px rgba(0,0,0,.7);
}

.brand {
  font-family: var(--fh);
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-decoration: none;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-link {
  font-family: var(--fh);
  font-size: .58rem;
  font-weight: 600;
  letter-spacing: .13em;
  color: var(--muted) !important;
  padding: .5rem 1rem !important;
  position: relative;
  transition: color var(--ease);
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 2px; left: 50%; right: 50%;
  height: 1px;
  background: var(--grad);
  transition: left var(--ease), right var(--ease);
}
.nav-link:hover, .nav-link.active { color: var(--p4) !important; }
.nav-link:hover::after, .nav-link.active::after { left: 1rem; right: 1rem; }

.btn-nav {
  font-family: var(--fh);
  font-size: .56rem;
  letter-spacing: .12em;
  font-weight: 700;
  background: var(--grad);
  color: #fff !important;
  border: none;
  padding: .5rem 1.5rem;
  border-radius: 40px;
  text-decoration: none;
  transition: box-shadow var(--ease), transform var(--ease), opacity var(--ease);
}
.btn-nav::after { display: none !important; }
.btn-nav:hover { box-shadow: 0 0 28px rgba(87,65,241,.5); transform: translateY(-1px); opacity: .9; }

/* Offcanvas */
.offcanvas { background: rgba(7,7,13,.97); backdrop-filter: blur(24px); }
.offcanvas-header { border-bottom: 1px solid var(--glass-b); }
.offcanvas-body .nav-link { font-size: .7rem; padding: .85rem 0 !important; border-bottom: 1px solid var(--glass-b); }

/* ══════════════════════════════
   BUTTONS
══════════════════════════════ */
.btn-grad {
  display: inline-block;
  font-family: var(--fh);
  font-size: .62rem;
  letter-spacing: .1em;
  font-weight: 700;
  background: var(--grad);
  color: #fff;
  border: none;
  padding: .9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: box-shadow var(--ease), transform var(--ease), background var(--ease);
  cursor: pointer;
}
.btn-grad:hover { box-shadow: 0 0 36px rgba(87,65,241,.5), 0 8px 30px rgba(0,0,0,.3); transform: translateY(-2px); color: #fff; background: var(--grad-h); }

.btn-outline {
  display: inline-block;
  font-family: var(--fh);
  font-size: .62rem;
  letter-spacing: .1em;
  font-weight: 700;
  background: transparent;
  color: var(--p4);
  border: 1px solid rgba(61,194,251,.35);
  padding: .9rem 2rem;
  border-radius: 50px;
  text-decoration: none;
  transition: all var(--ease);
  cursor: pointer;
}
.btn-outline:hover { background: rgba(61,194,251,.1); border-color: var(--p4); box-shadow: 0 0 20px rgba(61,194,251,.2); transform: translateY(-2px); color: var(--p4); }

/* ══════════════════════════════
   SECTION COMMONS
══════════════════════════════ */
section { padding: 6rem 0; }

.s-label {
  font-family: var(--fh);
  font-size: .58rem;
  letter-spacing: .3em;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: .8rem;
}
.s-label::before { content: ''; width: 24px; height: 1px; background: var(--grad); flex-shrink: 0; }

.s-title {
  font-family: var(--fh);
  font-size: clamp(1.9rem, 4vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1rem;
}
.s-title .hl {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.s-sub { font-size: 1rem; color: var(--muted); max-width: 560px; }

.accent-bar { width: 48px; height: 2px; background: var(--grad); margin: 1.2rem 0; }

/* ══════════════════════════════
   CARDS / GLASS
══════════════════════════════ */
.card-glass {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 16px;
  padding: 2rem 1.8rem;
  height: 100%;
  position: relative;
  overflow: hidden;
  transition: all var(--ease);
}
.card-glass::before {
  content: '';
  position: absolute; inset: 0; border-radius: 16px;
  background: linear-gradient(135deg, rgba(87,65,241,.06), transparent);
  opacity: 0; transition: opacity var(--ease);
}
.card-glass:hover { transform: translateY(-6px); border-color: rgba(87,65,241,.35); box-shadow: 0 20px 60px rgba(0,0,0,.35), 0 0 0 1px rgba(87,65,241,.12); }
.card-glass:hover::before { opacity: 1; }

.icon-box {
  width: 54px; height: 54px;
  background: var(--glow1);
  border: 1px solid rgba(87,65,241,.25);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--p4);
  margin-bottom: 1.2rem;
  transition: all var(--ease);
}
.card-glass:hover .icon-box { box-shadow: 0 0 20px rgba(61,194,251,.3); background: rgba(61,194,251,.12); }

.card-num {
  position: absolute; bottom: 1rem; right: 1.4rem;
  font-family: var(--fh); font-size: 3rem; font-weight: 900;
  color: rgba(87,65,241,.06); line-height: 1; pointer-events: none;
}

/* ══════════════════════════════
   STAT ITEMS
══════════════════════════════ */
.stat-item { padding: 1.5rem; border-left: 1px solid var(--glass-b); }
.stat-item:first-child { border-left: none; padding-left: 0; }
.stat-num {
  font-family: var(--fh); font-size: 2.2rem; font-weight: 900; line-height: 1;
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-label { font-size: .78rem; color: var(--muted); margin-top: .2rem; letter-spacing: .07em; text-transform: uppercase; }

/* ══════════════════════════════
   HERO HEXAGON + PHOTO
══════════════════════════════ */
.hero-hex-wrap { position: relative; display: flex; align-items: center; justify-content: center; }

.orbit-ring {
  position: absolute; border-radius: 50%;
  border: 1px solid rgba(87,65,241,.12);
  animation: orbit-spin 22s linear infinite;
}
.orbit-ring:nth-child(2) { animation-direction: reverse; animation-duration: 34s; }
.orbit-dot {
  position: absolute; width: 7px; height: 7px;
  background: var(--p3); border-radius: 50%;
  top: -3.5px; left: calc(50% - 3.5px);
  box-shadow: 0 0 12px var(--p3);
}
@keyframes orbit-spin { to { transform: rotate(360deg); } }

.hex-frame {
  width: 400px; height: 400px; max-width: 88vw;
  clip-path: polygon(50% 0%,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);
  position: relative;
  overflow: hidden;
  animation: float 6s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }

.hex-frame img {
  width: 100%; height: 100%;
  object-fit: cover; object-position: center top;
  display: block;
}
.hex-frame .hex-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(160deg, var(--bg3) 0%, #1a1030 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: .8rem;
}
.hex-frame .hex-placeholder i { font-size: 4rem; opacity: .25; color: var(--p4); }
.hex-frame .hex-placeholder span { font-family: var(--fh); font-size: .55rem; letter-spacing: .15em; color: var(--muted); text-align: center; padding: 0 2rem; }

/* Gradient border glow ring around hex */
.hex-glow {
  position: absolute;
  width: 420px; height: 420px; max-width: 90vw;
  clip-path: polygon(50% 0%,93% 25%,93% 75%,50% 100%,7% 75%,7% 25%);
  background: var(--grad);
  z-index: -1;
  opacity: .4;
  animation: float 6s ease-in-out infinite;
}

/* Name badge below hex */
.hex-badge {
  position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%);
  background: var(--bg3);
  border: 1px solid var(--glass-b);
  border-radius: 40px;
  padding: .45rem 1.4rem;
  white-space: nowrap;
  font-size: .82rem;
  font-weight: 500;
  display: flex; align-items: center; gap: .5rem;
}
.hex-badge span { color: var(--p4); font-family: var(--fh); font-size: .55rem; letter-spacing: .1em; }

/* ══════════════════════════════
   PAGE HERO (subpages)
══════════════════════════════ */
.page-hero {
  min-height: 42vh;
  display: flex; align-items: center;
  padding: 9rem 0 5rem;
  position: relative; overflow: hidden;
  background: linear-gradient(180deg, var(--bg2) 0%, var(--bg) 100%);
}
.page-hero::before {
  content: '';
  position: absolute; top: -300px; right: -200px;
  width: 700px; height: 700px;
  background: radial-gradient(circle, var(--glow1) 0%, transparent 65%);
  pointer-events: none;
}
.page-hero::after {
  content: '';
  position: absolute; bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(87,65,241,.3), transparent);
}
.page-hero-eyebrow {
  font-family: var(--fh);
  font-size: .58rem;
  letter-spacing: .3em;
  display: flex; align-items: center; gap: .7rem;
  margin-bottom: 1rem;
}
.page-hero-eyebrow span {
  background: var(--grad);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.page-hero-eyebrow::before { content: ''; width: 24px; height: 1px; background: var(--grad); }
.page-hero-title {
  font-family: var(--fh);
  font-size: clamp(2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 1.2rem;
}
.page-hero-lead { font-size: 1.05rem; color: var(--muted); max-width: 560px; }

/* Breadcrumb */
.breadcrumb-bar {
  background: var(--glass);
  border-bottom: 1px solid var(--glass-b);
  padding: .6rem 0;
}
.breadcrumb-bar a { color: var(--muted); text-decoration: none; font-size: .82rem; transition: color var(--ease); }
.breadcrumb-bar a:hover { color: var(--p4); }
.breadcrumb-bar span { color: var(--muted); font-size: .82rem; margin: 0 .4rem; }
.breadcrumb-bar .current { color: var(--text); font-size: .82rem; }

/* ══════════════════════════════
   REVIEW CARD
══════════════════════════════ */
.review-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 16px; padding: 2rem;
  height: 100%; position: relative;
  transition: all var(--ease);
}
.review-card::before {
  content: '"'; position: absolute; top: .8rem; right: 1.4rem;
  font-family: Georgia,serif; font-size: 5rem; line-height: 1;
  color: rgba(87,65,241,.08); pointer-events: none;
}
.review-card:hover { border-color: rgba(87,65,241,.3); box-shadow: 0 10px 40px rgba(0,0,0,.25); }
.review-stars { font-size: .85rem; margin-bottom: 1rem; }
.review-stars i { color: var(--p3); }
.review-text { font-size: .87rem; color: var(--muted); line-height: 1.7; margin-bottom: 1.5rem; }
.review-author { display: flex; align-items: center; gap: .8rem; }
.review-avatar {
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--glow1); border: 1px solid rgba(87,65,241,.3);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--fh); font-size: .75rem; font-weight: 700;
  background: var(--grad); color: #fff; flex-shrink: 0;
}
.review-name { font-weight: 600; font-size: .88rem; }
.review-role { font-size: .77rem; color: var(--muted); }

/* ══════════════════════════════
   PORTFOLIO CARDS
══════════════════════════════ */
.filter-tabs { display: flex; gap: .5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.filter-tab {
  font-family: var(--fh); font-size: .58rem; letter-spacing: .1em;
  padding: .45rem 1.2rem; border-radius: 40px;
  border: 1px solid var(--glass-b);
  background: transparent; color: var(--muted); cursor: pointer;
  transition: all var(--ease);
}
.filter-tab.active, .filter-tab:hover { background: var(--grad); border-color: transparent; color: #fff; }

.portfolio-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 1.2rem; }

.ref-card {
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: 14px; overflow: hidden;
  transition: all var(--ease);
}
.ref-card:hover { transform: translateY(-5px); border-color: rgba(87,65,241,.35); box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.ref-img {
  width: 100%; height: 180px;
  background: linear-gradient(135deg, var(--bg2), var(--bg3));
  display: flex; align-items: center; justify-content: center;
  font-size: 3rem; color: rgba(87,65,241,.2);
  border-bottom: 1px solid var(--glass-b);
  overflow: hidden;
}
.ref-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.ref-card:hover .ref-img img { transform: scale(1.06); }
.ref-body { padding: 1.2rem; }
.ref-tag {
  font-family: var(--fh); font-size: .5rem; letter-spacing: .15em;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: .4rem;
}
.ref-title { font-size: .95rem; font-weight: 600; margin-bottom: .4rem; }
.ref-desc { font-size: .82rem; color: var(--muted); line-height: 1.5; }
.ref-link {
  display: inline-flex; align-items: center; gap: .4rem;
  font-family: var(--fh); font-size: .54rem; letter-spacing: .1em;
  color: var(--p4); text-decoration: none; margin-top: .8rem;
  transition: gap var(--ease), color var(--ease);
}
.ref-link:hover { gap: .7rem; color: var(--p4); }

/* ══════════════════════════════
   CONTACT
══════════════════════════════ */
.contact-item { display: flex; align-items: center; gap: 1rem; margin-bottom: 1.4rem; }
.contact-icon {
  width: 44px; height: 44px;
  background: var(--glow1); border: 1px solid rgba(87,65,241,.25);
  border-radius: 12px; display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; color: var(--p4); flex-shrink: 0;
}
.contact-label { font-size: .75rem; color: var(--muted); }
.contact-value { font-weight: 500; font-size: .95rem; }
.contact-value a { color: var(--text); text-decoration: none; transition: color var(--ease); }
.contact-value a:hover { color: var(--p4); }

.form-dark {
  width: 100%;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--glass-b);
  border-radius: 10px;
  padding: .8rem 1rem;
  color: var(--text);
  font-family: var(--fb);
  font-size: .9rem;
  transition: border-color var(--ease), box-shadow var(--ease);
  outline: none;
}
.form-dark::placeholder { color: var(--muted); }
.form-dark:focus { border-color: rgba(87,65,241,.5); box-shadow: 0 0 0 3px rgba(87,65,241,.1); background: rgba(255,255,255,.06); }
textarea.form-dark { resize: vertical; min-height: 130px; }
select.form-dark { cursor: pointer; }

/* ══════════════════════════════
   CONTENT SECTIONS (subpages)
══════════════════════════════ */
.content-block {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 16px; padding: 2.5rem;
  position: relative; overflow: hidden;
}
.content-block::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
}
.content-block h3 {
  font-family: var(--fh); font-size: .88rem; font-weight: 700;
  letter-spacing: .06em; margin-bottom: 1rem;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.content-block p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.content-block ul { color: var(--muted); font-size: .95rem; padding-left: 1.2rem; }
.content-block ul li { margin-bottom: .4rem; }
.content-block ul li strong { color: var(--text); }

.check-list { list-style: none !important; padding-left: 0 !important; }
.check-list li { display: flex; align-items: flex-start; gap: .7rem; margin-bottom: .7rem; }
.check-list li::before {
  content: '';
  width: 20px; height: 20px; flex-shrink: 0; margin-top: .22rem;
  background: var(--grad); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='white' viewBox='0 0 16 16'%3E%3Cpath d='M13.854 3.646a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.293l6.646-6.647a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
  background-size: 12px; background-repeat: no-repeat; background-position: center;
}

.tech-badge {
  display: inline-flex; align-items: center; gap: .4rem;
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: 40px; padding: .3rem .9rem;
  font-size: .78rem; color: var(--muted); margin: .2rem;
}
.tech-badge i { color: var(--p4); font-size: .8rem; }

/* ══════════════════════════════
   ABOUT COUNTER BOX
══════════════════════════════ */
.about-card {
  background: var(--glass); border: 1px solid var(--glass-b);
  border-radius: 20px; padding: 3rem 2rem;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  min-height: 340px; position: relative; overflow: hidden; text-align: center;
}
.about-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: var(--grad);
}
.about-big {
  font-family: var(--fh); font-size: 6.5rem; font-weight: 900; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.about-label { font-family: var(--fh); font-size: .7rem; letter-spacing: .2em; color: var(--muted); margin-top: .5rem; }

/* ══════════════════════════════
   CTA BANNER
══════════════════════════════ */
.cta-section {
  background: linear-gradient(135deg, rgba(93,15,172,.15) 0%, rgba(87,65,241,.1) 50%, rgba(209,75,236,.12) 100%);
  border-top: 1px solid var(--glass-b);
  border-bottom: 1px solid var(--glass-b);
  padding: 5rem 0;
  text-align: center;
  position: relative; overflow: hidden;
}

/* ══════════════════════════════
   FOOTER
══════════════════════════════ */
footer {
  background: #040408;
  border-top: 1px solid var(--glass-b);
  padding: 3.5rem 0 1.5rem;
}
.footer-brand {
  font-family: var(--fh); font-size: 1.1rem; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  margin-bottom: .5rem; display: block;
}
.footer-desc { font-size: .85rem; color: var(--muted); max-width: 260px; }
.footer-h { font-family: var(--fh); font-size: .58rem; letter-spacing: .2em; color: var(--p4); text-transform: uppercase; margin-bottom: 1rem; }
.footer-links { list-style: none; padding: 0; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a { font-size: .87rem; color: var(--muted); text-decoration: none; transition: color var(--ease); }
.footer-links a:hover { color: var(--p4); }
.footer-bottom {
  border-top: 1px solid var(--glass-b); margin-top: 2.5rem; padding-top: 1.5rem;
  font-size: .8rem; color: var(--muted);
  display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem;
}

/* ══════════════════════════════
   TOAST
══════════════════════════════ */
.toast-custom {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 9999;
  background: rgba(7,7,13,.96); border: 1px solid rgba(87,65,241,.4);
  border-radius: 12px; padding: 1rem 1.5rem;
  color: var(--text); font-size: .88rem;
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  display: none; align-items: center; gap: .8rem;
  animation: slideUp .3s ease;
}
@keyframes slideUp { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }
.toast-custom.show { display: flex; }
.toast-custom i { font-size: 1.2rem; background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }

/* ══════════════════════════════
   REVEAL ANIMATIONS
══════════════════════════════ */
.reveal        { opacity:0; transform:translateY(28px); transition:opacity .65s ease, transform .65s ease; }
.reveal-l      { opacity:0; transform:translateX(-28px); transition:opacity .65s ease, transform .65s ease; }
.reveal-r      { opacity:0; transform:translateX(28px); transition:opacity .65s ease, transform .65s ease; }
.reveal.in, .reveal-l.in, .reveal-r.in { opacity:1; transform:translate(0); }
.d1{transition-delay:.08s} .d2{transition-delay:.16s} .d3{transition-delay:.24s}
.d4{transition-delay:.32s} .d5{transition-delay:.40s} .d6{transition-delay:.48s}

/* ══════════════════════════════
   SERVICE PAGE SPECIFICS
══════════════════════════════ */
.stat-pill {
  background: var(--glow1); border: 1px solid rgba(87,65,241,.25);
  border-radius: 12px; padding: 1.2rem 1.5rem; text-align: center;
}
.stat-pill-num {
  font-family: var(--fh); font-size: 1.8rem; font-weight: 900;
  background: var(--grad); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.stat-pill-label { font-size: .78rem; color: var(--muted); }

/* ══════════════════════════════
   RESPONSIVE
══════════════════════════════ */
@media (max-width: 991px) {
  .hex-frame { width: 300px; height: 300px; }
  .hex-glow  { width: 315px; height: 315px; }
  section { padding: 4rem 0; }
}
@media (max-width: 576px) {
  .stat-item { border-left:none; border-top:1px solid var(--glass-b); padding:1rem 0; }
  .stat-item:first-child { border-top:none; }
  .portfolio-grid { grid-template-columns:1fr; }
}
/* ══════════════════════════════
   Custom Select
══════════════════════════════ */

.custom-select-wrap {
  position: relative;
  user-select: none;
}

.custom-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .5rem;
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: 10px;
  padding: .6rem .85rem;
  color: var(--text);
  font-size: .87rem;
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s;
}
.custom-select-trigger:hover {
  border-color: rgba(87,65,241,.4);
}
.custom-select-wrap.open .custom-select-trigger {
  border-color: rgba(87,65,241,.5);
  box-shadow: 0 0 0 3px rgba(87,65,241,.1);
}

.content-block:has(.custom-select-wrap) {
  overflow: visible;
}

.custom-select-arrow {
  font-size: .75rem;
  color: var(--muted);
  transition: transform .25s;
  flex-shrink: 0;
}
.custom-select-wrap.open .custom-select-arrow {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 6px);
  left: 0; right: 0;
  background: #1c1a28;
  border: 1px solid rgba(87,65,241,.3);
  border-radius: 12px;
  overflow: hidden;
  z-index: 999;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
  box-shadow: 0 16px 48px rgba(0,0,0,.5);
}
.custom-select-wrap.open .custom-select-dropdown {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.custom-select-option {
  display: flex;
  align-items: center;
  gap: .7rem;
  padding: .65rem 1rem;
  font-size: .87rem;
  color: var(--muted);
  cursor: pointer;
  transition: background .15s, color .15s;
  border-bottom: 1px solid rgba(255,255,255,.04);
}
.custom-select-option:last-child {
  border-bottom: none;
}
.custom-select-option i {
  font-size: .95rem;
  color: var(--p2);
  width: 16px;
  text-align: center;
  flex-shrink: 0;
}
.custom-select-option:hover {
  background: rgba(87,65,241,.12);
  color: var(--text);
}
.custom-select-option:hover i {
  color: var(--p4);
}
.custom-select-option.selected {
  background: rgba(87,65,241,.18);
  color: var(--p4);
}
.custom-select-option.selected i {
  color: var(--p4);
}