:root{
  --bg:#0b0d13;
  --surface:#0f1220;
  --card:#0f1426;
  --text:#e8ecff;
  --muted:#b7bdd6;
  --muted2:#8c93ad;
  --line:rgba(255,255,255,.08);
  --shadow:0 20px 60px rgba(0,0,0,.45);
  --brand:#6c63ff;
  --brand2:#a48bff;
  --brand3:#44d7ff;
  --radius:18px;
  --radius2:24px;
  --container:1100px;
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family:Inter,system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;
  color:var(--text);
  background:
    radial-gradient(1200px 700px at 10% 10%, rgba(108,99,255,.22), transparent 55%),
    radial-gradient(1000px 600px at 90% 15%, rgba(68,215,255,.12), transparent 50%),
    radial-gradient(900px 600px at 30% 90%, rgba(164,139,255,.12), transparent 60%),
    linear-gradient(180deg, #070910, var(--bg));
}

a{color:inherit}
img{max-width:100%;display:block}
button,
input,
textarea,
select{font:inherit}

.container{
  width:min(var(--container), calc(100% - 40px));
  margin:0 auto;
}

.skip{
  position:absolute;
  left:-999px;
  top:10px;
  padding:10px 12px;
  border-radius:12px;
  background:rgba(255,255,255,.08);
  border:1px solid var(--line);
  color:var(--text);
  z-index:999;
}

.skip:focus{left:20px}

.header{
  position:sticky;
  top:0;
  z-index:50;
  backdrop-filter:blur(14px);
  background:linear-gradient(180deg, rgba(11,13,19,.88), rgba(11,13,19,.65));
  border-bottom:1px solid var(--line);
}

.header__inner{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 0;
  gap:16px;
}

.brand{
  display:flex;
  align-items:center;
  gap:12px;
  text-decoration:none;
}

.brand__mark{
  width:14px;
  height:14px;
  border-radius:6px;
  background:linear-gradient(135deg, var(--brand), var(--brand3));
  box-shadow:0 10px 30px rgba(108,99,255,.35);
}

.brand__name{
  font-weight:700;
  letter-spacing:-.02em;
}

.nav{
  display:flex;
  align-items:center;
  gap:18px;
}

.nav__link{
  text-decoration:none;
  color:var(--muted);
  font-weight:600;
  font-size:14px;
  padding:10px 10px;
  border-radius:12px;
  border:1px solid transparent;
  transition:background .18s ease,color .18s ease,border-color .18s ease;
}

.nav__link:hover,
.nav__link:focus-visible{
  background:rgba(255,255,255,.06);
  color:var(--text);
  outline:none;
}

.nav__link.is-active{
  color:var(--text);
  background:rgba(108,99,255,.18);
  border-color:rgba(108,99,255,.35);
}

.nav__cta,
.btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  text-decoration:none;
  font-weight:700;
  font-size:14px;
  padding:11px 16px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  transition:transform .18s ease,box-shadow .18s ease,background .18s ease,border-color .18s ease;
}

.nav__cta:hover,
.nav__cta:focus-visible,
.btn:hover,
.btn:focus-visible{
  transform:translateY(-2px);
  outline:none;
}

.nav__cta,
.btn--primary{
  background:linear-gradient(135deg, rgba(108,99,255,.95), rgba(164,139,255,.92));
  box-shadow:0 16px 40px rgba(108,99,255,.18);
  color:#fff;
}

.btn{
  cursor:pointer;
}

.btn--ghost{
  background:rgba(255,255,255,.03);
  border-color:var(--line);
  color:var(--text);
}

.btn--ghost:hover,
.btn--ghost:focus-visible{
  background:rgba(255,255,255,.07);
  box-shadow:0 14px 30px rgba(0,0,0,.18);
}

.menu{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
  align-items:center;
  justify-content:center;
  gap:5px;
  flex-direction:column;
}

.menu__bar{
  width:18px;
  height:2px;
  background:rgba(232,236,255,.9);
  border-radius:999px;
}

.mobile{
  display:none;
  border-top:1px solid var(--line);
  background:rgba(11,13,19,.92);
}

.mobile__inner{
  display:flex;
  flex-direction:column;
  padding:14px 0 18px 0;
  gap:10px;
}

.mobile__link,
.mobile__cta{
  text-decoration:none;
  padding:12px;
  border-radius:14px;
  font-weight:700;
}

.mobile__link{
  border:1px solid var(--line);
  background:rgba(255,255,255,.04);
  color:var(--text);
}

.mobile__cta{
  background:linear-gradient(135deg, rgba(108,99,255,.95), rgba(164,139,255,.92));
  text-align:center;
}

.hero__visual{
  display:flex;
  justify-content:center;
}

.glass{
  width:100%;
  max-width:460px;
  padding:18px;
  border-radius:var(--radius2);
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(255,255,255,.06),rgba(255,255,255,.02));
  box-shadow:var(--shadow);
  position:relative;
  overflow:hidden;
}

.section{
  padding:44px 0;
}

.section__head{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap:18px;
  margin-bottom:18px;
}

.section__title{
  margin:0;
  font-size:24px;
  letter-spacing:-.02em;
}

.section__subtitle{
  margin:8px 0 0;
  color:var(--muted);
  line-height:1.6;
  font-size:14px;
}

.grid,
.articles-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:14px;
}

.card,
.article-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:18px;
  padding:18px;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.card{
  cursor:pointer;
  min-height:170px;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
}

.card:hover,
.article-card:hover{
  transform:translateY(-3px);
  border-color:rgba(108,99,255,.38);
  background:rgba(108,99,255,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.24);
}

.card__tag,
.article-card__tag,
.project-card__tag{
  display:inline-flex;
  width:fit-content;
  padding:8px 10px;
  border-radius:999px;
  border:1px solid rgba(108,99,255,.28);
  background:rgba(108,99,255,.10);
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.card__title,
.article-card__title{
  margin:12px 0 6px;
  color:var(--text);
  font-size:16px;
  line-height:1.35;
  letter-spacing:-.02em;
}

.card__desc,
.article-card__desc{
  margin:0;
  color:var(--muted);
  font-size:13.5px;
  line-height:1.6;
}

.card__foot{
  margin-top:14px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  color:rgba(232,236,255,.92);
  font-weight:700;
  font-size:13px;
}

.pulse{
  width:8px;
  height:8px;
  border-radius:99px;
  background:linear-gradient(135deg,var(--brand),var(--brand3));
  box-shadow:0 0 0 6px rgba(108,99,255,.12);
}

.single-project{
  display:flex;
  justify-content:flex-start;
}

.single-project .card,
.single-project .project-card{
  width:100%;
  max-width:720px;
}

.project-card{
  position:relative;
  overflow:hidden;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  border-radius:18px;
  padding:22px;
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.project-card:hover{
  transform:translateY(-3px);
  border-color:rgba(108,99,255,.38);
  background:rgba(108,99,255,.08);
  box-shadow:0 18px 50px rgba(0,0,0,.24);
}

.project-card__title{
  margin:16px 0 10px;
  color:var(--text);
  font-size:28px;
  line-height:1.3;
  letter-spacing:-.02em;
}

.project-card__desc{
  margin:0;
  color:var(--muted);
  font-size:14px;
  line-height:1.7;
  max-width:580px;
}

.project-card__footer{
  margin-top:26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}

.project-card__link{
  display:flex;
  align-items:center;
  gap:10px;
  border:none;
  background:none;
  color:#fff;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
}

.project-card__dot{
  width:9px;
  height:9px;
  border-radius:999px;
  background:linear-gradient(135deg,var(--brand),var(--brand3));
  box-shadow:0 0 0 6px rgba(108,99,255,.12);
}

.project-card__arrow{
  color:rgba(255,255,255,.75);
  font-size:18px;
}

.section--articles{
  padding-top:20px;
}

.article-card{
  min-height:230px;
  cursor:pointer;
}

.article-card__top{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:12px;
}

.article-card__year{
  color:var(--muted2);
  font-size:13px;
  font-weight:800;
}

.article-card__meta{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  margin-top:16px;
}

.article-card__meta span{
  display:inline-flex;
  padding:7px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.035);
  color:var(--muted);
  font-size:12px;
  font-weight:700;
}

.article-card__foot{
  margin-top:20px;
}

.article-card__status{
  display:inline-flex;
  align-items:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.04);
  color:var(--muted);
  font-size:12px;
  font-weight:800;
}

.articles-progress-box{
  width:100%;
  max-width:720px;
  padding:32px;
  border-radius:28px;
  border:1px solid rgba(255,255,255,.08);
  background:linear-gradient(180deg,rgba(255,255,255,.04),rgba(255,255,255,.02));
  backdrop-filter:blur(12px);
  -webkit-backdrop-filter:blur(12px);
  box-shadow:0 0 40px rgba(91,94,255,.10),inset 0 1px 0 rgba(255,255,255,.04);
  transition:.3s ease;
}

.articles-progress-box:hover{
  transform:translateY(-4px);
  border-color:rgba(120,120,255,.25);
  box-shadow:0 0 50px rgba(91,94,255,.18),inset 0 1px 0 rgba(255,255,255,.05);
}

.articles-progress-box .article-card__tag{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(108,99,255,.12);
  border:1px solid rgba(129,120,255,.20);
  color:#c7c5ff;
  font-size:.82rem;
  font-weight:600;
  margin-bottom:20px;
}

.articles-progress-box .article-card__title{
  font-size:2rem;
  line-height:1.2;
  margin-bottom:14px;
  color:#fff;
}

.articles-progress-box .article-card__desc{
  max-width:560px;
  color:rgba(255,255,255,.72);
  line-height:1.7;
  font-size:1rem;
}

.empty{
  margin-top:16px;
  border:1px dashed rgba(255,255,255,.16);
  border-radius:18px;
  padding:18px;
  background:rgba(255,255,255,.02);
}

.empty__title{
  margin:0;
  font-weight:900;
}

.empty__desc{
  margin:8px 0 14px;
  color:var(--muted);
}

.footer{
  padding:46px 0 0;
}

.footer__inner{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:22px;
  padding:22px;
  border-radius:22px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
}

.footer__title{
  margin:0;
  font-size:18px;
  letter-spacing:-.02em;
}

.footer__text{
  margin:8px 0 0;
  color:var(--muted);
}

.footer__right{
  display:flex;
  flex-direction:column;
  gap:12px;
}

.contact{
  text-decoration:none;
  padding:12px;
  border-radius:16px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.02);
  transition:transform .18s ease,border-color .18s ease,background .18s ease,box-shadow .18s ease;
}

.contact:hover,
.contact:focus-visible{
  transform:translateY(-3px);
  border-color:rgba(108,99,255,.34);
  background:rgba(108,99,255,.08);
  box-shadow:0 16px 35px rgba(0,0,0,.18);
  outline:none;
}

.contact__label{
  display:block;
  font-size:12px;
  font-weight:800;
  color:var(--muted2);
}

.contact__value{
  display:block;
  margin-top:6px;
  font-weight:800;
}

.footer__bottom{
  padding:18px 0 28px;
  color:var(--muted2);
  text-align:center;
}

.footer--premium{
  padding:52px 0 26px;
  border-top:1px solid var(--line);
  background:
    radial-gradient(circle at top left, rgba(108,99,255,.12), transparent 30%),
    rgba(8,10,16,.96);
}

.footer-premium{
  display:flex;
  flex-direction:column;
  gap:28px;
  padding:34px;
  border-radius:28px;
  border:1px solid var(--line);
  background:
    linear-gradient(180deg, rgba(255,255,255,.05), rgba(255,255,255,.02)),
    rgba(255,255,255,.02);
  position:relative;
  overflow:hidden;
}

.footer-premium::before{
  content:"";
  position:absolute;
  inset:-140px auto auto -120px;
  width:280px;
  height:280px;
  border-radius:999px;
  background:radial-gradient(circle at center, rgba(108,99,255,.24), transparent 70%);
}

.footer-premium__left,
.footer-premium__right{
  position:relative;
  z-index:1;
}

.footer-premium__title{
  margin:0;
  font-size:34px;
  line-height:1.1;
  letter-spacing:-.04em;
}

.footer-premium__desc{
  margin:18px 0 0 0;
  color:var(--muted);
  line-height:1.8;
  font-size:15px;
  max-width:58ch;
}

.footer-premium__right{
  display:flex;
  flex-direction:row;
  flex-wrap:wrap;
  gap:18px;
  width:100%;
}

.footer-contact{
  flex:1;
  min-width:280px;
  display:flex;
  align-items:center;
  gap:16px;
  padding:18px;
  border-radius:22px;
  border:1px solid var(--line);
  background:linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.02));
  text-decoration:none;
  transition:transform .18s ease,border-color .18s ease,box-shadow .18s ease,background .18s ease;
}

.footer-contact:hover{
  transform:translateY(-4px);
  border-color:rgba(108,99,255,.34);
  background:linear-gradient(180deg, rgba(108,99,255,.12), rgba(255,255,255,.03));
  box-shadow:0 14px 40px rgba(0,0,0,.24),0 0 24px rgba(108,99,255,.12);
}

.footer-contact:active{
  transform:scale(.98);
}

.footer-contact__icon{
  width:54px;
  height:54px;
  border-radius:18px;
  display:flex;
  align-items:center;
  justify-content:center;
  background:linear-gradient(135deg, rgba(108,99,255,.22), rgba(108,99,255,.08));
  border:1px solid rgba(108,99,255,.22);
  color:var(--text);
  font-size:20px;
  font-weight:900;
  flex-shrink:0;
  transition:transform .18s ease,box-shadow .18s ease;
}

.footer-contact:hover .footer-contact__icon{
  transform:scale(1.06);
  box-shadow:0 0 20px rgba(108,99,255,.22);
}

.footer-contact__content{
  display:flex;
  flex-direction:column;
  gap:6px;
}

.footer-contact__label{
  color:var(--muted2);
  font-size:12px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.08em;
}

.footer-contact__value{
  color:var(--text);
  font-size:16px;
  line-height:1.4;
  overflow-wrap:anywhere;
}

.footer-premium__bottom{
  padding-top:20px;
  text-align:center;
}

.footer-premium__bottom p{
  margin:0;
  color:var(--muted2);
  font-weight:700;
}

.modal{
  position:fixed;
  inset:0;
  display:none;
  align-items:center;
  justify-content:center;
  padding:20px;
  z-index:80;
}

.modal.is-open{
  display:flex;
}

.modal__overlay{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.62);
}

.modal__panel{
  position:relative;
  width:min(980px,100%);
  border-radius:22px;
  border:1px solid var(--line);
  background:linear-gradient(180deg,rgba(16,19,33,.96),rgba(11,13,19,.94));
  box-shadow:var(--shadow);
  overflow:hidden;
}

.modal__head{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:12px;
  padding:18px;
  border-bottom:1px solid var(--line);
}

.modal__tag{
  margin:0 0 6px;
  color:var(--muted2);
  font-weight:800;
  font-size:12px;
}

.modal__title{
  margin:0;
  font-size:18px;
  letter-spacing:-.02em;
}

.iconbtn{
  width:42px;
  height:42px;
  border-radius:14px;
  border:1px solid var(--line);
  background:rgba(255,255,255,.03);
  color:var(--text);
  cursor:pointer;
  font-weight:900;
}

.modal__body{
  padding:18px;
  display:grid;
  grid-template-columns:1.25fr .75fr;
  gap:16px;
}

.modal__desc{
  margin:0;
  color:var(--muted);
  line-height:1.75;
}

.modal__list{
  margin:12px 0 0;
  padding-left:18px;
  color:rgba(232,236,255,.92);
  line-height:1.7;
}

.modal__links{
  display:flex;
  flex-direction:column;
  gap:10px;
}

@media (max-width:980px){
  .hero__grid{
    grid-template-columns:1fr;
    gap:18px;
  }

  .hero__title{
    font-size:38px;
  }

  .grid,
  .articles-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .section__head,
  .footer__inner{
    flex-direction:column;
    align-items:flex-start;
  }

  .modal__body{
    grid-template-columns:1fr;
  }
}

@media (max-width:720px){
  .nav{
    display:none;
  }

  .menu{
    display:flex;
  }

  .grid,
  .articles-grid{
    grid-template-columns:1fr;
  }

  .hero__title{
    font-size:34px;
  }

  .hero__stats{
    grid-template-columns:1fr;
  }

  .article-card__top{
    align-items:flex-start;
    flex-direction:column;
  }

  .project-card__title{
    font-size:22px;
  }

  .articles-progress-box{
    padding:24px;
  }

  .articles-progress-box .article-card__title{
    font-size:1.6rem;
  }

  .footer-premium{
    padding:24px;
  }

  .footer-premium__title{
    font-size:28px;
  }

  .footer-contact{
    min-width:100%;
    padding:16px;
  }

  .footer-contact__value{
    font-size:14px;
  }
}
