/* ===================================================
   I DESIGN 4 U — Master Stylesheet
   =================================================== */

/* ── RESET & ROOT ── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --bg:       #07070f;
  --surface:  #0d0d1a;
  --card:     #111122;
  --card2:    #16162a;
  --accent:   #6c47ff;
  --accent2:  #ff4d8d;
  --accent3:  #00e5a0;
  --gold:     #f5a623;
  --text:     #eeeeff;
  --muted:    #7b7ba8;
  --border:   rgba(108,71,255,.18);
  --glow:     rgba(108,71,255,.3);
  --radius:   18px;
  --nav-h:    72px;
  --font-head:'Syne', sans-serif;
  --font-body:'DM Sans', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  overflow-x: hidden;
  cursor: none;
  -webkit-font-smoothing: antialiased;
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { font-family: var(--font-body); cursor: none; border: none; outline: none; }

/* ── CURSOR ── */
#cursor {
  position: fixed; z-index: 99999;
  width: 10px; height: 10px;
  background: var(--accent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: width .18s, height .18s, background .18s, transform .05s;
  mix-blend-mode: screen;
}
#cursor-ring {
  position: fixed; z-index: 99998;
  width: 38px; height: 38px;
  border: 1.5px solid var(--accent);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%,-50%);
  transition: left .1s, top .1s, width .25s, height .25s, border-color .25s;
  opacity: .55;
}
body.cursor-hover #cursor { width: 18px; height: 18px; background: var(--accent2); }
body.cursor-hover #cursor-ring { width: 54px; height: 54px; border-color: var(--accent2); }

.spark {
  position: fixed; pointer-events: none; z-index: 99990;
  border-radius: 50%;
  transform: translate(-50%,-50%);
  animation: sparkOut .65s forwards ease-out;
}
@keyframes sparkOut {
  0%   { opacity: 1; transform: translate(-50%,-50%) scale(1); }
  100% { opacity: 0; transform: translate(-50%,-50%) scale(0) translateY(-18px); }
}

/* ── NAV ── */
.nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 9000;
  height: var(--nav-h);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 4rem;
  background: rgba(7,7,15,.82);
  backdrop-filter: blur(22px);
  border-bottom: 1px solid var(--border);
  transition: background .3s;
}
.nav.scrolled { background: rgba(7,7,15,.97); }

.nav-logo {
  font-family: var(--font-head);
  font-weight: 800;
  font-size: 1.45rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -.5px;
}

.nav-links {
  display: flex; align-items: center; gap: 2.2rem;
  list-style: none;
}
.nav-links a {
  font-size: .88rem; font-weight: 500;
  color: var(--muted);
  position: relative;
  transition: color .2s;
  cursor: none;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -4px; left: 0;
  width: 0; height: 1.5px;
  background: var(--accent);
  transition: width .3s;
}
.nav-links a:hover, .nav-links a.active { color: var(--text); }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-cta {
  padding: .5rem 1.3rem;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  border-radius: 100px;
  color: #fff !important;
  font-size: .84rem; font-weight: 600;
  transition: opacity .2s, transform .2s;
}
.nav-cta:hover { opacity: .9; transform: translateY(-1px); }
.nav-cta::after { display: none !important; }

/* Hamburger */
.nav-toggle {
  display: none;
  flex-direction: column; gap: 5px;
  width: 28px; cursor: none;
  background: none; border: none;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%;
  background: var(--text);
  transition: transform .3s, opacity .3s;
  border-radius: 2px;
}
.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); }

.nav-mobile {
  display: none;
  position: fixed; top: var(--nav-h); left: 0; right: 0;
  background: #0d0d1a; /* solid — no transparency, no bleed-through */
  background: rgba(10,10,26,.98); /* slight transparency for modern feel */
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border);
  padding: 1.5rem 2rem;
  z-index: 8999;
  flex-direction: column; gap: 1rem;
  box-shadow: 0 8px 32px rgba(0,0,0,.5);
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
  font-size: 1rem; font-weight: 500; color: var(--muted);
  padding: .5rem 0;
  border-bottom: 1px solid var(--border);
  transition: color .2s;
}
.nav-mobile a:hover, .nav-mobile a.active { color: var(--text); }

/* ── LAYOUT UTILS ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 2rem; }
.section { padding: 7rem 0; position: relative; z-index: 1; }
.section-sm { padding: 4rem 0; position: relative; z-index: 1; }

.section-label {
  display: inline-block;
  font-size: .72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--accent);
  margin-bottom: .9rem;
}
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.1; }
h1 { font-size: clamp(2.6rem, 6vw, 5.5rem); font-weight: 800; letter-spacing: -2px; }
h2 { font-size: clamp(1.9rem, 4vw, 3rem); font-weight: 800; letter-spacing: -1px; }
h3 { font-size: 1.2rem; font-weight: 700; }

.grad {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.grad2 {
  background: linear-gradient(135deg, var(--accent2), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .8rem 1.8rem;
  border-radius: 100px;
  font-size: .9rem; font-weight: 600;
  transition: transform .2s, box-shadow .2s, opacity .2s;
  cursor: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  box-shadow: 0 0 28px var(--glow);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 0 44px rgba(108,71,255,.5); }

.btn-outline {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
}
.btn-outline:hover { border-color: var(--accent); background: rgba(108,71,255,.08); transform: translateY(-2px); }

.btn-ghost {
  background: transparent; color: var(--accent);
  padding: .8rem 0;
  font-size: .88rem; font-weight: 600;
}
.btn-ghost:hover { gap: .9rem; }
.btn-ghost::after { content: '→'; transition: transform .2s; }

/* ── HERO ── */
.hero {
  min-height: 100vh;
  padding: calc(var(--nav-h) + 4rem) 0 5rem;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  z-index: 1;
}
.hero-bg {
  position: absolute; inset: 0; z-index: 0;
  background:
    radial-gradient(ellipse 75% 55% at 50% -5%, rgba(108,71,255,.28) 0%, transparent 65%),
    radial-gradient(ellipse 45% 40% at 8% 85%, rgba(255,77,141,.15) 0%, transparent 60%),
    radial-gradient(ellipse 45% 40% at 92% 65%, rgba(0,229,160,.1) 0%, transparent 60%);
}
.hero-grid {
  position: absolute; inset: 0; z-index: 0;
  background-image:
    linear-gradient(rgba(108,71,255,.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,71,255,.055) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 100% 80% at 50% 0%, black 30%, transparent 85%);
}
.hero-content { position: relative; z-index: 1; }
.hero-badge {
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .3rem .9rem;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: .76rem; color: var(--muted);
  background: rgba(108,71,255,.07);
  margin-bottom: 1.5rem;
}
.hero-badge-dot { width: 6px; height: 6px; background: var(--accent3); border-radius: 50%; animation: blink 2s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:.4} }
.hero p { font-size: 1.1rem; color: var(--muted); max-width: 520px; line-height: 1.75; margin: 1.4rem 0 2.2rem; }
.hero-btns { display: flex; gap: 1rem; flex-wrap: wrap; }

.hero-stats {
  margin-top: 5rem;
  display: flex; gap: 3.5rem; flex-wrap: wrap;
  padding-top: 3rem;
  border-top: 1px solid var(--border);
}
.stat-num {
  font-family: var(--font-head);
  font-size: 2.2rem; font-weight: 800;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.stat-label { font-size: .78rem; color: var(--muted); margin-top: .2rem; }

/* ── MARQUEE ── */
.marquee-wrap {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  overflow: hidden;
  background: rgba(108,71,255,.04);
  padding: 1.2rem 0;
}
.marquee-track { display: flex; gap: 2.5rem; animation: marqueeAnim 24s linear infinite; }
.marquee-item {
  display: flex; align-items: center; gap: .8rem;
  font-family: var(--font-head);
  font-size: .78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2px;
  color: var(--muted); white-space: nowrap;
}
.marquee-item em { color: var(--accent); font-style: normal; font-size: 1rem; }
@keyframes marqueeAnim { from{transform:translateX(0)} to{transform:translateX(-50%)} }

/* ── CARDS & TILES ── */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: box-shadow .3s, transform .05s;
  transform-style: preserve-3d;
  will-change: transform;
}
.card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx,50%) var(--my,50%), rgba(108,71,255,.11), transparent 70%);
  opacity: 0; transition: opacity .3s; border-radius: inherit;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover { box-shadow: 0 18px 55px rgba(108,71,255,.18), 0 0 0 1px rgba(108,71,255,.25); }

.card-icon {
  width: 50px; height: 50px; border-radius: 13px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: 1.2rem;
}
.card p { font-size: .87rem; color: var(--muted); line-height: 1.7; margin-top: .5rem; }

.card-arrow {
  position: absolute; right: 1.4rem; bottom: 1.4rem;
  width: 32px; height: 32px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--muted);
  transition: all .2s;
}
.card:hover .card-arrow { background: var(--accent); border-color: var(--accent); color: #fff; transform: rotate(45deg); }

/* ── GRID LAYOUTS ── */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.4rem; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.4rem; }

/* ── PAGE HERO (inner pages) ── */
.page-hero {
  padding: calc(var(--nav-h) + 5rem) 0 5rem;
  text-align: center;
  position: relative; overflow: hidden;
  z-index: 1;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 50% 0%, rgba(108,71,255,.22) 0%, transparent 65%);
}
.page-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(108,71,255,.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(108,71,255,.05) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 90% at 50% 0%, black 30%, transparent 90%);
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero p { font-size: 1.05rem; color: var(--muted); max-width: 540px; margin: 1rem auto 0; line-height: 1.75; }

/* ── PROCESS STEPS ── */
.step-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transition: transform .3s;
}
.step-card:hover { transform: translateY(-6px); }
.step-num {
  font-family: var(--font-head);
  font-size: 3.2rem; font-weight: 800;
  color: rgba(108,71,255,.18); line-height: 1;
  margin-bottom: .8rem;
}
.step-card h4 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; margin-bottom: .5rem; }
.step-card p { font-size: .83rem; color: var(--muted); line-height: 1.65; }

/* ── TESTIMONIALS ── */
.tcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2rem;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow .3s;
}
.tcard:hover { box-shadow: 0 18px 55px rgba(108,71,255,.14); }
.stars { color: var(--gold); letter-spacing: 2px; font-size: .95rem; margin-bottom: .9rem; }
.tcard q { font-size: .87rem; color: var(--muted); line-height: 1.75; font-style: italic; display: block; }
.tcard-author { display: flex; align-items: center; gap: .75rem; margin-top: 1.4rem; }
.avatar {
  width: 40px; height: 40px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1rem; font-weight: 800;
}
.tcard-author strong { font-size: .87rem; font-weight: 600; display: block; }
.tcard-author small { font-size: .74rem; color: var(--muted); }

/* ── PRICING ── */
.pcard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 2.4rem;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow .3s;
  position: relative; overflow: hidden;
}
.pcard.featured { border-color: var(--accent); box-shadow: 0 0 40px rgba(108,71,255,.22); }
.pcard-badge {
  position: absolute; top: 1.2rem; right: 1.2rem;
  background: var(--accent); color: #fff;
  font-size: .68rem; font-weight: 700;
  padding: .22rem .7rem; border-radius: 100px;
  letter-spacing: .5px;
}
.plan-name { font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 2.5px; color: var(--accent); margin-bottom: .7rem; }
.plan-price { font-family: var(--font-head); font-size: 2.8rem; font-weight: 800; line-height: 1; margin-bottom: .3rem; }
.plan-price sup { font-size: 1.1rem; vertical-align: super; }
.plan-price sub { font-size: .9rem; font-weight: 400; color: var(--muted); }
.plan-desc { font-size: .83rem; color: var(--muted); margin-bottom: 1.6rem; line-height: 1.6; }
.plan-features { list-style: none; display: flex; flex-direction: column; gap: .65rem; margin-bottom: 2rem; }
.plan-features li { font-size: .84rem; color: var(--muted); display: flex; align-items: flex-start; gap: .55rem; }
.plan-features li::before { content: '✓'; color: var(--accent3); font-weight: 700; flex-shrink: 0; margin-top: .05rem; }
.plan-features li.crossed { text-decoration: line-through; opacity: .45; }
.plan-features li.crossed::before { content: '✗'; color: var(--accent2); }
.pcard:hover { box-shadow: 0 18px 55px rgba(108,71,255,.18); }

/* ── PORTFOLIO ── */
.portfolio-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.2rem; }
.p-item {
  border-radius: var(--radius);
  overflow: hidden; position: relative;
  aspect-ratio: 4/3;
  background: var(--card);
  border: 1px solid var(--border);
  cursor: none;
  transform-style: preserve-3d;
  will-change: transform;
  transition: transform .3s, box-shadow .3s;
}
.p-item:hover { transform: scale(1.02); box-shadow: 0 20px 60px rgba(108,71,255,.22); }
.p-item.span2 { grid-column: span 2; aspect-ratio: 16/7; }
.p-bg {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: 3.5rem;
  transition: transform .4s;
}
.p-item:hover .p-bg { transform: scale(1.07); }
.p-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,7,15,.92) 0%, rgba(7,7,15,.3) 50%, transparent 80%);
  display: flex; flex-direction: column; justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0; transition: opacity .3s;
}
.p-item:hover .p-overlay { opacity: 1; }
.p-overlay h4 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; }
.p-overlay span { font-size: .76rem; color: var(--muted); }
.p-overlay .p-btn {
  margin-top: .8rem;
  display: inline-flex; align-items: center; gap: .5rem;
  padding: .45rem 1rem;
  background: var(--accent); color: #fff;
  border-radius: 100px; font-size: .78rem; font-weight: 600;
  width: fit-content;
}
.p-tag {
  position: absolute; top: .9rem; left: .9rem;
  background: rgba(7,7,15,.75);
  backdrop-filter: blur(8px);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: .22rem .7rem;
  font-size: .7rem; color: var(--muted);
}

/* ── MODAL ── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(7,7,15,.92);
  backdrop-filter: blur(14px);
  z-index: 88000;
  display: flex; align-items: center; justify-content: center;
  padding: 2rem;
  opacity: 0; pointer-events: none;
  transition: opacity .3s;
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--card2);
  border: 1px solid var(--border);
  border-radius: 24px;
  width: 100%; max-width: 780px;
  max-height: 90vh; overflow-y: auto;
  padding: 2.5rem;
  position: relative;
  transform: translateY(30px);
  transition: transform .35s;
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-close {
  position: absolute; top: 1.2rem; right: 1.2rem;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,.07);
  border: 1px solid var(--border);
  color: var(--text); font-size: 1rem;
  display: flex; align-items: center; justify-content: center;
  cursor: none; transition: background .2s;
}
.modal-close:hover { background: var(--accent2); }
.modal-img {
  width: 100%; height: 220px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; margin-bottom: 1.5rem;
}
.modal-tags { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.modal-tag {
  padding: .25rem .75rem; border-radius: 100px;
  background: rgba(108,71,255,.12);
  border: 1px solid rgba(108,71,255,.25);
  font-size: .72rem; color: var(--accent); font-weight: 600;
}
.modal-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; margin: 1.5rem 0; }
.meta-item { background: var(--card); border-radius: 12px; padding: 1rem; border: 1px solid var(--border); }
.meta-item label { font-size: .7rem; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; display: block; margin-bottom: .3rem; }
.meta-item span { font-size: .88rem; font-weight: 600; }
.modal p { font-size: .88rem; color: var(--muted); line-height: 1.8; margin-top: .8rem; }

/* ── CONTACT ── */
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.6fr; gap: 3rem;
  align-items: start;
}
.contact-info .info-item {
  display: flex; gap: 1rem; align-items: flex-start;
  padding: 1.2rem; background: var(--card);
  border: 1px solid var(--border); border-radius: 14px;
  margin-bottom: 1rem;
}
.info-icon {
  width: 42px; height: 42px; border-radius: 10px;
  background: rgba(108,71,255,.12);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; flex-shrink: 0;
}
.info-item h4 { font-size: .82rem; font-weight: 700; margin-bottom: .2rem; }
.info-item p { font-size: .83rem; color: var(--muted); margin: 0; }

/* FORM */
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 600; margin-bottom: .45rem; color: var(--muted); }
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: .85rem 1.1rem;
  color: var(--text);
  font-family: var(--font-body);
  font-size: .88rem;
  transition: border-color .2s, box-shadow .2s;
  outline: none;
  cursor: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(108,71,255,.12);
}
.form-group select option { background: var(--card2); color: var(--text); }
.form-group textarea { resize: vertical; min-height: 120px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-status { padding: .8rem 1.2rem; border-radius: 10px; font-size: .84rem; margin-top: 1rem; display: none; }
.form-status.success { background: rgba(0,229,160,.1); border: 1px solid rgba(0,229,160,.25); color: var(--accent3); display: block; }
.form-status.error { background: rgba(255,77,141,.1); border: 1px solid rgba(255,77,141,.25); color: var(--accent2); display: block; }

/* ── ABOUT ── */
.about-values-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.2rem;
  margin-top: 3rem;
}
.value-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  text-align: center;
  transition: transform .3s, box-shadow .3s;
}
.value-card:hover { transform: translateY(-5px); box-shadow: 0 16px 40px rgba(108,71,255,.15); }
.value-icon { font-size: 2rem; margin-bottom: 1rem; }
.value-card h4 { font-size: .95rem; font-weight: 700; margin-bottom: .5rem; }
.value-card p { font-size: .82rem; color: var(--muted); line-height: 1.65; }

.team-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.5rem;
  margin-top: 3rem;
}
.team-card {
  background: var(--card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  text-align: center;
  transform-style: preserve-3d;
  will-change: transform;
  transition: box-shadow .3s;
}
.team-card:hover { box-shadow: 0 16px 40px rgba(108,71,255,.16); }
.team-avatar {
  width: 72px; height: 72px; border-radius: 50%;
  margin: 0 auto 1rem;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 800;
}
.team-card h4 { font-size: .95rem; font-weight: 700; }
.team-card span { font-size: .78rem; color: var(--accent); font-weight: 600; }
.team-card p { font-size: .8rem; color: var(--muted); margin-top: .5rem; line-height: 1.6; }

/* ── FAQ ── */
.faq-item {
  border: 1px solid var(--border); border-radius: 14px;
  background: var(--card); margin-bottom: .8rem;
  overflow: hidden;
}
.faq-q {
  padding: 1.2rem 1.5rem;
  display: flex; align-items: center; justify-content: space-between;
  cursor: none; user-select: none;
  font-weight: 600; font-size: .9rem;
  transition: color .2s;
}
.faq-q:hover { color: var(--accent); }
.faq-q .faq-icon { font-size: 1rem; transition: transform .3s; flex-shrink: 0; }
.faq-item.open .faq-q .faq-icon { transform: rotate(45deg); }
.faq-a {
  max-height: 0; overflow: hidden;
  transition: max-height .35s ease, padding .3s;
  font-size: .85rem; color: var(--muted); line-height: 1.75;
  padding: 0 1.5rem;
}
.faq-item.open .faq-a { max-height: 200px; padding: 0 1.5rem 1.2rem; }

/* ── SECTION DIVIDER ── */
.divider {
  border: none; border-top: 1px solid var(--border);
  margin: 0;
}

/* ── CTA BANNER ── */
.cta-banner {
  background: var(--surface);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 6rem 0;
  text-align: center;
  position: relative; z-index: 1;
}
.cta-banner h2 { margin-bottom: 1rem; }
.cta-banner p { font-size: 1rem; color: var(--muted); max-width: 460px; margin: 0 auto 2rem; line-height: 1.75; }
.cta-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ── FOOTER ── */
.footer {
  padding: 5rem 0 2rem;
  border-top: 1px solid var(--border);
  position: relative; z-index: 1;
  background: var(--bg); /* ensure solid background, no bleed-through */
}
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 3rem; padding-bottom: 3rem;
  border-bottom: 1px solid var(--border);
}
.footer-brand p { font-size: .84rem; color: var(--muted); margin-top: .8rem; line-height: 1.75; max-width: 250px; }
.footer-col h5 {
  font-family: var(--font-head); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 2.5px;
  margin-bottom: 1.1rem; color: var(--text);
}
.footer-col ul { list-style: none; display: flex; flex-direction: column; gap: .6rem; }
.footer-col ul a { font-size: .83rem; color: var(--muted); transition: color .2s; cursor: none; }
.footer-col ul a:hover { color: var(--accent); }
.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 1.8rem; font-size: .76rem; color: var(--muted);
  flex-wrap: wrap; gap: 1rem;
}
.social-row { display: flex; gap: .7rem; }
.soc {
  width: 34px; height: 34px; border-radius: 50%;
  border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .8rem; color: var(--muted);
  transition: border-color .2s, color .2s, background .2s;
  cursor: none;
}
.soc:hover { border-color: var(--accent); color: var(--accent); background: rgba(108,71,255,.1); }

/* ── REVEAL ANIMATIONS ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal-left { opacity: 0; transform: translateX(-36px); transition: opacity .7s ease, transform .7s ease; }
.reveal-left.in { opacity: 1; transform: translateX(0); }
.reveal-right { opacity: 0; transform: translateX(36px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right.in { opacity: 1; transform: translateX(0); }

/* ── MOBILE: disable reveal animation entirely on small screens
   Prevents content being invisible if IntersectionObserver misfires ── */
@media (max-width: 768px) {
  .reveal,
  .reveal-left,
  .reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ── FLOATING BLOBS ── */
.blob {
  position: fixed; border-radius: 50%;
  filter: blur(90px); pointer-events: none;
  z-index: -1;  /* behind EVERYTHING — was 0 which caused bleed-through */
  animation: blobDrift 10s ease-in-out infinite alternate;
}
.blob1 { width: 520px; height: 520px; background: var(--accent); opacity: .07; top: -120px; left: -100px; }
.blob2 { width: 420px; height: 420px; background: var(--accent2); opacity: .07; bottom: -80px; right: -80px; animation-delay: -5s; }
@keyframes blobDrift { from{transform:translate(0,0)} to{transform:translate(28px,28px)} }

/* ── SCROLL TO TOP ── */
#scrollTop {
  position: fixed; bottom: 2rem; right: 2rem; z-index: 5000;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; cursor: none; border: none;
  opacity: 0; pointer-events: none;
  transition: opacity .3s, transform .3s;
  box-shadow: 0 6px 20px var(--glow);
}
#scrollTop.show { opacity: 1; pointer-events: all; }
#scrollTop:hover { transform: translateY(-3px); }

/* ── TOAST ── */
.toast {
  position: fixed; bottom: 2rem; left: 50%; transform: translateX(-50%) translateY(80px);
  z-index: 99000;
  background: var(--card2); border: 1px solid var(--border);
  padding: .85rem 1.6rem; border-radius: 100px;
  font-size: .87rem; color: var(--text);
  box-shadow: 0 10px 40px rgba(0,0,0,.5);
  transition: transform .4s cubic-bezier(.34,1.56,.64,1);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }

/* ── UTILITY ── */
.text-center { text-align: center; }
.text-muted { color: var(--muted); }
.mt-1 { margin-top: .5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }
.gap-sm { gap: .8rem; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.w-full { width: 100%; }
.surface-section { background: var(--surface); position: relative; z-index: 1; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .about-values-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .portfolio-grid { grid-template-columns: repeat(2, 1fr); }
  .p-item.span2 { grid-column: span 1; aspect-ratio: 4/3; }
}

/* ═══════════════════════════════════════════════════════
   TABLET / MOBILE — 768px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 768px) {

  /* ── NAV: full-width, tighter padding ── */
  .nav {
    padding: 0 1.2rem;
    width: 100%;
    left: 0;
    right: 0;
    box-sizing: border-box;
  }
  .nav-links  { display: none; }
  .nav-toggle { display: flex; }

  /* ── HIDE custom cursor on touch / small screens ── */
  #cursor, #cursor-ring { display: none !important; }
  body { cursor: auto; }
  a, button, [onclick], .nav-toggle, .pf-filter, .pf-btn,
  .btn, .toggle-switch, .ab-arrow, #scrollTop { cursor: pointer; }

  /* ── CONTAINER: reduce side padding ── */
  .container { padding: 0 1.1rem; }

  /* ── H1: the main fix — clamp that actually works on mobile ──
     At 390px: clamp(1.85rem, 8vw, 3rem) → 8vw = 31.2px ≈ 1.95rem
     At 320px: clamp(1.85rem, 8vw, 3rem) → 8vw = 25.6px → min 1.85rem kicks in = 29.6px
     Both fit comfortably with word-break safety net */
  h1 {
    font-size: clamp(1.85rem, 8vw, 3rem) !important;
    line-height: 1.18 !important;
    letter-spacing: -0.5px !important;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  h2 {
    font-size: clamp(1.5rem, 5.5vw, 2.4rem) !important;
    line-height: 1.2 !important;
    letter-spacing: -0.3px !important;
  }

  /* ── PAGE HERO (inner pages): reduce top padding ── */
  .page-hero {
    padding-top:    calc(var(--nav-h) + 2rem) !important;
    padding-bottom: 2.5rem !important;
  }
  .page-hero p {
    font-size: .9rem !important;
    padding: 0 .5rem;
  }

  /* ── HOME HERO ── */
  .hero {
    padding-top:    calc(var(--nav-h) + 2rem) !important;
    padding-bottom: 3rem !important;
    min-height: auto !important;
  }
  .hero p { font-size: .92rem; }
  .hero-stats { gap: 1.5rem; }

  /* ── SECTION padding ── */
  section.section { padding: 3.5rem 0; }
  .section        { padding: 3.5rem 0; }

  /* ── GRIDS ── */
  .grid-3, .grid-2 { grid-template-columns: 1fr; }
  .portfolio-grid  { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr 1fr; }
  .team-grid       { grid-template-columns: 1fr 1fr; }
  .footer-grid     { grid-template-columns: 1fr; gap: 2rem; }
  .form-row        { grid-template-columns: 1fr; }
  .modal-meta      { grid-template-columns: 1fr; }

  /* ── CTA BANNER ── */
  .cta-banner h2 { font-size: clamp(1.55rem, 6vw, 2.4rem) !important; }
  .cta-btns      { flex-wrap: wrap; justify-content: center; gap: .8rem; }
  .btn           { padding: .7rem 1.4rem; font-size: .85rem; }

  /* ── FOOTER ── */
  .footer { padding: 3rem 0 1.5rem; }
}

/* ═══════════════════════════════════════════════════════
   SMALL MOBILE — 480px
   ═══════════════════════════════════════════════════════ */
@media (max-width: 480px) {

  /* ── H1: tightest setting for narrow phones ── */
  h1 {
    font-size: clamp(1.65rem, 8.5vw, 2rem) !important;
    line-height: 1.16 !important;
    letter-spacing: -0.3px !important;
  }

  h2 {
    font-size: clamp(1.3rem, 6vw, 1.7rem) !important;
  }

  /* ── NAV logo: slightly smaller so it never wraps ── */
  .nav-logo { font-size: 1.2rem !important; }

  /* ── CONTAINER: even tighter ── */
  .container { padding: 0 .9rem; }

  /* ── PAGE HERO ── */
  .page-hero {
    padding-top:    calc(var(--nav-h) + 1.4rem) !important;
    padding-bottom: 2rem !important;
  }
  .page-hero p   { font-size: .84rem !important; }
  .section-label { font-size: .65rem !important; letter-spacing: 2px !important; }

  /* ── GRIDS ── */
  .about-values-grid, .team-grid { grid-template-columns: 1fr; }
  .hero-stats  { flex-direction: column; gap: 1.2rem; }
  .cta-btns    { flex-direction: column; align-items: center; }

  /* ── STAT numbers ── */
  .stat-num    { font-size: 1.8rem; }

  /* ── PRICING cards ── */
  .pcard       { padding: 1.6rem 1.2rem; }
  .plan-price  { font-size: 2.2rem !important; }

  /* ── SECTION padding ── */
  section.section { padding: 2.5rem 0; }
  .section        { padding: 2.5rem 0; }

  /* ── scrollTop button: smaller, tighter ── */
  #scrollTop { width: 36px; height: 36px; font-size: .8rem; bottom: 1.2rem; right: 1.2rem; }
}

/* ═══════════════════════════════════════════════════════
   VERY SMALL — 360px (small Android phones)
   ═══════════════════════════════════════════════════════ */
@media (max-width: 360px) {
  h1 {
    font-size: 1.55rem !important;
    line-height: 1.15 !important;
  }
  h2 { font-size: 1.25rem !important; }
  .container { padding: 0 .75rem; }
  .nav { padding: 0 .9rem; }
}
