@import url('https://fonts.googleapis.com/css2?family=Space+Mono:ital,wght@0,400;0,700;1,400&family=Bebas+Neue&family=DM+Sans:wght@300;400;500;700&display=swap');

:root {
  --bg: #080810; --bg2: #0c0c18; --bg3: #10101a;
  --card: #121220; --border: #1e1e32;
  --v: #7c3aed; --vl: #a78bfa; --vd: #3b1f6e; --vg: rgba(124,58,237,.14);
  --grey: #8888a0; --gl: #d4d4e8; --gd: #2e2e48; --white: #f0f0f8; --acc: #c4b5fd;
  --mono: 'Space Mono', monospace; --display: 'Bebas Neue', cursive; --body: 'DM Sans', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--white); font-family: var(--body); overflow-x: hidden; cursor: none; }

/* ── CURSOR ── */
#cursor {
  position: fixed; width: 10px; height: 10px; background: var(--v);
  border-radius: 50%; pointer-events: none; z-index: 99999;
  transform: translate(-50%,-50%); transition: width .2s, height .2s, background .2s;
  mix-blend-mode: screen;
}
#cursor-trail {
  position: fixed; width: 34px; height: 34px;
  border: 1px solid rgba(124,58,237,.35); border-radius: 50%;
  pointer-events: none; z-index: 99998; transform: translate(-50%,-50%);
}
body:has(a:hover) #cursor, body:has(button:hover) #cursor { width: 18px; height: 18px; background: var(--acc); }
body:has(a:hover) #cursor-trail, body:has(button:hover) #cursor-trail { width: 50px; height: 50px; border-color: var(--acc); }

/* ── NOISE ── */
body::after {
  content: ''; position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9998;
}

/* ── GLYPH CANVAS ── */
#ambient-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%;
  pointer-events: none; z-index: 0;
}

::-webkit-scrollbar { width: 3px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--vd); }

/* ── FIXED NAVBAR ── */
#main-nav {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  height: 62px; background: rgba(8,8,16,.82); backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--border);
  display: flex; align-items: center; padding: 0 2rem; gap: 2.5rem;
}
.nav-logo {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .18em;
  color: var(--acc); text-decoration: none; flex-shrink: 0; transition: color .2s; cursor: none;
}
.nav-logo:hover { color: var(--white); }

.nav-links { display: flex; align-items: center; gap: .25rem; flex: 1; }

.nav-link {
  font-family: var(--mono); font-size: .65rem; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; color: var(--grey);
  padding: .45rem .85rem; border-radius: 3px; border: 1px solid transparent;
  transition: color .22s, border-color .22s, background .22s;
  position: relative; cursor: none;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 4px; left: 50%; right: 50%;
  height: 1px; background: var(--v); transition: left .25s, right .25s;
}
.nav-link:hover { color: var(--acc); border-color: var(--border); background: var(--vg); }
.nav-link:hover::after { left: 14%; right: 14%; }
.nav-link.active { color: var(--acc); border-color: var(--vd); background: rgba(124,58,237,.08); }
.nav-link.active::after { left: 14%; right: 14%; }

/* BURGER */
#nav-burger {
  display: none; flex-direction: column; align-items: center; justify-content: center; gap: 5px;
  width: 40px; height: 40px; background: var(--card); border: 1px solid var(--border);
  border-radius: 3px; cursor: none; margin-left: auto; transition: border-color .3s;
}
#nav-burger:hover { border-color: var(--v); }
#nav-burger span {
  display: block; width: 18px; height: 1.5px; background: var(--white);
  transition: transform .35s, opacity .3s, width .3s; transform-origin: center;
}
#nav-burger.open span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
#nav-burger.open span:nth-child(2) { opacity: 0; width: 0; }
#nav-burger.open span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

#mobile-menu {
  position: fixed; top: 62px; left: 0; right: 0; z-index: 999;
  background: rgba(8,8,16,.97); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  display: flex; flex-direction: column; overflow: hidden; max-height: 0;
  transition: max-height .4s cubic-bezier(.77,0,.18,1);
}
#mobile-menu.open { max-height: 400px; }
#mobile-menu a {
  font-family: var(--mono); font-size: .72rem; letter-spacing: .1em;
  text-transform: uppercase; text-decoration: none; color: var(--grey);
  padding: 1rem 2rem; border-bottom: 1px solid var(--border);
  transition: color .2s, background .2s; cursor: none;
}
#mobile-menu a:last-child { border-bottom: none; }
#mobile-menu a:hover { color: var(--acc); background: var(--vg); }

@media (max-width: 760px) { .nav-links { display: none; } #nav-burger { display: flex; } }

/* ── COMMON SECTION ── */
section { padding: 5.5rem 2rem; scroll-margin-top: 62px; position: relative; z-index: 1; }
.si { max-width: 1100px; margin: 0 auto; }

.ey {
  font-family: var(--mono); font-size: .6rem; letter-spacing: .2em;
  text-transform: uppercase; color: var(--vl);
  display: flex; align-items: center; gap: .6rem; margin-bottom: .4rem;
}
.ey::before { content: ''; width: 16px; height: 1px; background: var(--v); }

.st {
  font-family: var(--display); font-size: clamp(2.4rem, 5.5vw, 4.2rem);
  letter-spacing: .04em; color: var(--white); margin-bottom: 3.2rem; line-height: 1;
}
.st span { color: var(--acc); }

hr.dv { border: none; border-top: 1px solid var(--border); margin: 0 2rem; position: relative; z-index: 1; }

/* ── HERO ── */
#hero {
  min-height: 100vh; display: flex; flex-direction: column; justify-content: center;
  padding: 100px 2rem 4rem; position: relative; overflow: hidden;
}
.h-scanline {
  position: absolute; inset: 0;
  background: repeating-linear-gradient(0deg, transparent, transparent 3px, rgba(0,0,0,.07) 3px, rgba(0,0,0,.07) 4px);
  pointer-events: none;
}
.h-inner { max-width: 1100px; margin: 0 auto; width: 100%; position: relative; }
.h-eyebrow {
  font-family: var(--mono); font-size: .65rem; letter-spacing: .2em;
  color: var(--vl); text-transform: uppercase; margin-bottom: 1.5rem;
  display: flex; align-items: center; gap: .8rem;
}
.h-eyebrow::before { content: ''; width: 30px; height: 1px; background: var(--v); }
.h-name {
  font-family: var(--display); font-size: clamp(4rem, 12vw, 10rem);
  line-height: .88; letter-spacing: .04em; color: var(--white); margin-bottom: .5rem;
}
.h-name em { font-style: normal; -webkit-text-stroke: 1px var(--acc); -webkit-text-fill-color: transparent; color: transparent; }
.h-role {
  font-family: var(--mono); font-size: clamp(.82rem, 2vw, .95rem);
  color: var(--grey); margin-bottom: 2.5rem;
  display: flex; align-items: center; gap: .8rem; flex-wrap: wrap;
}
.h-role span { color: var(--vl); }
.h-role::after { content: ''; flex: 1; height: 1px; background: var(--border); min-width: 40px; max-width: 100px; }
.h-desc { max-width: 480px; color: var(--grey); font-size: .9rem; line-height: 1.8; margin-bottom: 3rem; font-weight: 300; }
.h-cta { display: flex; gap: 1rem; flex-wrap: wrap; }

.btn {
  font-family: var(--mono); font-size: .68rem; letter-spacing: .1em;
  text-transform: uppercase; padding: .72rem 1.6rem; text-decoration: none;
  border-radius: 3px; transition: all .3s; cursor: none;
  display: inline-flex; align-items: center; gap: .5rem;
}
.btn-p { background: var(--v); color: #fff; border: 1px solid var(--v); }
.btn-p:hover { background: #6d28d9; box-shadow: 0 0 32px rgba(124,58,237,.45); }
.btn-o { background: transparent; color: var(--acc); border: 1px solid var(--vd); }
.btn-o:hover { border-color: var(--v); background: var(--vg); }

.h-stats { position: absolute; right: 0; bottom: 4rem; display: flex; flex-direction: column; gap: 2rem; font-family: var(--mono); }
.h-stat-v { font-size: 2rem; font-weight: 700; color: var(--white); line-height: 1; }
.h-stat-l { font-size: .56rem; color: var(--grey); letter-spacing: .12em; text-transform: uppercase; }
@media (max-width: 900px) { .h-stats { display: none; } }

/* ── CV ── */
#cv { background: rgba(12,12,24,.85); }
.cv-g { display: grid; grid-template-columns: 1fr 1fr; gap: 3rem; }
@media (max-width: 720px) { .cv-g { grid-template-columns: 1fr; } }
.cv-ch { font-family: var(--mono); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; color: var(--vl); padding-bottom: .55rem; border-bottom: 1px solid var(--border); margin-bottom: 1.5rem; }
.cv-it { padding-left: 1.2rem; margin-bottom: 1.8rem; position: relative; }
.cv-it::before { content: ''; position: absolute; left: 0; top: .55rem; width: 4px; height: 4px; border-radius: 50%; background: var(--v); }
.cv-dt { font-family: var(--mono); font-size: .6rem; color: var(--vl); letter-spacing: .08em; margin-bottom: .2rem; }
.cv-nm { font-size: .98rem; font-weight: 700; color: var(--white); margin-bottom: .15rem; }
.cv-sb { font-size: .8rem; color: var(--grey); }
.sk-w { display: flex; flex-wrap: wrap; gap: .42rem; margin-top: .8rem; }
.sk { font-family: var(--mono); font-size: .6rem; letter-spacing: .04em; padding: .26rem .68rem; border: 1px solid var(--border); border-radius: 2px; color: var(--gl); background: var(--card); cursor: none; transition: all .2s; }
.sk:hover { border-color: var(--v); color: var(--acc); background: var(--vg); }

/* ── PROJETS ── */
#projets { background: rgba(16,16,26,.88); }
.pj-g { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.4rem; }
.pj-card { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 1.9rem; transition: all .3s; position: relative; overflow: hidden; cursor: none; }
.pj-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, var(--vg) 0%, transparent 55%); opacity: 0; transition: opacity .35s; }
.pj-card:hover { border-color: var(--vd); transform: translateY(-5px); box-shadow: 0 16px 48px rgba(0,0,0,.45); }
.pj-card:hover::after { opacity: 1; }
.pj-num { font-family: var(--mono); font-size: .58rem; color: var(--vl); margin-bottom: .8rem; }
.pj-title { font-size: 1.1rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.pj-desc { font-size: .82rem; color: var(--grey); line-height: 1.7; margin-bottom: 1.1rem; font-weight: 300; }
.pj-tags { display: flex; flex-wrap: wrap; gap: .32rem; margin-bottom: 1.1rem; }
.pj-tag { font-family: var(--mono); font-size: .56rem; padding: .16rem .5rem; border-radius: 2px; background: var(--vd); color: var(--acc); }
.pj-lks { display: flex; gap: .7rem; margin-bottom: 1rem; }
.pj-lk { font-family: var(--mono); font-size: .62rem; color: var(--grey); text-decoration: none; transition: color .2s; cursor: none; }
.pj-lk:hover { color: var(--acc); }
.pj-res { padding-top: .9rem; border-top: 1px solid var(--border); }
.pj-res-lbl { font-family: var(--mono); font-size: .54rem; letter-spacing: .1em; text-transform: uppercase; color: var(--vl); margin-bottom: .42rem; }
.pj-res ul { list-style: none; }
.pj-res a { display: flex; align-items: center; gap: .3rem; font-family: var(--mono); font-size: .6rem; color: var(--grey); text-decoration: none; padding: .12rem 0; transition: color .2s; cursor: none; }
.pj-res a::before { content: '↗'; font-size: .52rem; color: var(--v); }
.pj-res a:hover { color: var(--acc); }

/* ── STAGES ── */
#stages { background: rgba(8,8,16,.9); }
.stg-card { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 2rem; margin-bottom: 1.6rem; display: grid; grid-template-columns: 200px 1fr; gap: 2.2rem; transition: border-color .35s, box-shadow .35s; position: relative; overflow: hidden; }
.stg-card::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--v), transparent); opacity: 0; transition: opacity .35s; }
.stg-card:hover { border-color: var(--vd); box-shadow: 0 8px 32px rgba(0,0,0,.35); }
.stg-card:hover::before { opacity: 1; }
@media (max-width: 720px) { .stg-card { grid-template-columns: 1fr; } }
.stg-meta { font-family: var(--mono); font-size: .7rem; color: var(--grey); line-height: 1.9; }
.stg-meta strong { display: block; color: var(--vl); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .2rem; }
.stg-co { font-family: var(--display); font-size: 1.7rem; letter-spacing: .05em; color: var(--white); margin-bottom: .3rem; }
.stg-role { font-family: var(--mono); font-size: .72rem; color: var(--acc); margin-bottom: .9rem; }
.stg-desc { font-size: .86rem; color: var(--grey); line-height: 1.8; margin-bottom: 1.1rem; font-weight: 300; }
.stg-tasks { list-style: none; margin-bottom: 1.1rem; }
.stg-tasks li { font-size: .82rem; color: var(--gl); padding: .26rem 0 .26rem 1.2rem; position: relative; }
.stg-tasks li::before { content: '›'; position: absolute; left: 0; color: var(--v); }
.res-b { padding-top: .85rem; border-top: 1px solid var(--border); }
.res-lbl { font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vl); margin-bottom: .45rem; }
.res-lks { list-style: none; display: flex; flex-wrap: wrap; gap: .45rem; }
.res-lks a { font-family: var(--mono); font-size: .62rem; padding: .22rem .6rem; border: 1px solid var(--border); border-radius: 2px; color: var(--grey); text-decoration: none; transition: all .2s; cursor: none; display: flex; align-items: center; gap: .3rem; }
.res-lks a::before { content: '↗'; color: var(--v); font-size: .52rem; }
.res-lks a:hover { border-color: var(--v); color: var(--acc); }

/* ── SYNTHESE ── */
#synthese { background: rgba(12,12,24,.85); }
.tbl-w { overflow-x: auto; border: 1px solid var(--border); border-radius: 6px; }
table { width: 100%; border-collapse: collapse; font-size: .78rem; }
thead th { background: rgba(60,30,110,.5); color: var(--acc); font-family: var(--mono); font-size: .58rem; letter-spacing: .1em; text-transform: uppercase; padding: .82rem 1rem; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
tbody tr { border-bottom: 1px solid var(--border); transition: background .2s; }
tbody tr:last-child { border-bottom: none; }
tbody tr:hover { background: rgba(124,58,237,.06); }
tbody td { padding: .82rem 1rem; color: var(--gl); vertical-align: middle; }
tbody td:first-child { font-family: var(--mono); font-size: .7rem; color: var(--acc); }
.badge { display: inline-block; padding: .13rem .48rem; border-radius: 2px; font-family: var(--mono); font-size: .55rem; background: var(--vd); color: var(--acc); margin: .1rem; }
.ok  { background: rgba(16,185,129,.12); color: #6ee7b7; }
.wip { background: rgba(245,158,11,.1); color: #fcd34d; }

/* ── VEILLE ── */
#veille { background: rgba(8,8,16,.9); }
.v-intro { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 2rem; margin-bottom: 3rem; display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
@media (max-width: 720px) { .v-intro { grid-template-columns: 1fr; } }
.v-intro-t { font-family: var(--mono); font-size: .58rem; letter-spacing: .15em; text-transform: uppercase; color: var(--vl); margin-bottom: .75rem; }
.v-intro-p { font-size: .84rem; color: var(--grey); line-height: 1.8; font-weight: 300; }
.v-method { list-style: none; }
.v-method li { font-size: .82rem; color: var(--gl); padding: .28rem 0 .28rem 1.2rem; position: relative; }
.v-method li::before { content: '//'; position: absolute; left: 0; color: var(--v); font-family: var(--mono); font-size: .58rem; }
.v-tl { position: relative; padding-left: 2rem; }
.v-tl::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 1px; background: linear-gradient(to bottom, var(--v), var(--vd), transparent); }
.vt-it { position: relative; margin-bottom: 1.8rem; background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 1.5rem; transition: border-color .3s; }
.vt-it:hover { border-color: var(--vd); }
.vt-dot { position: absolute; left: -2.4rem; top: 1.7rem; width: 8px; height: 8px; border-radius: 50%; background: var(--v); box-shadow: 0 0 10px rgba(124,58,237,.5); border: 2px solid var(--bg); }
.vt-date { font-family: var(--mono); font-size: .58rem; color: var(--vl); letter-spacing: .1em; margin-bottom: .25rem; }
.vt-cat  { font-family: var(--mono); font-size: .56rem; text-transform: uppercase; letter-spacing: .12em; color: var(--grey); margin-bottom: .45rem; }
.vt-title { font-size: .98rem; font-weight: 700; color: var(--white); margin-bottom: .5rem; }
.vt-body { font-size: .82rem; color: var(--grey); line-height: 1.75; margin-bottom: .9rem; font-weight: 300; }
.vt-src-lbl { font-family: var(--mono); font-size: .54rem; letter-spacing: .12em; text-transform: uppercase; color: var(--vl); margin-bottom: .38rem; }
.vt-srcs { list-style: none; display: flex; flex-wrap: wrap; gap: .38rem; }
.vt-srcs a { font-family: var(--mono); font-size: .6rem; padding: .18rem .55rem; border: 1px solid var(--border); border-radius: 2px; color: var(--grey); text-decoration: none; transition: all .2s; cursor: none; }
.vt-srcs a:hover { border-color: var(--v); color: var(--acc); }

/* ── RESSOURCES ── */
#ressources { background: rgba(16,16,26,.88); }
.tabs { display: flex; gap: .38rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.tab-btn { font-family: var(--mono); font-size: .62rem; letter-spacing: .08em; text-transform: uppercase; padding: .4rem .95rem; border: 1px solid var(--border); border-radius: 3px; background: transparent; color: var(--grey); cursor: none; transition: all .22s; }
.tab-btn.active, .tab-btn:hover { background: var(--vd); color: var(--acc); border-color: var(--v); }
.tab-pane { display: none; }
.tab-pane.active { display: block; animation: fu .3s ease; }
@keyframes fu { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.rg { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: .9rem; }
.ri { background: var(--card); border: 1px solid var(--border); border-radius: 6px; padding: 1.1rem; text-decoration: none; display: block; cursor: none; transition: all .25s; }
.ri:hover { border-color: var(--vd); transform: translateY(-3px); }
.ri-type { font-family: var(--mono); font-size: .55rem; letter-spacing: .1em; text-transform: uppercase; margin-bottom: .45rem; }
.c { color: #6ee7b7; } .d { color: #93c5fd; } .l { color: #fcd34d; } .o { color: #f9a8d4; }
.ri-name { font-size: .88rem; font-weight: 700; color: var(--white); margin-bottom: .28rem; }
.ri-desc { font-size: .76rem; color: var(--grey); line-height: 1.5; font-weight: 300; }
pre.snip { background: #090912; border: 1px solid var(--border); border-radius: 4px; padding: 1rem 1.2rem; font-family: var(--mono); font-size: .68rem; color: #c4b5fd; overflow-x: auto; line-height: 1.75; margin-top: 1.1rem; }
.kw  { color: #818cf8; } .fn { color: #6ee7b7; } .str { color: #fcd34d; } .cm { color: #3a3a5a; }

/* ── FOOTER ── */
footer { background: rgba(12,12,24,.95); border-top: 1px solid var(--border); padding: 2.2rem 2rem; text-align: center; position: relative; z-index: 1; }
.ft-i { max-width: 1100px; margin: 0 auto; }
.ft-nm { font-family: var(--display); font-size: 1.9rem; letter-spacing: .08em; color: var(--white); margin-bottom: .25rem; }
.ft-sb { font-family: var(--mono); font-size: .6rem; color: var(--grey); margin-bottom: 1.4rem; letter-spacing: .08em; }
.ft-lks { display: flex; justify-content: center; gap: 1.5rem; flex-wrap: wrap; }
.ft-lks a { font-family: var(--mono); font-size: .62rem; text-transform: uppercase; color: var(--grey); text-decoration: none; letter-spacing: .08em; transition: color .2s; cursor: none; }
.ft-lks a:hover { color: var(--acc); }
.ft-cp { margin-top: 1.4rem; font-family: var(--mono); font-size: .56rem; color: var(--gd); }

/* ── REVEAL ── */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .55s ease, transform .55s ease; }
.reveal.vis { opacity: 1; transform: none; }
.blink { animation: bl 1.1s step-end infinite; }
@keyframes bl { 50% { opacity: 0; } }

/* ── CONTACT FORM ── */
#contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 560px;
}

.form-group { position: relative; }

.form-group input,
.form-group textarea {
  width: 100%;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: .78rem 1rem;
  font-family: var(--mono);
  font-size: .72rem;
  color: var(--white);
  letter-spacing: .03em;
  outline: none;
  transition: border-color .25s, box-shadow .25s, background .25s;
  cursor: none;
}

.form-group textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: var(--grey);
  font-family: var(--mono);
  font-size: .7rem;
  letter-spacing: .05em;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--v);
  background: rgba(18,18,32,.95);
  box-shadow: 0 0 0 3px rgba(124,58,237,.12), 0 0 18px rgba(124,58,237,.08);
}

/* left accent bar on focus */
.form-group input:focus,
.form-group textarea:focus {
  border-left-color: var(--vl);
  border-left-width: 2px;
}

#submit-btn {
  align-self: flex-start;
  font-family: var(--mono);
  font-size: .68rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .72rem 1.8rem;
  background: var(--v);
  color: #fff;
  border: 1px solid var(--v);
  border-radius: 3px;
  cursor: none;
  transition: background .3s, box-shadow .3s, transform .2s;
  position: relative;
  overflow: hidden;
}

#submit-btn::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(120deg, transparent 30%, rgba(255,255,255,.07) 50%, transparent 70%);
  transform: translateX(-100%);
  transition: transform .5s ease;
}

#submit-btn:hover {
  background: #6d28d9;
  box-shadow: 0 0 28px rgba(124,58,237,.45);
  transform: translateY(-1px);
}

#submit-btn:hover::after { transform: translateX(100%); }
#submit-btn:active       { transform: translateY(0); }

/* sending / sent states */
#submit-btn.sending { opacity: .6; pointer-events: none; }
#submit-btn.sent    { background: rgba(16,185,129,.25); border-color: #6ee7b7; color: #6ee7b7; pointer-events: none; }


