.container, .legal-card {
    margin-inline: auto;
    margin-inline: auto;
}
.card__body h3, .legal-card h2 {
    font-size: clamp(18px,  2vw,  22px);
}
.btn, .faq summary, .logo {
    font-weight: 700;
}
.card.project, .hero, .hero--mini, .hero__art, .msf__progress, .skip-link {
    overflow: hidden;
}
.chip, .fab__trigger, .faq summary, .nav__toggle, .scroll-down {
    cursor: pointer;
}
.fab__menu, .icon-grid, .msf__steps, .nav__list, .social, .tags {
    list-style: none;
}
.btn-visit, .fab__item, a {
    text-decoration: none;
}
.about .about__card, .alert, .btn, .icon-card, .msf__steps li, .section__title {
    text-align: center;
}
:root {
    --bg: #0a0a0f;
    --panel: #0f0f17;
    --txt: #e6e6f0;
    --muted: #a2a2bd;
    --neon-blue: #00e5ff;
    --neon-pink: #ff00ff;
    --neon-purple: #9b59ff;
    --neon-green: #39ff14;
    --radius: 18px;
    --maxw: 1200px;
    --ring: 0 0 0 2px rgba(155,  89,  255,  0.35), 0 0 30px rgba(155,  89,  255,  0.2);
    --g1: radial-gradient(1200px 600px at 10% -10%,  rgba(0,  229,  255,  0.08),  transparent 60%);
    --g2: radial-gradient(800px 400px at 110% 10%,  rgba(255,  0,  255,  0.06),  transparent 60%);
}
body, html {
    height: 100%}
body {
    background: var(--bg);
    color: var(--txt);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, "Apple Color Emoji", "Segoe UI Emoji";
    color: var(--txt);
    background-color: var(--bg);
    background-image: var(--g1), var(--g2);
    background-attachment: fixed;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}
a {
    color: var(--neon-blue);
    color: var(--txt);
}
a:hover {
    text-shadow: 0 0 8px var(--neon-blue);
}
.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: var(--radius);
    padding: clamp(16px, 2vw, 24px);
    box-shadow: var(--ring);
    transition: transform .25s, box-shadow .25s, border-color .25s;
}
.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 35px rgba(155, 89, 255, .35);
}
.btn.ghost:hover, .btn:hover {
    box-shadow: 0 0 20px var(--neon-purple);
}
.hero--mini {
    position: relative;
    padding: clamp(80px, 12vw, 140px) 0 40px;
    background: var(--g1), var(--g2);
}
.hero--mini .title {
    font-size: clamp(28px,  4vw,  44px);
    line-height: 1.1;
}
.hero--mini .kicker {
    color: var(--muted);
    margin-bottom: 6px;
    letter-spacing: .08em;
    text-transform: uppercase;
    font-size: .85rem;
}
.legal-card {
    max-width: 980px;
}
.legal-card h2 {
    margin-top: 1.75rem;
    color: var(--txt);
}
.legal-card li, .legal-card p {
    color: var(--txt);
    line-height: 1.75;
}
.legal-card ul {
    margin: .5rem 0 .5rem 1.25rem;
    list-style: disc;
}
.legal-meta {
    color: var(--muted);
    font-size: .95rem;
    margin-bottom: .75rem;
}
.btn {
    display: inline-block;
    background: linear-gradient(90deg, var(--neon-blue), var(--neon-purple));
}
.btn.ghost {
    background: rgba(255, 255, 255, .05);
    border: 1px solid rgba(255, 255, 255, .2);
    color: var(--txt);
}
.btn.ghost:hover {
    background: var(--neon-purple);
    color: #fff;
    border-color: var(--neon-purple);
}
* {
    box-sizing: border-box;
}
html {
    scroll-behavior: smooth;
}
img {
    max-width: 100%;
    display: block;
}
.container {
    width: min(100% - 32px, var(--maxw));
    max-width: var(--maxw);
    padding: clamp(16px, 2vw, 24px);
}
.skip-link {
    position: absolute;
    left: -9999px;
    top: auto;
    width: 1px;
    height: 1px;
}
.skip-link:focus {
    left: 16px;
    top: 12px;
    width: auto;
    height: auto;
    background: #111;
    color: #fff;
    padding: 8px 12px;
    border-radius: 8px;
    z-index: 9999;
}
.hero .particles-canvas, .hero::after {
    inset: 0;
    z-index: -1;
    position: absolute;
}
.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: saturate(120%) blur(8px);
    background: linear-gradient(180deg, rgba(10, 10, 15, .9), rgba(10, 10, 15, .55));
    border-bottom: 1px solid rgba(255, 255, 255, .06);
}
.chip input, .hamburger, .hero, .hero__art, .math-check label {
    position: relative;
}
.site-header .container {
    display: flex;
    align-items: center;
    gap: 16px;
}
.logo {
    font-family: "JetBrains Mono", monospace;
    letter-spacing: .5px;
}
.logo span {
    color: var(--neon-purple);
    text-shadow: 0 0 20px rgba(155, 89, 255, .7);
}
.nav {
    margin-left: auto;
}
.nav__toggle {
    display: none;
    background: 0 0;
    border: 0;
    padding: 10px;
    border-radius: 10px;
}
.hamburger {
    width: 24px;
    height: 2px;
    background: var(--txt);
    border-radius: 2px;
}
.hamburger::after, .hamburger::before {
    content: "";
    position: absolute;
    inset: 0;
    height: 2px;
    background: var(--txt);
    transform: translateY(-8px);
}
.hamburger::after {
    transform: translateY(8px);
}
.btn--full:hover, .btn-visit:hover, .btn:hover {
    transform: translateY(-2px);
}
.nav__list {
    display: flex;
    gap: 4px;
    margin: 0;
    padding: 0;
}
.nav__list a {
    padding: 10px 12px;
    border-radius: 999px;
    opacity: .95;
}
.nav__list a:hover {
    background: rgba(255, 255, 255, .08);
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 14px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    color: #0b0b10;
    border: 0;
    box-shadow: 0 0 24px rgba(0, 229, 255, .18), 0 0 24px rgba(155, 89, 255, .18);
    transition: .25s;
}
.btn:hover {
    filter: brightness(1.08);
}
.btn--ghost {
    background: 0 0;
    color: var(--txt);
    border: 1px solid rgba(255, 255, 255, .16);
    box-shadow: none;
}
.hero__art, .hero__art::after, .hero__art::before, .hero__image {
    border-radius: var(--radius);
}
.section {
    padding: clamp(56px, 9vw, 120px) 0;
}
.section__title {
    margin: 0 0 24px;
    text-align: center;
    letter-spacing: .2px;
}

.section__title_about {
    margin: 0 0 24px;
    text-align: left;
    letter-spacing: .2px;
}

@media screen and (max-width: 480px) {
  .section__title_about {
      text-align: center;
  }
  .section__para_about{
      text-align: center;
  }
}
.section__subtitle  {
    text-align:  center;
    max-width:  700px;
     /* control width */margin:  0 auto 2rem auto;
     /* center + spacing */font-size:  1rem;
     /* slightly smaller */line-height:  1.6;
    opacity:  0.9;
     /* optional for cleaner look */}
.kicker {
    color: var(--muted);
    text-transform: uppercase;
    letter-spacing: .2em;
    font-size: .8rem;
}
.lead {
    font-size: clamp(16px,  1.5vw,  20px);
    color: #cfcfe4;
}
.grid2 {
    display: grid;
    gap: clamp(24px, 4vw, 40px);
    grid-template-columns: 1.1fr 1fr;
}
.cta-row, .social {
    gap: 12px;
    display: flex;
}
.hero__image {
    box-shadow: 0 0 25px rgba(0, 229, 255, .3), 0 0 60px rgba(155, 89, 255, .25);
    display: block;
    will-change: transform, filter;
    transition: transform .2s, filter .2s, box-shadow .2s;
    transform: rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
    box-shadow: 0 10px 35px rgba(155, 89, 255, .25);
}
.hero .particles-canvas {
    display: block;
}
.hero::after {
    content: "";
    pointer-events: none;
    background: radial-gradient(1000px 500px at 15% 20%, rgba(155, 89, 255, .18), transparent 60%), linear-gradient(180deg, rgba(0, 0, 0, .35), rgba(0, 0, 0, .55));
}
.hero__title {
    font-size: clamp(42px,  7.5vw,  69px);
    line-height: 1.05;
    margin: 6px 0 10px;
}
.glow {
    color: #d9c2ff;
    text-shadow: 0 0 36px rgba(155, 89, 255, .75);
}
@keyframes heroFloat {
    0%, 100% {
    transform: translateY(0);
}
50% {
    transform: translateY(-6px);
}
}.hero__art::after {
    content: "";
    position: absolute;
    inset: -2px;
    pointer-events: none;
    background: radial-gradient(220px 220px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, .18), rgba(155, 89, 255, .1) 35%, transparent 60%);
    mix-blend-mode: screen;
    opacity: .6;
}
.hero__art::before {
    content: "";
    position: absolute;
    inset: -4px;
    background: conic-gradient(from 0deg, rgba(155, 89, 255, 0) 0, rgba(155, 89, 255, .35) 18%, rgba(0, 229, 255, .3) 35%, rgba(155, 89, 255, 0) 60%);
    filter: blur(16px);
    opacity: .35;
    animation: 14s linear infinite heroSpin;
}
@keyframes heroSpin {
    to {
    transform: rotate(360deg);
}
}@media (prefers-reduced-motion:reduce) {
    .hero .particles-canvas {
    display: none;
}
.hero__art::after, .hero__art::before, .hero__image {
    animation: none;
}
.hero__image {
    transform: none;
}
* {
    animation: none!important;
    transition: none!important;
}
}.hero__art {
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: radial-gradient(circle at center, rgba(155, 89, 255, .06), rgba(0, 0, 0, .9));
    box-shadow: 0 0 25px rgba(155, 89, 255, .3), 0 0 60px rgba(0, 229, 255, .1);
    padding: 0;
}
.hero__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: 2px solid rgba(155, 89, 255, .25);
    box-shadow: 0 0 40px rgba(155, 89, 255, .2);
    animation: 6s ease-in-out infinite alternate glowPulse;
}
@keyframes glowPulse {
    0% {
    box-shadow: 0 0 25px rgba(155, 89, 255, .2), 0 0 50px rgba(0, 229, 255, .1);
}
50% {
    box-shadow: 0 0 60px rgba(155, 89, 255, .4), 0 0 100px rgba(0, 229, 255, .25);
}
100% {
    box-shadow: 0 0 35px rgba(155, 89, 255, .3), 0 0 70px rgba(0, 229, 255, .15);
}
}.cta-row {
    flex-wrap: wrap;
    margin-top: 16px;
}
.social {
    padding: 0;
    margin: 18px 0 0;
}
.social a {
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: rgba(255, 255, 255, .03);
    transition: .25s;
}
.social a:hover {
    background: var(--neon-purple);
    box-shadow: 0 0 15px var(--neon-purple);
}
.faq details[open], .tags li {
    background: rgba(201, 155, 255, .08);
}
.scroll-down {
    margin: 28px auto 0;
    display: block;
    background: 0 0;
    border: 1px solid rgba(255, 255, 255, .16);
    color: var(--txt);
    padding: 10px 14px;
    border-radius: 999px;
}
.card.project, .stats div {
    border: 1px solid rgba(255, 255, 255, .1);
}
.cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(16px, 2vw, 20px);
    align-items: stretch;
}
.card.project {
    background: linear-gradient(180deg, rgba(255, 255, 255, .03), rgba(255, 255, 255, .02));
    border-radius: var(--radius);
    box-shadow: var(--ring);
    transition: transform .25s, box-shadow .25s;
    display: flex;
    flex-direction: column;
    padding: 0;
}
.card.project:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 35px rgba(155, 89, 255, .4);
}
.card.project>img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    margin: 0;
    border: 0;
    border-radius: 0;
}
@media (max-width:1100px) {
    .cards {
    grid-template-columns: repeat(2, 1fr);
}
.card.project>img {
    height: 220px;
}
}@media (max-width:640px) {
    .cards {
    grid-template-columns: 1fr;
}
.card.project>img {
    height: 200px;
}
}.card__body {
    padding: 16px 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    flex: 1;
    gap: 10px;
}
.card__body h3 {
    margin: 0;
    line-height: 1.3;
}
.card__body p:first-of-type {
    margin: 0;
    color: #cfd0ff;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 0;
    margin: 4px 0 8px;
}
.tags li {
    font-size: .75rem;
    color: #d5cfff;
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 999px;
    padding: 6px 10px;
    white-space: nowrap;
}
.btn-visit {
    display: inline-block;
    margin-top: auto;
    align-self: flex-start;
    padding: 8px 16px;
    border-radius: 8px;
    background: rgba(155, 89, 255, .15);
    color: #cba7ff;
    border: 1px solid rgba(155, 89, 255, .4);
    font-size: .85rem;
    transition: .25s;
}
.btn-visit:hover {
    background: rgba(155, 89, 255, .35);
    color: #fff;
}
.section__title {
    font-size: clamp(28px,  3vw,  36px);
    margin-bottom: 40px;
}
.about__avatar {
    width: min(260px, 70%);
    aspect-ratio: 1/1;
    object-fit: cover;
    margin-inline: auto;
    border-radius: 999px;
    box-shadow: 0 0 40px rgba(201, 155, 255, .4), 0 0 80px rgba(0, 229, 255, .15);
    border: 2px solid rgba(255, 255, 255, .12);
    animation: 4s ease-in-out infinite alternate neonPulse;
}
@keyframes neonPulse {
    0% {
    box-shadow: 0 0 25px rgba(155, 89, 255, .4), 0 0 60px rgba(0, 229, 255, .2);
}
50% {
    box-shadow: 0 0 50px rgba(155, 89, 255, .6), 0 0 110px rgba(0, 229, 255, .35);
}
100% {
    box-shadow: 0 0 35px rgba(155, 89, 255, .45), 0 0 80px rgba(0, 229, 255, .25);
}
}.stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin: 16px 0 14px;
}
.stats div {
    background: rgba(255, 255, 255, .04);
    padding: 10px;
    border-radius: 12px;
}
.faq details, .icon-card {
    background: rgba(255, 255, 255, .03);
}
.stats strong {
    font-size: 1.25rem;
    display: block;
}
.icon-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 14px;
    margin: 20px 0 0;
    padding: 0;
}
.icon-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 14px;
    padding: 18px;
    transition: .3s;
}
.icon-card:hover {
    background: rgba(155, 89, 255, .15);
    box-shadow: 0 0 20px rgba(155, 89, 255, .4);
}
.icon {
    font-size: 24px;
}
@media (max-width:1000px) {
    .icon-grid {
    grid-template-columns: repeat(3, 1fr);
}
}.faq details {
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: 14px;
    padding: 14px 16px;
    box-shadow: var(--ring);
    margin-bottom: 10px;
}
.faq summary {
    color: #e9e2ff;
}
.contact {
    padding: 80px 0;
}
.contact .container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: flex-start;
}
.form-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 40px 36px;
    box-shadow: 0 0 25px rgba(155, 89, 255, .15);
}
.form-card h2 {
    margin-bottom: 1.5rem;
    font-size: 1.75rem;
    font-weight: 600;
}
.form label {
    display: block;
    margin: .75rem 0 .4rem;
    color: #d6d6ec;
    font-size: .95rem;
    letter-spacing: .3px;
}
.form input, .form textarea {
    width: 100%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    color: var(--txt);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: .95rem;
    transition: .2s;
    margin-bottom: .8rem;
}
.form input:focus, .form textarea:focus {
    border-color: rgba(0, 229, 255, .5);
    box-shadow: 0 0 10px rgba(0, 229, 255, .3);
}
.btn--full {
    width: 100%;
    margin-top: 1rem;
    padding: 14px 0;
    font-weight: 600;
    background: linear-gradient(90deg, #7f5af0, #00e5ff);
    border: none;
    color: #fff;
    border-radius: 12px;
    transition: .25s;
}
.btn--full:hover {
    box-shadow: 0 0 25px rgba(127, 90, 240, .4);
}
.contact__info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact__info .card {
    padding: 20px 24px;
    border-radius: 14px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .04), rgba(255, 255, 255, .02));
    border: 1px solid rgba(255, 255, 255, .1);
    box-shadow: 0 0 15px rgba(127, 90, 240, .2);
}
.contact__info h3 {
    margin: 0 0 6px;
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
}
.contact__info p {
    margin: 0;
    color: var(--muted);
    line-height: 1.5;
    font-size: .95rem;
}
.msf {
    --gap: 16px;
}
.msf__header {
    margin-bottom: 20px;
}
.msf__progress {
    height: 6px;
    background: rgba(255, 255, 255, .08);
    border-radius: 999px;
    margin-bottom: 12px;
}
.chip input:checked, .msf__bar {
    background: linear-gradient(90deg, #7f5af0, #00e5ff);
}
.msf__bar {
    height: 100%;
    width: 0;
    transition: width .3s;
}
.msf__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0;
    margin: 0;
}
.msf__steps li {
    font-size: .85rem;
    padding: 8px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    color: var(--muted);
}
.msf__steps li.active {
    color: #fff;
    box-shadow: 0 0 12px rgba(127, 90, 240, .35);
    border-color: rgba(127, 90, 240, .55);
}
.footer-links a:hover, .to-top:hover {
    color: var(--neon-blue);
    text-shadow: 0 0 8px var(--neon-blue);
}
.msf__pane {
    animation: .25s msfFade;
}
@keyframes msfFade {
    from {
    opacity: 0;
    transform: translateY(4px);
}
to {
    opacity: 1;
    transform: none;
}
}.msf__title {
    margin: .25rem 0 .5rem;
    font-size: 1.25rem;
}
.msf__hint {
    margin: 0 0 1rem;
    color: var(--muted);
}
.msf__chips {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 8px;
}
.chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    user-select: none;
    transition: .2s;
}
.chip:hover {
    transform: translateY(-1px);
    box-shadow: 0 0 16px rgba(127, 90, 240, .25);
}
.chip input {
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 3px;
    border: 1px solid rgba(255, 255, 255, .4);
    display: inline-block;
}
.chip input:checked {
    border-color: transparent;
}
.msf__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--gap);
}
.msf__field label {
    display: block;
    margin: .5rem 0 .35rem;
    color: #d6d6ec;
}
.msf__field input, .msf__field select, .msf__field textarea {
    width: 100%;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .15);
    color: var(--txt);
    border-radius: 12px;
    padding: 14px 16px;
    font-size: .95rem;
    transition: .2s;
}
.msf__field input:focus, .msf__field select:focus, .msf__field textarea:focus {
    border-color: rgba(0, 229, 255, .5);
    box-shadow: 0 0 12px rgba(0, 229, 255, .25);
}
.msf__nav {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 12px;
}
.msf__review {
    padding: 16px;
    border-radius: 14px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    line-height: 1.6;
}
.msf__review dt {
    color: #d6d6ec;
}
.msf__review dd {
    margin: 0 0 .75rem;
    color: var(--muted);
}
.msf__field select {
    appearance: none;
    background: rgba(30, 30, 45, .85);
    border: 1px solid rgba(127, 90, 240, .3);
    color: #fff;
    border-radius: 12px;
    padding: 14px 40px 14px 16px;
    font-size: .95rem;
    cursor: pointer;
    background-image: linear-gradient(45deg, transparent 50%, #00e5ff 50%), linear-gradient(135deg, #00e5ff 50%, transparent 50%);
    background-position: calc(100% - 18px) calc(1em + 2px), calc(100% - 13px) calc(1em + 2px);
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
    transition: .25s;
}
.msf__field select:hover {
    border-color: rgba(127, 90, 240, .6);
    box-shadow: 0 0 10px rgba(127, 90, 240, .25);
}
.msf__field select:focus {
    outline: 0;
    border-color: rgba(0, 229, 255, .7);
    box-shadow: 0 0 12px rgba(0, 229, 255, .4);
}
.msf__field select option {
    background-color: #111119;
    color: #d6d6ec;
}
.msf__field select option:checked, .msf__field select option:hover {
    background-color: rgba(127, 90, 240, .3);
    color: #fff;
}
.site-footer {
    border-top: 1px solid rgba(255, 255, 255, .1);
    padding: 20px 0;
    font-size: .9rem;
}
.site-footer .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}
.footer-links a {
    color: var(--muted);
    transition: color .3s, text-shadow .3s;
}
.to-top {
    border: 1px solid rgba(255, 255, 255, .18);
    padding: 8px 12px;
    border-radius: 999px;
    color: var(--muted);
    transition: .3s;
}
.fab__item, .fab__trigger {
    color: #e6e6f0;
    box-shadow: var(--ring);
    backdrop-filter: blur(10px);
}
.to-top:hover {
    border-color: var(--neon-blue);
}
@media (max-width:900px) {
    .grid2 {
    grid-template-columns: 1fr;
}
.contact .container {
    grid-template-columns: 1fr;
    gap: 30px;
}
.nav__toggle {
    display: block;
}
.nav__list {
    position: fixed;
    left: 16px;
    right: 16px;
    top: 64px;
    flex-direction: column;
    gap: 8px;
    background: rgba(15, 15, 23, .98);
    padding: 14px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, .12);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .25s, transform .25s;
}
.nav__list.is-open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}
.btn--ghost {
    display: none;
}
}@media (max-width:600px) {
    .icon-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-top: 24px;
}
.icon-card {
    padding: 20px;
    font-size: 1rem;
}
.icon {
    font-size: 28px;
}
.site-footer .container {
    flex-direction: column;
    gap: 16px;
}
.cta-row, .footer-links, .social {
    justify-content: center;
}
.section__title {
    font-size: 1.75rem;
    text-align: center;
}
.hero__title {
    font-size: 2.2rem;
    text-align: center;
}
.cards {
    grid-template-columns: 1fr;
}
.site-footer .container {
    flex-direction: column;
    text-align: center;
}
}.icon svg {
    width: 28px;
    height: 28px;
    display: block;
    stroke: #c9a9ff;
    color: #c9a9ff;
}
.icon-card:hover .icon svg {
    filter: drop-shadow(0 0 8px rgba(155, 89, 255, .55));
}
#animated-word {
  position: relative;
  display: inline-block;
  white-space: nowrap;
  color: var(--neon-purple);
  text-shadow: 0 0 10px var(--neon-purple), 0 0 20px var(--neon-blue);
  padding-right: 6px;        /* space for cursor */
}

/* Cursor drawn on top, not affecting layout */
#animated-word::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--neon-blue);
  animation: blinkCursor .8s infinite;
}

@keyframes blinkCursor {
  0%, 100% { opacity: 0; }
  50% { opacity: 1; }
}

.fab {
    position: fixed;
    z-index: 9999;
    display: grid;
    gap: 10px;
    --fab-bottom: max(6px,  env(safe-area-inset-bottom,  0px));
    --fab-left: max(8px,  env(safe-area-inset-left,  0px));
    bottom: var(--fab-bottom);
    left: var(--fab-left);
    right: auto;
    --ring: 0 0 28px rgba(155, 89, 255, .35);
}
.fab--bl {
    left: var(--fab-left)!important;
    right: auto!important;
}
.fab--ultra-low {
    --fab-bottom: max(4px,  env(safe-area-inset-bottom,  0px));
}
.fab__trigger {
    width: 56px;
    height: 56px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .12);
    display: grid;
    place-items: center;
    background: radial-gradient(120% 120% at 10% 0, rgba(155, 89, 255, .25), transparent) border-box, linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04)) padding-box;
    transition: transform .22s, box-shadow .22s, background .22s;
}
.fab__trigger:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 36px rgba(155, 89, 255, .45);
}
.fab__icon {
    display: block;
}
.fab__menu {
    margin: 0 0 6px;
    padding: 0;
    display: grid;
    gap: 8px;
    pointer-events: none;
    opacity: 0;
    transform: translateY(8px);
    transition: opacity .18s, transform .18s;
    transform-origin: left bottom;
}
.fab.open .fab__menu, .fab:hover .fab__menu {
    pointer-events: auto;
    opacity: 1;
    transform: translateY(0);
}
.fab__item {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    padding: 10px 12px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, .12);
    background: linear-gradient(180deg, rgba(255, 255, 255, .08), rgba(255, 255, 255, .04));
    transition: transform .18s, box-shadow .18s, border-color .18s;
}
.fab__item:hover {
    transform: translateY(-1px);
}
.fab__item i {
    font-size: 18px;
    line-height: 1;
}
.fab__item--wa:hover i {
    filter: drop-shadow(0 0 6px rgba(37, 211, 102, .7));
}
.fab__item--mail:hover i {
    filter: drop-shadow(0 0 6px rgba(255, 255, 255, .5));
}
.fab__trigger:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 3px rgba(155, 89, 255, .55), var(--ring);
}
@media (prefers-reduced-motion:reduce) {
    .fab__item, .fab__menu, .fab__trigger {
    transition: none;
}
}@media (max-width:680px) {
    .msf__grid {
    grid-template-columns: 1fr;
}
#projects .card.project>img {
    height: clamp(260px, 60vw, 360px);
    object-fit: cover;
    object-position: 8% 18%}
.form-card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .03));
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 18px;
    padding: 10px;
    box-shadow: 0 0 25px rgba(155, 89, 255, .15);
}
}#projects .card.project.focus-top>img {
    object-position: top;
}
#projects .card.project.focus-mid>img {
    object-position: center;
}
#projects .card.project.focus-btm>img {
    object-position: bottom;
}
.alert {
    padding: 14px 18px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
    transition: opacity .5s;
}
.alert.success {
    background: rgba(80, 255, 120, .08);
    border: 1px solid rgba(80, 255, 120, .4);
    color: #8affb0;
}
.alert.error {
    background: rgba(255, 80, 80, .08);
    border: 1px solid rgba(255, 80, 80, .4);
    color: #ff9e9e;
}
.math-check label::after {
    content: "";
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 35%;
    height: 2px;
    background: linear-gradient(90deg, var(--neon-purple), var(--neon-blue));
    border-radius: 2px;
    opacity: .6;
}
@media (max-width:480px) {
    .fab__trigger {
    width: 54px;
    height: 54px;
}
.fab__item {
    padding: 10px;
}
.fab__item span {
    display: none;
}
.kicker, .lead {
    text-align: center;
}
}