/* ============ AK Rasel — portfolio ============ */
:root {
  --bg: #06060b;
  --bg-2: #0d0d17;
  --card: rgba(255, 255, 255, 0.04);
  --card-hi: rgba(255, 255, 255, 0.07);
  --line: rgba(255, 255, 255, 0.09);
  --text: #f6f5ff;
  --muted: #a9a7c4;
  --violet: #8b5cf6;
  --pink: #ff3d9a;
  --amber: #ffb547;
  --cyan: #22e3ff;
  --lime: #b6ff3b;
  --grad: linear-gradient(110deg, #8b5cf6 0%, #ff3d9a 45%, #ffb547 100%);
  --grad-loop: linear-gradient(110deg, #8b5cf6, #ff3d9a, #ffb547, #ff3d9a, #8b5cf6);
  --grad-cool: linear-gradient(110deg, #22e3ff 0%, #8b5cf6 60%, #ff3d9a 100%);
  --radius: 26px;
  --font-en: "Plus Jakarta Sans", system-ui, sans-serif;
  --font-display: "Space Grotesk", "Plus Jakarta Sans", system-ui, sans-serif;
  --font-bn: "Anek Bangla", "Hind Siliguri", system-ui, sans-serif;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-en);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
html[lang="bn"] body { font-family: var(--font-bn); line-height: 1.7; }
html[lang="bn"] .display, html[lang="bn"] h1, html[lang="bn"] h2, html[lang="bn"] h3 { font-family: var(--font-bn); letter-spacing: 0; }

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
::selection { background: var(--pink); color: #fff; }

.container { width: min(1180px, 100% - 40px); margin-inline: auto; }

/* ---------- background ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -2; overflow: hidden; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); opacity: 0.55; animation: float 18s var(--ease) infinite alternate; }
.orb.o1 { width: 520px; height: 520px; background: #6d28d9; top: -160px; left: -120px; }
.orb.o2 { width: 460px; height: 460px; background: #db2777; top: 30%; right: -160px; animation-delay: -6s; }
.orb.o3 { width: 380px; height: 380px; background: #f59e0b; bottom: -140px; left: 30%; opacity: 0.35; animation-delay: -12s; }
@keyframes float {
  0% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(60px, 40px) scale(1.1); }
  100% { transform: translate(-40px, 80px) scale(0.95); }
}
.bg-grid {
  position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse at 50% 0%, #000 30%, transparent 75%);
}
.cursor-glow {
  position: fixed; width: 420px; height: 420px; border-radius: 50%; pointer-events: none; z-index: -1;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.22), transparent 65%);
  transform: translate(-50%, -50%); transition: opacity .3s; opacity: 0;
}

/* ---------- nav ---------- */
.nav {
  position: fixed; top: 14px; left: 50%; transform: translateX(-50%); z-index: 50;
  width: min(1180px, 100% - 24px);
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 10px 10px 10px 20px; border-radius: 999px;
  background: rgba(10, 10, 20, 0.6); border: 1px solid var(--line);
  backdrop-filter: blur(18px) saturate(160%); -webkit-backdrop-filter: blur(18px) saturate(160%);
  transition: background .3s;
}
.brand { display: flex; align-items: center; gap: 10px; font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; }
.brand-mark {
  width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center;
  background: var(--grad); color: #fff; font-size: .9rem; font-weight: 800; box-shadow: 0 6px 24px rgba(255, 61, 154, .4);
}
.nav-links { display: flex; gap: 4px; list-style: none; }
.nav-links a { padding: 8px 14px; border-radius: 999px; color: var(--muted); font-size: .92rem; font-weight: 500; transition: color .2s, background .2s; }
.nav-links a:hover, .nav-links a.active { color: var(--text); background: var(--card-hi); }
.nav-right { display: flex; align-items: center; gap: 8px; }

.lang-toggle {
  position: relative; display: flex; padding: 4px; border-radius: 999px; background: rgba(255,255,255,0.06); border: 1px solid var(--line); cursor: pointer;
}
.lang-toggle button {
  position: relative; z-index: 1; border: 0; background: none; color: var(--muted); cursor: pointer;
  font: 600 .82rem var(--font-en); padding: 6px 12px; border-radius: 999px; transition: color .25s;
}
.lang-toggle button[data-lang="bn"] { font-family: var(--font-bn); font-size: .9rem; }
.lang-toggle button.on { color: #0b0b12; }
.lang-toggle .pill {
  position: absolute; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 999px;
  background: #fff; transition: transform .35s var(--ease);
}
.lang-toggle.bn .pill { transform: translateX(100%); }

.menu-btn { display: none; width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line); background: var(--card-hi); color: var(--text); cursor: pointer; }
.menu-btn span { display: block; width: 16px; height: 2px; background: currentColor; margin: 4px auto; border-radius: 2px; transition: transform .3s; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px; padding: 14px 24px; border-radius: 999px;
  font-weight: 700; font-size: .98rem; border: 1px solid transparent; cursor: pointer; transition: transform .25s var(--ease), box-shadow .25s, background .25s;
}
.btn:hover { transform: translateY(-3px); }
.btn-primary { background: var(--grad-loop); background-size: 200% 100%; color: #fff; box-shadow: 0 10px 40px -8px rgba(255, 61, 154, .6); animation: shift 6s linear infinite; }
.btn-ghost { background: var(--card); border-color: var(--line); color: var(--text); }
.btn-ghost:hover { background: var(--card-hi); }
.btn svg { width: 18px; height: 18px; }
@keyframes shift { to { background-position: 200% 0; } }

/* ---------- type ---------- */
.display { font-family: var(--font-display); font-weight: 700; letter-spacing: -0.03em; line-height: 1.02; }
.grad-text { background: var(--grad-loop); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shift 8s linear infinite; }
.grad-cool { background: var(--grad-cool); -webkit-background-clip: text; background-clip: text; color: transparent; }
.eyebrow {
  display: inline-flex; align-items: center; gap: 8px; padding: 7px 14px; border-radius: 999px;
  border: 1px solid var(--line); background: var(--card); font-size: .82rem; font-weight: 600; color: var(--muted); letter-spacing: .02em;
}
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--lime); box-shadow: 0 0 0 0 rgba(182,255,59,.6); animation: ping 2s infinite; }
@keyframes ping { 70% { box-shadow: 0 0 0 10px rgba(182,255,59,0); } 100% { box-shadow: 0 0 0 0 rgba(182,255,59,0); } }

section { padding: 110px 0; position: relative; }
.section-head { max-width: 720px; margin-bottom: 56px; }
.section-head h2 { font-size: clamp(2.1rem, 5vw, 3.6rem); margin: 18px 0 14px; }
.section-head p { color: var(--muted); font-size: 1.08rem; }

/* ---------- hero ---------- */
.hero { min-height: 100svh; display: flex; align-items: center; padding-top: 130px; }
.hero-grid { display: grid; grid-template-columns: 1.25fr 1fr; gap: 60px; align-items: center; }
.hero h1 { font-size: clamp(2.8rem, 7.4vw, 6rem); margin: 22px 0 8px; }
.hero .role { font-size: clamp(1.25rem, 2.6vw, 1.9rem); font-weight: 600; color: var(--muted); min-height: 1.6em; }
.hero .role .typed { color: var(--text); border-right: 3px solid var(--pink); padding-right: 4px; animation: caret 1s step-end infinite; }
@keyframes caret { 50% { border-color: transparent; } }
.hero .lead { margin: 22px 0 34px; color: var(--muted); font-size: 1.12rem; max-width: 560px; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; }

.hero-card { position: relative; aspect-ratio: 1 / 1.08; }
.avatar-ring {
  position: absolute; inset: 0; border-radius: 40px; padding: 2px; overflow: hidden;
}
.avatar-ring::before {
  content: ""; position: absolute; inset: -50%;
  background: conic-gradient(#8b5cf6, #ff3d9a, #ffb547, #22e3ff, #8b5cf6);
  animation: rotate 6s linear infinite;
}
.avatar-inner {
  position: relative; width: 100%; height: 100%; border-radius: 38px; overflow: hidden;
  background: radial-gradient(circle at 30% 20%, #2a1a5e, #0b0b16 70%); display: grid; place-items: center;
}
.monogram { font-family: var(--font-display); font-weight: 800; font-size: clamp(6rem, 16vw, 11rem); letter-spacing: -0.06em; line-height: 1; }
.avatar-inner::after {
  content: ""; position: absolute; inset: 0;
  background: conic-gradient(from 0deg, transparent, rgba(255,255,255,.08), transparent 30%);
  animation: rotate 8s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.float-chip {
  position: absolute; display: flex; align-items: center; gap: 10px; padding: 12px 16px; border-radius: 18px;
  background: rgba(16, 16, 30, .82); border: 1px solid var(--line); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  font-size: .88rem; font-weight: 600; box-shadow: 0 20px 50px -20px rgba(0,0,0,.8); animation: bob 5s ease-in-out infinite; z-index: 2;
}
.float-chip .ic { width: 34px; height: 34px; border-radius: 11px; display: grid; place-items: center; font-size: 1.1rem; }
.float-chip small { display: block; color: var(--muted); font-weight: 500; font-size: .74rem; }
.chip-a { top: 8%; left: -12%; }
.chip-b { bottom: 14%; right: -10%; animation-delay: -2.5s; }
.chip-c { bottom: -4%; left: 6%; animation-delay: -1.2s; }
@keyframes bob { 50% { transform: translateY(-12px); } }

.scroll-hint { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid var(--line); border-radius: 20px; }
.scroll-hint::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; border-radius: 4px; background: var(--text); transform: translateX(-50%); animation: wheel 1.8s infinite; }
@keyframes wheel { to { transform: translate(-50%, 14px); opacity: 0; } }

/* ---------- marquee ---------- */
.marquee { border-block: 1px solid var(--line); padding: 22px 0; overflow: hidden; background: rgba(255,255,255,.015); }
.marquee-track { display: flex; gap: 56px; width: max-content; animation: marquee 32s linear infinite; }
.marquee span { font-family: var(--font-display); font-size: 1.5rem; font-weight: 600; color: var(--muted); white-space: nowrap; display: flex; align-items: center; gap: 56px; }
.marquee span::after { content: "✦"; color: var(--pink); font-size: 1rem; }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- cards / grid ---------- */
.card {
  position: relative; border-radius: var(--radius); background: var(--card); border: 1px solid var(--line);
  padding: 30px; overflow: hidden; transition: transform .4s var(--ease), border-color .3s, background .3s;
}
.card::before {
  content: ""; position: absolute; inset: 0; border-radius: inherit; pointer-events: none; opacity: 0; transition: opacity .3s;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 50%), rgba(255,255,255,.08), transparent 45%);
}
.card:hover { border-color: rgba(255,255,255,.18); background: var(--card-hi); }
.card:hover::before { opacity: 1; }

.about-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 22px; }
.about-main p { color: var(--muted); font-size: 1.08rem; margin-bottom: 16px; }
.about-main p strong { color: var(--text); font-weight: 600; }
.stats { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.stat { display: flex; flex-direction: column; justify-content: space-between; min-height: 160px; }
.stat .num { font-family: var(--font-display); font-size: 3.2rem; font-weight: 700; line-height: 1; }
.stat .lbl { color: var(--muted); font-weight: 500; }
.stat:nth-child(1) .num { color: var(--amber); }
.stat:nth-child(2) .num { color: var(--pink); }
.stat:nth-child(3) .num { color: var(--cyan); }
.stat:nth-child(4) .num { color: var(--lime); }

.values { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 24px; }
.tag { padding: 8px 14px; border-radius: 999px; font-size: .86rem; font-weight: 600; background: rgba(255,255,255,.06); border: 1px solid var(--line); }

.services { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.service .ic {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 26px; font-size: 1.6rem;
}
.service h3 { font-size: 1.22rem; margin-bottom: 10px; font-family: var(--font-display); }
.service p { color: var(--muted); font-size: .96rem; }
.ic-violet { background: rgba(139,92,246,.18); box-shadow: inset 0 0 0 1px rgba(139,92,246,.4); }
.ic-pink { background: rgba(255,61,154,.16); box-shadow: inset 0 0 0 1px rgba(255,61,154,.4); }
.ic-amber { background: rgba(255,181,71,.16); box-shadow: inset 0 0 0 1px rgba(255,181,71,.4); }
.ic-cyan { background: rgba(34,227,255,.14); box-shadow: inset 0 0 0 1px rgba(34,227,255,.4); }
.ic-lime { background: rgba(182,255,59,.14); box-shadow: inset 0 0 0 1px rgba(182,255,59,.4); }

/* skills */
.skills { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.skill-group h3 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.skill-group h3 i { width: 10px; height: 10px; border-radius: 3px; display: inline-block; }
.skill-list { display: flex; flex-wrap: wrap; gap: 8px; }
.skill-list span { padding: 8px 13px; border-radius: 12px; font-size: .88rem; font-weight: 600; background: rgba(255,255,255,.05); border: 1px solid var(--line); transition: transform .2s, background .2s; }
.skill-list span:hover { transform: translateY(-2px); background: rgba(255,255,255,.1); }

/* projects */
.projects { display: grid; grid-template-columns: repeat(6, 1fr); gap: 22px; }
.project { display: flex; flex-direction: column; min-height: 340px; }
.project.feature { grid-column: span 6; display: grid; grid-template-columns: 1.1fr 1fr; gap: 30px; align-items: center; padding: 40px; min-height: auto;
  background: linear-gradient(135deg, rgba(139,92,246,.18), rgba(255,61,154,.1) 50%, rgba(255,181,71,.08)); }
.project.half { grid-column: span 3; }
.project .badge { align-self: flex-start; display: inline-flex; align-items: center; gap: 8px; padding: 6px 12px; border-radius: 999px; font-size: .76rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.badge-soon { background: rgba(182,255,59,.14); color: var(--lime); border: 1px solid rgba(182,255,59,.35); }
.badge-live { background: rgba(34,227,255,.12); color: var(--cyan); border: 1px solid rgba(34,227,255,.35); }
.project h3 { font-family: var(--font-display); font-size: clamp(1.5rem, 3vw, 2.4rem); margin: 18px 0 12px; line-height: 1.1; }
.project.half h3 { font-size: 1.5rem; }
.project p { color: var(--muted); }
.project .stack { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 26px; }
.project .stack span { font-size: .8rem; font-weight: 600; padding: 5px 11px; border-radius: 999px; background: rgba(255,255,255,.07); }
.project .more { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font-weight: 700; color: var(--text); }
.project .more svg { width: 18px; transition: transform .3s var(--ease); }
.project:hover .more svg { transform: translateX(6px); }
.project-visual { height: 150px; border-radius: 18px; margin-bottom: 22px; position: relative; overflow: hidden; }
.pv-hotel { background: linear-gradient(135deg, #0ea5e9, #6366f1); }
.pv-next { background: linear-gradient(135deg, #111, #333); }
.pv-hotel::after, .pv-next::after {
  content: ""; position: absolute; inset: 18px; border-radius: 12px; background:
    linear-gradient(rgba(255,255,255,.9), rgba(255,255,255,.9)) 16px 16px / 40% 10px no-repeat,
    linear-gradient(rgba(255,255,255,.4), rgba(255,255,255,.4)) 16px 36px / 60% 8px no-repeat,
    linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)) 16px 70px / 28% 40px no-repeat,
    linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)) 36% 70px / 28% 40px no-repeat,
    linear-gradient(rgba(255,255,255,.25), rgba(255,255,255,.25)) 68% 70px / 26% 40px no-repeat,
    rgba(255,255,255,.12);
}
.pv-next::after { background:
    linear-gradient(#fff, #fff) 16px 16px / 34px 34px no-repeat,
    linear-gradient(rgba(255,255,255,.7), rgba(255,255,255,.7)) 64px 20px / 40% 9px no-repeat,
    linear-gradient(rgba(255,255,255,.3), rgba(255,255,255,.3)) 64px 36px / 30% 7px no-repeat,
    linear-gradient(90deg, #8b5cf6, #ff3d9a) 16px 72px / calc(100% - 32px) 6px no-repeat,
    rgba(255,255,255,.06); }

/* process */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; counter-reset: step; }
.step { padding-top: 70px; }
.step::after { counter-increment: step; content: "0" counter(step); position: absolute; top: 24px; left: 30px; font-family: var(--font-display); font-size: 2rem; font-weight: 700; }
.step:nth-child(1)::after { color: var(--violet); }
.step:nth-child(2)::after { color: var(--pink); }
.step:nth-child(3)::after { color: var(--amber); }
.step:nth-child(4)::after { color: var(--cyan); }
.step h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.step p { color: var(--muted); font-size: .95rem; }

/* contact */
.contact-box {
  text-align: center; padding: clamp(50px, 8vw, 100px) 30px; border-radius: 40px; position: relative; overflow: hidden;
  background: radial-gradient(circle at 50% 0%, rgba(139,92,246,.35), transparent 60%), var(--bg-2); border: 1px solid var(--line);
}
.contact-box h2 { font-size: clamp(2.3rem, 6vw, 4.6rem); margin: 20px auto 18px; max-width: 900px; }
.contact-box p { color: var(--muted); font-size: 1.1rem; max-width: 580px; margin: 0 auto 34px; }
.contact-box .hero-cta { justify-content: center; }

footer { padding: 40px 0 50px; color: var(--muted); font-size: .9rem; }
.foot { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 16px; border-top: 1px solid var(--line); padding-top: 30px; }
.foot a:hover { color: var(--text); }

/* ---------- reveal ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity .9s var(--ease), transform .9s var(--ease); transition-delay: var(--d, 0s); }
.reveal.in { opacity: 1; transform: none; }

/* ============ Cattle Manager page ============ */
.cm-hero { padding-top: 150px; padding-bottom: 60px; }
.cm-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 60px; align-items: center; }
.cm-hero h1 { font-size: clamp(2.8rem, 7vw, 5.6rem); margin: 22px 0 18px; }
.cm-hero .lead { color: var(--muted); font-size: 1.15rem; max-width: 580px; margin-bottom: 30px; }
.progress-wrap { max-width: 520px; margin-bottom: 34px; }
.progress-top { display: flex; justify-content: space-between; font-weight: 600; font-size: .92rem; margin-bottom: 10px; }
.progress-top b { color: var(--lime); }
.progress { height: 12px; border-radius: 999px; background: rgba(255,255,255,.07); overflow: hidden; border: 1px solid var(--line); }
.progress i { display: block; height: 100%; width: 0; border-radius: inherit; background: linear-gradient(90deg, var(--lime), var(--cyan)); transition: width 2s var(--ease); box-shadow: 0 0 20px rgba(182,255,59,.5); }

/* phone */
.phone-stage { position: relative; display: grid; place-items: center; }
.phone-stage::before { content: ""; position: absolute; width: 80%; aspect-ratio: 1; border-radius: 50%; background: var(--grad); filter: blur(80px); opacity: .45; }
.phone {
  position: relative; width: min(300px, 78vw); aspect-ratio: 9 / 19; border-radius: 46px; padding: 12px; background: #15151f;
  box-shadow: 0 0 0 2px #2b2b3a, 0 40px 100px -30px rgba(0,0,0,.9), inset 0 0 0 1px rgba(255,255,255,.06);
  transform: rotate(-6deg); animation: phone 7s ease-in-out infinite;
}
@keyframes phone { 50% { transform: rotate(-3deg) translateY(-14px); } }
.screen { width: 100%; height: 100%; border-radius: 36px; overflow: hidden; background: #efeaff; color: #1b1530; padding: 34px 14px 14px; position: relative; font-family: var(--font-en); }
html[lang="bn"] .screen { font-family: var(--font-bn); }
.notch { position: absolute; top: 10px; left: 50%; transform: translateX(-50%); width: 90px; height: 24px; border-radius: 20px; background: #15151f; }
.scr-head { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; }
.scr-head small { font-size: .62rem; color: #6b6488; display: block; }
.scr-head b { font-size: .95rem; }
.scr-av { width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(135deg, #7357f6, #ff8fb1); }
.scr-hero { border-radius: 20px; padding: 14px; color: #fff; background: linear-gradient(135deg, #7357f6, #c86dd7 55%, #ffb36b); margin-bottom: 10px; }
.scr-hero small { font-size: .62rem; opacity: .85; }
.scr-hero .big { font-size: 1.7rem; font-weight: 800; line-height: 1.1; margin: 2px 0 6px; }
.scr-bars { display: flex; align-items: flex-end; gap: 5px; height: 36px; }
.scr-bars i { flex: 1; background: rgba(255,255,255,.55); border-radius: 4px; animation: bar 2.4s ease-in-out infinite alternate; }
.scr-bars i:nth-child(odd) { animation-delay: -1s; }
@keyframes bar { from { transform: scaleY(.5); } to { transform: scaleY(1); } }
.scr-bars i { transform-origin: bottom; }
.scr-row { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 10px; }
.scr-tile { background: #fff; border-radius: 16px; padding: 10px; }
.scr-tile small { font-size: .58rem; color: #6b6488; }
.scr-tile b { display: block; font-size: 1rem; }
.scr-tile .ti { width: 22px; height: 22px; border-radius: 8px; display: grid; place-items: center; font-size: .7rem; margin-bottom: 6px; }
.scr-list { background: #fff; border-radius: 16px; padding: 8px 10px; }
.scr-item { display: flex; align-items: center; gap: 8px; padding: 6px 0; font-size: .66rem; border-bottom: 1px solid #f0edf8; }
.scr-item:last-child { border: 0; }
.scr-item .cow { width: 26px; height: 26px; border-radius: 9px; display: grid; place-items: center; background: #f3efff; font-size: .8rem; }
.scr-item b { display: block; font-size: .72rem; }
.scr-item em { margin-left: auto; font-style: normal; font-weight: 700; padding: 3px 7px; border-radius: 999px; font-size: .56rem; }
.scr-tab { position: absolute; left: 14px; right: 14px; bottom: 12px; height: 42px; border-radius: 999px; background: #1b1530; display: flex; align-items: center; justify-content: space-around; padding: 0 6px; }
.scr-tab i { width: 18px; height: 18px; border-radius: 6px; background: rgba(255,255,255,.3); }
.scr-tab i.on { width: 62px; height: 30px; border-radius: 999px; background: #7357f6; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.feature-card p { color: var(--muted); font-size: .95rem; }
.feature-card .ic { width: 52px; height: 52px; border-radius: 16px; display: grid; place-items: center; font-size: 1.45rem; margin-bottom: 20px; }

.why { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.why .card p { color: var(--muted); font-size: 1.04rem; }
.why .card h3 { font-family: var(--font-display); font-size: 1.5rem; margin-bottom: 12px; }

.timeline { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; position: relative; }
.tl { position: relative; }
.tl .when { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 14px; display: inline-flex; align-items: center; gap: 8px; }
.tl .when::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: currentColor; }
.tl.done .when { color: var(--lime); }
.tl.now .when { color: var(--amber); }
.tl.next .when { color: var(--muted); }
.tl h3 { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.tl p { color: var(--muted); font-size: .94rem; }

.notify { display: flex; gap: 10px; max-width: 480px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }

/* ---------- responsive ---------- */
@media (max-width: 1000px) {
  .hero-grid, .cm-grid, .about-grid, .project.feature { grid-template-columns: 1fr; }
  .hero-card { max-width: 420px; margin: 20px auto 0; width: 100%; }
  .services, .process, .timeline { grid-template-columns: 1fr 1fr; }
  .skills, .features { grid-template-columns: 1fr 1fr; }
  .project.half { grid-column: span 6; }
}
@media (max-width: 760px) {
  section { padding: 80px 0; }
  .nav-links {
    position: fixed; top: 74px; left: 12px; right: 12px; flex-direction: column; padding: 12px; border-radius: 24px;
    background: rgba(12,12,22,.96); border: 1px solid var(--line); opacity: 0; pointer-events: none; transform: translateY(-10px); transition: .3s var(--ease);
  }
  .nav-links.open { opacity: 1; pointer-events: auto; transform: none; }
  .nav-links a { display: block; padding: 14px 16px; font-size: 1rem; }
  .menu-btn { display: block; }
  .services, .process, .skills, .features, .timeline, .why, .stats { grid-template-columns: 1fr; }
  .stats { grid-template-columns: 1fr 1fr; }
  .chip-a { left: -2%; } .chip-b { right: -2%; }
  .project.feature { padding: 28px; }
  .brand-name { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
}
