/* ============================
   VARIABLES
============================ */
:root {
  --blue: #2563eb;
  --blue-l: #3b82f6;
  --blue-xl: #60a5fa;
  --blue-bg: #eff6ff;
  --blue-glow: rgba(37, 99, 235, 0.12);
  --blue-glow2: rgba(37, 99, 235, 0.06);
  --white: #ffffff;
  --off: #f8fafc;
  --text: #0f172a;
  --muted: #475569;
  --dim: #94a3b8;
  --border: #e2e8f0;
  --border2: #cbd5e1;
  --card: #ffffff;
  --card-shadow: 0 4px 24px rgba(15,23,42,0.07), 0 1px 4px rgba(15,23,42,0.04);
  --card-hover: 0 12px 40px rgba(37,99,235,0.14), 0 2px 8px rgba(15,23,42,0.06);
  --font: 'Plus Jakarta Sans', sans-serif;
  --display: 'Plus Jakarta Sans', sans-serif;
  --mono: 'JetBrains Mono', monospace;
  --radius: 16px;
}

/* ============================
   RESET
============================ */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { background: var(--off); color: var(--text); font-family: var(--font); line-height: 1.7; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
strong { color: var(--text); }
img { display: block; }

/* ============================
   UTILITIES
============================ */
.container { max-width: 1140px; margin: 0 auto; padding: 0 60px; }
.section { padding: 100px 0; }
.section-label {
  display: block;
  font-family: var(--mono);
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.sec-h2 {
  font-family: var(--display);
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin-bottom: 16px;
  color: var(--text);
}
.sec-desc { color: var(--muted); font-size: 1rem; max-width: 600px; margin-bottom: 56px; }

.btn-blue {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: var(--blue); color: #fff;
  border: none; border-radius: 10px; font-family: var(--font);
  font-size: 0.92rem; font-weight: 700; cursor: pointer;
  transition: all 0.22s; text-decoration: none;
  box-shadow: 0 4px 16px rgba(37,99,235,0.3);
}
.btn-blue:hover { background: #1d4ed8; transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,99,235,0.4); }
.btn-blue.sm { padding: 9px 18px; font-size: 0.82rem; border-radius: 8px; }
.btn-blue.lg { padding: 16px 34px; font-size: 1.02rem; }
.btn-blue.full { width: 100%; justify-content: center; }

.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: transparent; color: var(--blue);
  border: 2px solid var(--blue); border-radius: 10px; font-family: var(--font);
  font-size: 0.92rem; font-weight: 700; cursor: pointer;
  transition: all 0.22s; text-decoration: none;
}
.btn-outline:hover { background: var(--blue-bg); transform: translateY(-2px); }
.btn-outline.sm { padding: 8px 16px; font-size: 0.82rem; border-radius: 8px; border-width: 1.5px; }
.btn-outline.full { width: 100%; justify-content: center; }

.inline-link { color: var(--blue); font-weight: 600; border-bottom: 1px solid rgba(37,99,235,0.3); }

.reveal { opacity: 0; transform: translateY(28px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ============================
   NAVBAR
============================ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  padding: 18px 60px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000; transition: all 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.94);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(15,23,42,0.06);
  padding: 12px 60px;
}
.logo { font-size: 1.5rem; font-weight: 800; letter-spacing: -0.05em; color: var(--text); }
.logo span { color: var(--blue); }
.nav-links a { margin-left: 28px; font-size: 0.88rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--blue); }
.nav-resume {
  margin-left: 28px; padding: 7px 16px;
  border: 1.5px solid var(--blue); border-radius: 8px;
  color: var(--blue) !important; font-size: 0.8rem !important; font-weight: 700 !important;
  transition: all 0.2s;
}
.nav-resume:hover { background: var(--blue-bg); }
.nav-ham { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.nav-ham span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: 0.3s; }

.mob-nav {
  position: fixed; top: 0; right: -100%;
  width: 280px; height: 100vh;
  background: var(--white); border-left: 1px solid var(--border);
  z-index: 2000; padding: 60px 36px;
  display: flex; flex-direction: column; gap: 24px;
  transition: right 0.3s; box-shadow: -8px 0 32px rgba(15,23,42,0.1);
}
.mob-nav.open { right: 0; }
.mob-nav a { font-size: 1.05rem; font-weight: 600; color: var(--muted); transition: color 0.2s; }
.mob-nav a:hover { color: var(--blue); }
.mob-close { position: absolute; top: 18px; right: 18px; background: none; border: none; font-size: 1.1rem; cursor: pointer; color: var(--muted); }

/* ============================
   HERO
============================ */
.hero {
  min-height: 100vh;
  background: linear-gradient(160deg, #f0f7ff 0%, #ffffff 45%, #f8faff 100%);
  display: grid;
  grid-template-columns: 1fr 420px;
  align-items: center;
  gap: 60px;
  padding: 130px 60px 80px;
  max-width: 1300px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

/* Animated blobs */
.hero-blob {
  position: fixed; border-radius: 50%; pointer-events: none; filter: blur(80px); z-index: 0;
  animation: blobFloat 8s ease-in-out infinite;
}
.b1 { width: 500px; height: 500px; background: rgba(37,99,235,0.07); top: -150px; right: -100px; animation-delay: 0s; }
.b2 { width: 400px; height: 400px; background: rgba(96,165,250,0.08); bottom: 0; left: -100px; animation-delay: 3s; }
.b3 { width: 300px; height: 300px; background: rgba(37,99,235,0.05); top: 40%; left: 30%; animation-delay: 6s; }
@keyframes blobFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-30px) scale(1.05)} }

/* Dots pattern */
.hero-dots {
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image: radial-gradient(circle, rgba(37,99,235,0.12) 1px, transparent 1px);
  background-size: 28px 28px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, black, transparent);
}

.hero-content { position: relative; z-index: 1; }
.hero-img-col { position: relative; z-index: 1; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: #f0fdf4; border: 1.5px solid #bbf7d0; border-radius: 100px;
  padding: 7px 16px; font-size: 0.8rem; font-weight: 600; color: #15803d;
  margin-bottom: 28px; animation: fadeSlideUp 0.7s 0.1s both;
}
.live-dot {
  width: 8px; height: 8px; background: #22c55e; border-radius: 50%;
  animation: livePulse 2s infinite;
}
@keyframes livePulse { 0%,100%{box-shadow:0 0 0 0 rgba(34,197,94,0.5)} 50%{box-shadow:0 0 0 6px rgba(34,197,94,0)} }

.hero-h1 {
  font-family: var(--display); font-size: clamp(2.6rem,5.5vw,4.2rem);
  font-weight: 800; letter-spacing: -0.04em; line-height: 1.08;
  margin-bottom: 20px;
}
.line-wrap { overflow: hidden; display: block; }
.line-in { display: block; animation: lineIn 0.8s cubic-bezier(0.22,1,0.36,1) both; }
.line-in:nth-child(1) { animation-delay: 0.2s; }
.name-line { color: var(--blue); animation-delay: 0.4s !important; }
.name-line em { font-style: normal; }

@keyframes lineIn { from{transform:translateY(110%)} to{transform:translateY(0)} }
@keyframes fadeSlideUp { from{opacity:0;transform:translateY(16px)} to{opacity:1;transform:translateY(0)} }

.hero-sub-line {
  font-size: clamp(1.2rem,3vw,1.8rem); font-weight: 700;
  color: var(--muted); margin-bottom: 20px;
  animation: fadeSlideUp 0.8s 0.5s both;
}
.typed-word { color: var(--blue); }
.typed-cursor { color: var(--blue); animation: blink 0.8s infinite; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

.hero-desc {
  font-size: 1rem; color: var(--muted); max-width: 520px;
  margin-bottom: 36px; animation: fadeSlideUp 0.8s 0.6s both; line-height: 1.8;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 32px; animation: fadeSlideUp 0.8s 0.7s both; }
.hero-socials { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 44px; animation: fadeSlideUp 0.8s 0.8s both; }

.hsoc {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: 0.8rem; font-weight: 600; color: var(--muted);
  background: var(--white); border: 1.5px solid var(--border);
  padding: 6px 14px; border-radius: 8px; transition: all 0.2s;
}
.hsoc:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-bg); }
.hsoc.tiktok-link:hover { border-color: #000; color: #000; background: #f5f5f5; }

.hero-stats { display: flex; align-items: center; gap: 28px; animation: fadeSlideUp 0.8s 0.9s both; }
.hst { text-align: center; }
.hst-n { font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -0.05em; line-height: 1; }
.hst-l { font-size: 0.7rem; color: var(--dim); font-family: var(--mono); letter-spacing: 0.08em; text-transform: uppercase; margin-top: 3px; }
.hst-div { width: 1px; height: 40px; background: var(--border2); }

/* Profile ring */
.profile-ring {
  position: relative; width: 360px; height: 360px;
  animation: fadeSlideUp 0.9s 0.4s both;
}
.profile-ring-inner {
  width: 280px; height: 280px; border-radius: 50%;
  overflow: hidden; border: 5px solid var(--white);
  box-shadow: 0 20px 60px rgba(37,99,235,0.2), 0 4px 16px rgba(15,23,42,0.1);
  margin: 40px auto 0;
  position: relative;
  background: linear-gradient(135deg, var(--blue-bg), #dbeafe);
}
.profile-ring-inner img { width: 100%; height: 100%; object-fit: cover; }
.profile-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  font-size: 4.5rem; font-weight: 800; color: var(--blue); display: none;
  background: linear-gradient(135deg,#dbeafe,#eff6ff);
}

/* Floating badges */
.float-badge {
  position: absolute; background: white; border: 1.5px solid var(--border);
  border-radius: 10px; padding: 8px 14px; font-size: 0.78rem; font-weight: 700;
  color: var(--text); box-shadow: 0 4px 16px rgba(15,23,42,0.1);
  animation: floatBadge 4s ease-in-out infinite;
  white-space: nowrap;
}
.fb1 { top: 10px; left: -10px; animation-delay: 0s; }
.fb2 { top: 10px; right: -10px; animation-delay: 1s; }
.fb3 { bottom: 60px; left: -20px; animation-delay: 2s; }
.fb4 { bottom: 60px; right: -10px; animation-delay: 3s; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-8px)} }

/* ============================
   ABOUT
============================ */
.about-sec { background: var(--white); }
.about-grid { display: grid; grid-template-columns: 1fr 340px; gap: 80px; align-items: start; margin-top: 8px; }
.about-text p { color: var(--muted); margin-bottom: 16px; font-size: 0.97rem; }

.tech-section { margin-top: 28px; }
.tech-label { font-size: 0.82rem; font-weight: 700; color: var(--text); margin-bottom: 12px; }
.tech-chips { display: flex; flex-wrap: wrap; gap: 9px; }
.tech-chips span {
  font-family: var(--mono); font-size: 0.73rem;
  background: var(--blue-bg); border: 1.5px solid #bfdbfe;
  color: var(--blue); padding: 5px 13px; border-radius: 7px;
  font-weight: 600; transition: all 0.2s;
}
.tech-chips span:hover { background: var(--blue); color: white; }

.about-links { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 28px; }
.about-links a {
  font-size: 0.8rem; font-weight: 700; color: var(--blue);
  border: 1.5px solid var(--blue); padding: 6px 14px; border-radius: 8px; transition: all 0.2s;
}
.about-links a:hover { background: var(--blue); color: white; }

.about-info-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 28px;
  box-shadow: var(--card-shadow); transition: box-shadow 0.3s;
}
.about-info-card:hover { box-shadow: var(--card-hover); }
.aic-top { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.aic-avatar {
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--blue-bg); overflow: hidden; flex-shrink: 0;
  border: 2px solid #bfdbfe; position: relative;
}
.aic-avatar img { width: 100%; height: 100%; object-fit: cover; }
.aic-fallback {
  position: absolute; inset: 0; display: none;
  align-items: center; justify-content: center;
  font-size: 1.3rem; font-weight: 800; color: var(--blue);
}
.aic-top h3 { font-size: 1rem; font-weight: 700; margin-bottom: 2px; }
.aic-top p { font-size: 0.78rem; color: var(--muted); }
.aic-divider { height: 1px; background: var(--border); margin: 16px 0; }
.aic-facts { display: flex; flex-direction: column; gap: 10px; }
.aic-fact { display: flex; align-items: center; gap: 10px; font-size: 0.85rem; color: var(--muted); }
.aic-fact span { font-size: 1rem; }
.aic-socials { display: flex; flex-direction: column; gap: 8px; }
.aic-soc {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.8rem; font-weight: 600; color: var(--muted);
  background: var(--off); border: 1px solid var(--border);
  padding: 8px 14px; border-radius: 8px; transition: all 0.2s;
}
.aic-soc:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-bg); }
.aic-soc.tiktok:hover { border-color: #000; color: #000; background: #fafafa; }

/* ============================
   EXPERIENCE
============================ */
.exp-sec { background: var(--off); }
.exp-wrap { max-width: 860px; }
.timeline { position: relative; padding-left: 28px; margin-top: 40px; }
.timeline::before { content: ''; position: absolute; left: 7px; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--blue), #bfdbfe); border-radius: 2px; }
.tl-item { position: relative; margin-bottom: 28px; }
.tl-dot {
  position: absolute; left: -24px; top: 22px;
  width: 14px; height: 14px; background: var(--blue); border-radius: 50%;
  border: 3px solid var(--off); box-shadow: 0 0 0 3px #bfdbfe;
}
.tl-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 14px; padding: 22px 26px;
  box-shadow: var(--card-shadow); transition: all 0.3s;
}
.tl-card:hover { border-color: #bfdbfe; box-shadow: var(--card-hover); transform: translateX(4px); }
.tl-top { display: flex; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; gap: 8px; margin-bottom: 8px; }
.tl-top h3 { font-size: 1rem; font-weight: 700; }
.tl-co { font-size: 0.8rem; font-weight: 700; color: var(--blue); margin-top: 2px; }
.tl-date { font-family: var(--mono); font-size: 0.7rem; color: var(--blue); background: var(--blue-bg); border: 1px solid #bfdbfe; padding: 3px 10px; border-radius: 5px; white-space: nowrap; }
.tl-card p:not(.tl-co) { color: var(--muted); font-size: 0.88rem; }

/* ============================
   PROJECTS
============================ */
.work-sec { background: var(--white); }
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.proj-card.big { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1fr; gap: 0; }

.proj-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 20px; overflow: hidden;
  box-shadow: var(--card-shadow); transition: all 0.3s;
  display: flex; flex-direction: column;
}
.proj-card:hover { border-color: #bfdbfe; box-shadow: var(--card-hover); transform: translateY(-5px); }

/* Project visual panels */
.proj-visual {
  background: var(--blue-bg); padding: 24px;
  display: flex; align-items: center; justify-content: center;
  min-height: 220px; position: relative; overflow: hidden;
}
.proj-card.big .proj-visual { min-height: 320px; border-radius: 0; }

.proj-info { padding: 26px; display: flex; flex-direction: column; gap: 12px; flex: 1; }
.proj-tag {
  display: inline-block; font-size: 0.7rem; font-weight: 700;
  font-family: var(--mono); padding: 4px 11px; border-radius: 6px; width: fit-content;
}
.proj-info h3 { font-size: 1.1rem; font-weight: 800; letter-spacing: -0.02em; line-height: 1.3; }
.proj-info p { color: var(--muted); font-size: 0.87rem; line-height: 1.7; flex: 1; }

.proj-feats { display: flex; flex-direction: column; gap: 6px; }
.pf { display: flex; align-items: center; gap: 8px; font-size: 0.82rem; color: var(--muted); }
.pf span { font-size: 0.88rem; }

.proj-stack-pills { display: flex; flex-wrap: wrap; gap: 6px; }
.proj-stack-pills span {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 600;
  background: var(--off); border: 1px solid var(--border);
  color: var(--blue); padding: 3px 10px; border-radius: 5px;
}
.proj-stack-pills.sm span { font-size: 0.64rem; }

.proj-btns { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 4px; }

/* ---- Exchange App Mockup ---- */
.pv-phone {
  width: 190px; background: #0f172a;
  border-radius: 28px; padding: 10px;
  box-shadow: 0 20px 50px rgba(15,23,42,0.3);
  position: relative; z-index: 1;
}
.pv-phone.small { width: 165px; border-radius: 24px; }
.ph-notch { width: 60px; height: 8px; background: #1e293b; border-radius: 4px; margin: 0 auto 8px; }
.ph-screen { background: #ffffff; border-radius: 20px; padding: 12px; min-height: 260px; }
.pv-phone.small .ph-screen { min-height: 220px; }

.ex-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.ex-logo { font-size: 0.72rem; font-weight: 800; color: var(--blue); }
.ex-rate-live { display: flex; align-items: center; gap: 4px; font-size: 0.58rem; font-weight: 700; color: #15803d; }
.live-d { width: 5px; height: 5px; background: #22c55e; border-radius: 50%; animation: livePulse 2s infinite; }

.ex-rate-card {
  background: linear-gradient(135deg, var(--blue), #1e40af);
  border-radius: 10px; padding: 12px; margin-bottom: 10px; color: white;
}
.ex-rc-label { font-size: 0.58rem; opacity: 0.8; margin-bottom: 2px; }
.ex-rc-value { font-size: 1.2rem; font-weight: 800; letter-spacing: -0.04em; }
.ex-rc-value span { font-size: 0.58rem; opacity: 0.8; }
.ex-rc-trend { font-size: 0.58rem; color: #bbf7d0; margin-top: 2px; }

.ex-pairs { display: flex; flex-direction: column; gap: 5px; margin-bottom: 10px; }
.ex-pair { display: flex; align-items: center; gap: 6px; background: var(--off); border-radius: 6px; padding: 5px 8px; }
.ex-flag { font-size: 0.75rem; }
.ex-pair span:nth-child(2) { flex: 1; font-size: 0.6rem; font-weight: 600; color: var(--text); }
.ex-v { font-size: 0.62rem; font-weight: 700; font-family: var(--mono); }
.ex-v.up { color: #16a34a; }
.ex-v.dn { color: #dc2626; }
.ex-btn { background: var(--blue); color: white; border-radius: 6px; padding: 7px; text-align: center; font-size: 0.62rem; font-weight: 700; }

/* ---- Focus App Mockup ---- */
.focus-header { font-size: 0.72rem; font-weight: 800; color: var(--blue); margin-bottom: 8px; }
.focus-timer { display: flex; flex-direction: column; align-items: center; margin-bottom: 10px; }
.timer-ring { position: relative; width: 70px; height: 70px; }
.timer-ring svg { width: 100%; height: 100%; }
.timer-val { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 0.72rem; font-weight: 800; color: var(--blue); font-family: var(--mono); }
.focus-mode { font-size: 0.6rem; font-weight: 700; color: var(--blue); margin-top: 4px; }
.focus-tasks { display: flex; flex-direction: column; gap: 4px; margin-bottom: 8px; }
.ftask { font-size: 0.58rem; padding: 4px 7px; border-radius: 5px; background: var(--off); color: var(--muted); }
.ftask.done { color: #16a34a; }
.ftask.active { background: var(--blue-bg); color: var(--blue); font-weight: 700; }
.focus-btn { background: var(--blue); color: white; border-radius: 6px; padding: 6px; text-align: center; font-size: 0.6rem; font-weight: 700; }

/* ---- Tracking System Mockup ---- */
.track-dash { background: white; border-radius: 12px; padding: 14px; width: 100%; max-width: 240px; box-shadow: var(--card-shadow); }
.track-header { font-size: 0.72rem; font-weight: 800; color: var(--text); margin-bottom: 10px; }
.track-stats { display: flex; gap: 8px; margin-bottom: 12px; }
.tstat { flex: 1; background: var(--blue-bg); border-radius: 8px; padding: 8px; text-align: center; }
.tstat-n { font-size: 1rem; font-weight: 800; color: var(--blue); }
.tstat-l { font-size: 0.56rem; color: var(--muted); }
.track-list { display: flex; flex-direction: column; gap: 6px; }
.track-item { display: flex; align-items: center; gap: 7px; }
.ti-id { font-family: var(--mono); font-size: 0.58rem; color: var(--muted); width: 48px; }
.ti-bar { flex: 1; height: 5px; background: var(--border); border-radius: 3px; overflow: hidden; }
.ti-fill { height: 100%; background: linear-gradient(90deg, var(--blue), var(--blue-l)); border-radius: 3px; }
.ti-status { font-size: 0.56rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; white-space: nowrap; }
.ti-status.delivered { background: #f0fdf4; color: #16a34a; }
.ti-status.transit { background: var(--blue-bg); color: var(--blue); }
.ti-status.pending { background: #fff7ed; color: #c2410c; }

/* ---- Realtor Mockup ---- */
.rl-ui { background: white; border-radius: 12px; padding: 12px; width: 100%; max-width: 240px; box-shadow: var(--card-shadow); }
.rl-agent { display: flex; align-items: center; gap: 8px; padding: 8px; background: var(--off); border-radius: 8px; margin-bottom: 8px; }
.rl-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg,var(--blue),#93c5fd); flex-shrink: 0; }
.rl-ainfo { flex: 1; }
.rl-aname { height: 7px; background: var(--border); border-radius: 3px; width: 80px; margin-bottom: 4px; }
.rl-asub { height: 5px; background: var(--border); border-radius: 3px; width: 55px; }
.rl-stars { font-size: 0.62rem; color: #f59e0b; font-weight: 700; }
.rl-map { position: relative; height: 70px; background: linear-gradient(135deg,#dbeafe,#eff6ff); border-radius: 8px; overflow: hidden; margin-bottom: 8px; }
.rl-map-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(37,99,235,0.12) 1px,transparent 1px),linear-gradient(90deg,rgba(37,99,235,0.12) 1px,transparent 1px); background-size: 16px 16px; }
.rl-pin { position: absolute; font-size: 0.75rem; animation: pinFloat 3s ease-in-out infinite; }
.rl-pin:nth-child(3) { animation-delay: 1s; }
.rl-pin:nth-child(4) { animation-delay: 2s; }
@keyframes pinFloat { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-4px)} }
.rl-cards { display: flex; gap: 6px; }
.rl-card { flex: 1; border-radius: 6px; overflow: hidden; border: 1px solid var(--border); }
.rl-cimg { height: 36px; }
.rl-cp { font-size: 0.56rem; font-weight: 800; color: var(--text); padding: 3px 5px; }

/* ---- Game Mockup ---- */
.game-ui { background: #0a0012; border-radius: 12px; padding: 12px; width: 100%; max-width: 240px; border: 1px solid rgba(139,92,246,0.3); }
.game-title-bar { font-size: 0.7rem; font-weight: 800; color: #c4b5fd; margin-bottom: 8px; }
.game-monster-row { background: rgba(139,92,246,0.12); border: 1px solid rgba(139,92,246,0.2); border-radius: 7px; padding: 8px; margin-bottom: 8px; }
.gm-name { font-size: 0.65rem; font-weight: 700; color: #c4b5fd; margin-bottom: 5px; }
.gm-hp-row { display: flex; align-items: center; gap: 5px; }
.gm-hp-row span { font-family: var(--mono); font-size: 0.56rem; color: #94a3b8; }
.gm-bar { flex: 1; height: 5px; background: rgba(255,255,255,0.08); border-radius: 3px; overflow: hidden; }
.gm-fill { height: 100%; width: 62%; background: linear-gradient(90deg,#ef4444,#f87171); animation: gFill 2s infinite alternate; }
@keyframes gFill { from{width:62%} to{width:55%} }
.game-log-mini { background: rgba(0,0,0,0.5); border-radius: 6px; padding: 6px 8px; margin-bottom: 8px; }
.gl-line { font-size: 0.58rem; padding: 2px 0; }
.gl-line.hit { color: #34d399; }
.gl-line.dmg { color: #f87171; }
.gl-line.xp { color: #fbbf24; }
.gl-line b { font-weight: 800; }
.game-act-row { display: flex; gap: 5px; }
.gact { flex: 1; padding: 5px; border-radius: 5px; font-size: 0.56rem; font-weight: 700; text-align: center; cursor: pointer; }
.gact.attack { background: linear-gradient(135deg,#dc2626,#ef4444); color: white; }
.gact.dodge { background: linear-gradient(135deg,var(--blue),#3b82f6); color: white; }
.gact.flee { background: rgba(255,255,255,0.07); color: #94a3b8; border: 1px solid rgba(255,255,255,0.1); }

/* ---- Web3 Mockup ---- */
.w3-ui { background: #011810; border-radius: 12px; padding: 12px; width: 100%; max-width: 240px; border: 1px solid rgba(16,185,129,0.3); }
.w3-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; }
.w3-name { font-family: var(--mono); font-size: 0.65rem; font-weight: 700; color: #34d399; }
.w3-conn { display: flex; align-items: center; gap: 4px; font-family: var(--mono); font-size: 0.56rem; color: #6b7280; background: rgba(16,185,129,0.1); border: 1px solid rgba(16,185,129,0.2); padding: 2px 7px; border-radius: 4px; }
.w3-balance { background: linear-gradient(135deg,rgba(16,185,129,0.15),rgba(16,185,129,0.05)); border: 1px solid rgba(16,185,129,0.2); border-radius: 8px; padding: 10px 12px; margin-bottom: 8px; }
.w3-bl { font-size: 0.56rem; color: #6b7280; margin-bottom: 2px; }
.w3-bv { font-size: 1.1rem; font-weight: 800; color: white; letter-spacing: -0.03em; }
.w3-txs { display: flex; flex-direction: column; gap: 4px; margin-bottom: 6px; }
.w3-tx { display: flex; align-items: center; gap: 5px; padding: 4px 7px; background: rgba(255,255,255,0.03); border-radius: 5px; }
.w3-tx span:first-child { font-family: var(--mono); font-size: 0.56rem; color: #6b7280; flex: 1; }
.w3-amt { font-family: var(--mono); font-size: 0.6rem; color: #34d399; font-weight: 700; }
.w3-ok { font-size: 0.6rem; color: #34d399; }
.w3-net { font-family: var(--mono); font-size: 0.56rem; color: #6b7280; text-align: center; }

/* ============================
   PREMIUM GATE
============================ */
.gate-sec { background: var(--off); padding: 80px 0; }
.gate-box {
  display: grid; grid-template-columns: 1fr 380px; gap: 80px;
  align-items: center;
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 24px; padding: 60px; box-shadow: var(--card-shadow);
}
.gate-ico { font-size: 2.8rem; margin-bottom: 16px; }
.gate-left h2 { font-size: clamp(1.7rem,3.5vw,2.2rem); font-weight: 800; letter-spacing: -0.03em; margin-bottom: 14px; }
.gate-left h2 span { color: var(--blue); }
.gate-left p { color: var(--muted); font-size: 0.93rem; max-width: 460px; margin-bottom: 28px; }
.gate-list { display: flex; flex-direction: column; gap: 8px; }
.gl-item { display: flex; align-items: center; gap: 10px; font-size: 0.86rem; color: var(--muted); background: var(--off); border: 1px solid var(--border); padding: 10px 14px; border-radius: 8px; transition: all 0.2s; }
.gl-item:hover { border-color: #bfdbfe; color: var(--text); }
.gl-item span { font-size: 1rem; }
.blur-item { opacity: 0.4; filter: blur(2px); pointer-events: none; }

.gate-card { background: linear-gradient(135deg, #eff6ff, #dbeafe); border: 2px solid #bfdbfe; border-radius: 20px; padding: 32px; text-align: center; }
.gc-badge { font-size: 0.72rem; font-weight: 700; color: #f59e0b; letter-spacing: 0.05em; margin-bottom: 14px; }
.gate-card h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 10px; }
.gate-card p { color: var(--muted); font-size: 0.85rem; margin-bottom: 22px; }
.gc-note { font-size: 0.76rem; color: var(--dim); margin-top: 14px; }
.gc-note a { color: var(--blue); text-decoration: underline; cursor: pointer; font-weight: 600; }
.gc-trust { display: flex; justify-content: center; gap: 20px; margin-top: 18px; font-size: 0.75rem; color: var(--muted); font-weight: 600; }

/* ============================
   MODAL
============================ */
.modal-wrap {
  position: fixed; inset: 0; background: rgba(15,23,42,0.55);
  backdrop-filter: blur(10px); z-index: 5000;
  display: flex; align-items: center; justify-content: center; padding: 20px;
  opacity: 0; pointer-events: none; transition: opacity 0.3s;
}
.modal-wrap.active { opacity: 1; pointer-events: all; }
.modal-box {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 20px; padding: 40px; max-width: 420px; width: 100%;
  position: relative; box-shadow: 0 24px 60px rgba(15,23,42,0.18);
  transform: translateY(16px); transition: transform 0.3s;
}
.modal-wrap.active .modal-box { transform: translateY(0); }
.modal-x { position: absolute; top: 16px; right: 16px; background: none; border: none; font-size: 1rem; cursor: pointer; color: var(--muted); }
.modal-x:hover { color: var(--text); }
.modal-icon { font-size: 2rem; margin-bottom: 12px; }
.modal-box h3 { font-size: 1.3rem; font-weight: 800; margin-bottom: 6px; }
.modal-box > p { font-size: 0.85rem; color: var(--muted); margin-bottom: 22px; }

.fg { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.fg label { font-size: 0.78rem; font-weight: 700; color: var(--muted); }
.fg input, .fg textarea {
  background: var(--off); border: 1.5px solid var(--border);
  border-radius: 8px; padding: 11px 14px;
  color: var(--text); font-size: 0.9rem; font-family: var(--font);
  transition: border-color 0.2s; resize: vertical;
}
.fg input:focus, .fg textarea:focus { outline: none; border-color: var(--blue); background: var(--blue-bg); }
.m-err { display: none; font-size: 0.78rem; color: #dc2626; background: #fef2f2; border: 1px solid #fecaca; padding: 8px 12px; border-radius: 7px; margin-bottom: 10px; }
.modal-or { text-align: center; font-size: 0.78rem; color: var(--dim); margin: 14px 0; position: relative; }
.modal-or::before, .modal-or::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--border); }
.modal-or::before { left: 0; } .modal-or::after { right: 0; }

/* ============================
   PREMIUM SECTION
============================ */
.prem-sec { background: var(--off); }
.prem-grid { display: grid; grid-template-columns: repeat(auto-fit,minmax(230px,1fr)); gap: 18px; }
.prem-card { background: var(--white); border: 1.5px solid var(--border); border-radius: 16px; padding: 22px; transition: all 0.3s; display: flex; flex-direction: column; gap: 10px; box-shadow: var(--card-shadow); }
.prem-card:hover { border-color: #bfdbfe; box-shadow: var(--card-hover); transform: translateY(-4px); }
.pc-ico { width: 44px; height: 44px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.2rem; flex-shrink: 0; }
.prem-card h4 { font-size: 0.95rem; font-weight: 800; }
.prem-card p { font-size: 0.82rem; color: var(--muted); flex: 1; }

/* ============================
   TIKTOK SECTION
============================ */
.tiktok-sec { background: #000; padding: 60px 0; }
.tiktok-box {
  display: flex; align-items: center; justify-content: space-between;
  gap: 32px; flex-wrap: wrap;
}
.tt-left { display: flex; align-items: center; gap: 20px; }
.tt-icon {
  width: 60px; height: 60px; border-radius: 14px;
  background: linear-gradient(135deg,#ff0050,#000);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.tt-left h3 { font-size: 1.2rem; font-weight: 800; color: white; margin-bottom: 6px; }
.tt-left p { font-size: 0.88rem; color: rgba(255,255,255,0.6); max-width: 460px; }
.tt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 26px; background: white; color: #000;
  border-radius: 10px; font-size: 0.92rem; font-weight: 800;
  transition: all 0.2s; white-space: nowrap;
}
.tt-btn:hover { background: #f0f0f0; transform: translateY(-2px); }

/* ============================
   WHAT'S NEXT
============================ */
.next-sec { background: linear-gradient(160deg,var(--blue-bg),#ffffff); padding: 100px 0; text-align: center; }
.next-inner { max-width: 660px; margin: 0 auto; }
.next-inner p { color: var(--muted); font-size: 1rem; max-width: 520px; margin: 0 auto 36px; }

/* ============================
   CONTACT
============================ */
.contact-sec { background: var(--white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px; align-items: start; }
.contact-left p { color: var(--muted); font-size: 0.95rem; margin-bottom: 28px; }
.contact-links { display: flex; flex-direction: column; gap: 12px; }
.cl-item {
  display: flex; align-items: center; gap: 16px;
  background: var(--off); border: 1.5px solid var(--border);
  border-radius: 12px; padding: 14px 18px; transition: all 0.2s;
}
.cl-item:hover { border-color: #bfdbfe; background: var(--blue-bg); }
.cl-icon { font-size: 1.3rem; flex-shrink: 0; }
.cl-item strong { font-size: 0.85rem; font-weight: 700; }
.cl-item div p, .cl-item div { font-size: 0.78rem; color: var(--muted); }

.contact-form {
  background: var(--off); border: 1.5px solid var(--border);
  border-radius: 18px; padding: 36px;
  display: flex; flex-direction: column; gap: 0;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-ok { font-size: 0.82rem; color: #16a34a; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 10px 14px; border-radius: 7px; margin-bottom: 12px; }

/* ============================
   FOOTER
============================ */
.footer { background: var(--text); padding: 50px 0; }
.foot-inner { text-align: center; }
.f-logo { font-size: 1.5rem; font-weight: 800; color: white; letter-spacing: -0.05em; margin-bottom: 12px; }
.f-logo span { color: var(--blue-xl); }
.footer p { font-size: 0.85rem; color: rgba(255,255,255,0.5); }
.f-sub { font-size: 0.74rem !important; margin-top: 4px; }
.f-links { display: flex; justify-content: center; gap: 20px; margin-top: 18px; }
.f-links a { font-size: 0.78rem; color: rgba(255,255,255,0.4); transition: color 0.2s; }
.f-links a:hover { color: var(--blue-xl); }

/* ============================
   RESPONSIVE
============================ */
@media (max-width:1024px) {
  .hero { grid-template-columns: 1fr; text-align: center; padding: 120px 40px 80px; }
  .profile-ring { margin: 0 auto; width: 300px; height: 300px; }
  .profile-ring-inner { width: 240px; height: 240px; }
  .hero-desc { margin: 0 auto 36px; }
  .about-grid { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr 1fr; }
  .proj-card.big { grid-column: 1 / -1; grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .gate-box { grid-template-columns: 1fr; }
}

@media (max-width:768px) {
  .nav { padding: 14px 24px; }
  .nav.scrolled { padding: 10px 24px; }
  .nav-links { display: none; }
  .nav-ham { display: flex; }
  .container { padding: 0 24px; }
  .section { padding: 70px 0; }
  .hero { padding: 110px 24px 60px; gap: 40px; }
  .hero-actions { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-stats { justify-content: center; }
  .projects-grid { grid-template-columns: 1fr; }
  .proj-card.big { grid-template-columns: 1fr; }
  .proj-card.big .proj-visual { min-height: 200px; }
  .form-row { grid-template-columns: 1fr; }
  .gate-box { padding: 30px; }
  .tiktok-box { flex-direction: column; align-items: flex-start; }
  .contact-form { padding: 22px; }
  .float-badge { display: none; }
}

@media (max-width:480px) {
  .hst-div { display: none; }
}

/* ============================
   LEAD ENGINE PROJECT MOCKUP
============================ */
.pv-leads { background: linear-gradient(135deg, #fff7ed, #fffbeb); }

.leads-dash {
  background: white; border-radius: 14px; padding: 16px;
  width: 100%; max-width: 420px;
  box-shadow: 0 8px 32px rgba(194,65,12,0.12);
  border: 1px solid #fed7aa;
}

.ld-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.ld-logo { font-size: 0.82rem; font-weight: 800; color: #c2410c; }
.ld-live { display: flex; align-items: center; gap: 5px; font-size: 0.65rem; font-weight: 700; color: #16a34a; background: #f0fdf4; border: 1px solid #bbf7d0; padding: 3px 9px; border-radius: 20px; }

.ld-stats { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; margin-bottom: 12px; }
.ld-stat { background: #fff7ed; border: 1px solid #fed7aa; border-radius: 8px; padding: 8px 6px; text-align: center; }
.ld-stat.hot { background: linear-gradient(135deg,#fef2f2,#fee2e2); border-color: #fca5a5; }
.ld-sn { font-size: 0.9rem; font-weight: 800; color: #c2410c; letter-spacing: -0.03em; }
.ld-stat.hot .ld-sn { color: #dc2626; }
.ld-sl { font-size: 0.52rem; color: #9a3412; text-transform: uppercase; letter-spacing: 0.04em; }

.ld-pipeline { margin-bottom: 10px; }
.ld-pipe-label { font-size: 0.62rem; font-weight: 700; color: #9a3412; text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.ld-leads { display: flex; flex-direction: column; gap: 5px; }
.ld-lead { display: flex; align-items: center; gap: 8px; background: #fff7ed; border: 1px solid #fed7aa; border-radius: 7px; padding: 7px 10px; transition: border-color 0.2s; }
.ld-lead.hot-lead { background: #fef2f2; border-color: #fca5a5; }
.ll-av { width: 26px; height: 26px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.55rem; font-weight: 800; color: white; flex-shrink: 0; }
.ll-info { flex: 1; }
.ll-name { font-size: 0.62rem; font-weight: 700; color: #1e293b; }
.ll-detail { font-size: 0.55rem; color: #94a3b8; }
.ll-tag { font-size: 0.54rem; font-weight: 800; padding: 2px 7px; border-radius: 4px; white-space: nowrap; }
.hot-tag { background: #fef2f2; color: #dc2626; border: 1px solid #fca5a5; }
.warm-tag { background: #eff6ff; color: #2563eb; border: 1px solid #bfdbfe; }

.ld-form-preview { background: #f8fafc; border: 1px dashed #cbd5e1; border-radius: 8px; padding: 9px; }
.ld-fp-label { font-size: 0.58rem; color: #64748b; margin-bottom: 6px; font-weight: 600; }
.ld-fp-row { display: flex; gap: 5px; margin-bottom: 5px; }
.ld-fp-field { flex: 1; background: white; border: 1px solid #e2e8f0; border-radius: 4px; padding: 4px 7px; font-size: 0.55rem; color: #94a3b8; }
.ld-fp-field.wide { flex: 2; }
.ld-fp-btn { background: #c2410c; color: white; border-radius: 5px; padding: 5px; text-align: center; font-size: 0.6rem; font-weight: 700; }

/* ============================
   TESTIMONIALS SECTION
============================ */
.testi-sec { background: var(--off); }

.testi-stats {
  display: flex; align-items: center; justify-content: center;
  gap: 40px; flex-wrap: wrap;
  background: white; border: 1.5px solid var(--border);
  border-radius: 16px; padding: 28px 40px;
  margin-bottom: 56px;
  box-shadow: var(--card-shadow);
}
.ts-item { text-align: center; }
.ts-n { font-size: 2rem; font-weight: 800; color: var(--blue); letter-spacing: -0.04em; line-height: 1; }
.ts-l { font-size: 0.72rem; color: var(--dim); font-family: var(--mono); text-transform: uppercase; letter-spacing: 0.08em; margin-top: 4px; }
.ts-div { width: 1px; height: 44px; background: var(--border2); }

.testi-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 56px;
}
.testi-card.featured { grid-column: 1 / -1; }

.testi-card {
  background: var(--white); border: 1.5px solid var(--border);
  border-radius: 18px; padding: 28px;
  box-shadow: var(--card-shadow);
  transition: all 0.3s; position: relative;
  display: flex; flex-direction: column; gap: 16px;
}
.testi-card:hover { border-color: #bfdbfe; box-shadow: var(--card-hover); transform: translateY(-4px); }
.testi-card.featured { background: linear-gradient(135deg, #eff6ff, #f0f9ff); border-color: #bfdbfe; }

.tc-quote {
  font-size: 4rem; font-weight: 800; color: #bfdbfe;
  line-height: 0.6; margin-bottom: 4px; font-family: Georgia, serif;
}
.testi-card.featured .tc-quote { color: var(--blue); opacity: 0.3; }

.tc-text {
  color: var(--muted); font-size: 0.92rem; line-height: 1.75;
  flex: 1; font-style: italic;
}
.testi-card.featured .tc-text { font-size: 1rem; color: #334155; }

.tc-footer {
  display: flex; align-items: center; gap: 12px;
  padding-top: 16px; border-top: 1px solid var(--border);
}
.tc-av {
  width: 44px; height: 44px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.82rem; font-weight: 800; color: white; flex-shrink: 0;
}
.tc-info { flex: 1; display: flex; flex-direction: column; gap: 1px; }
.tc-info strong { font-size: 0.92rem; font-weight: 700; color: var(--text); }
.tc-info span { font-size: 0.75rem; color: var(--muted); }
.tc-location { color: var(--dim) !important; font-size: 0.7rem !important; }

.tc-result {
  font-family: var(--mono); font-size: 0.68rem; font-weight: 700;
  background: #f0fdf4; border: 1px solid #bbf7d0;
  color: #15803d; padding: 4px 10px; border-radius: 6px;
  white-space: nowrap; text-align: center;
}

.tc-stars {
  font-size: 0.85rem; color: #f59e0b; letter-spacing: 2px;
}

.testi-cta {
  text-align: center; padding: 48px 0 10px;
}
.testi-cta p {
  font-size: 1.1rem; font-weight: 600; color: var(--text);
  margin-bottom: 20px;
}

@media (max-width: 1024px) {
  .testi-grid { grid-template-columns: 1fr 1fr; }
  .testi-card.featured { grid-column: 1 / -1; }
}
@media (max-width: 768px) {
  .testi-grid { grid-template-columns: 1fr; }
  .testi-stats { gap: 20px; padding: 20px; }
  .ts-div { display: none; }
}