.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 11px 20px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 13px;
  font-weight: 700;
  transition: transform .22s ease, border-color .22s ease, background .22s ease, box-shadow .22s ease;
}

.button:hover {
  transform: translateY(-3px);
}

.button--small {
  min-height: 42px;
  padding: 9px 15px;
  font-size: 12px;
}

.button--primary {
  color: white;
  background: linear-gradient(110deg, #7b41ef, #546bfa);
  box-shadow: 0 12px 30px rgba(96, 74, 240, .26);
}

.button--primary:hover {
  box-shadow: 0 18px 40px rgba(96, 74, 240, .36);
}

.button--ghost {
  border-color: rgba(171, 187, 240, .22);
  color: #dfe4f3;
  background: rgba(255,255,255,.025);
  backdrop-filter: blur(8px);
}

.button--ghost:hover {
  border-color: rgba(139, 92, 246, .54);
  background: rgba(139, 92, 246, .08);
}

.button--light {
  color: #4c35a2;
  background: white;
  box-shadow: 0 14px 34px rgba(0,0,0,.16);
}

.button--glass {
  border-color: rgba(255,255,255,.24);
  color: white;
  background: rgba(255,255,255,.1);
  backdrop-filter: blur(10px);
}

.service-card,
.project-card,
.testimonial-card,
.post-card,
.faq-item {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(18, 27, 50, .78), rgba(8, 14, 28, .78));
  box-shadow: inset 0 1px rgba(255,255,255,.018);
}

.service-card {
  position: relative;
  min-height: 300px;
  overflow: hidden;
  padding: 26px;
  border-radius: var(--radius-md);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.service-card::before {
  content: '';
  position: absolute;
  top: -110px;
  left: -100px;
  width: 210px;
  height: 210px;
  border-radius: 50%;
  opacity: 0;
  background: rgba(118, 72, 255, .2);
  filter: blur(40px);
  transition: opacity .3s ease;
}

.service-card:hover {
  border-color: rgba(126, 101, 242, .38);
  box-shadow: 0 24px 60px rgba(0,0,0,.25);
  transform: translateY(-7px);
}

.service-card:hover::before {
  opacity: 1;
}

.service-card__icon {
  position: relative;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  margin-bottom: 23px;
  border: 1px solid rgba(138, 112, 255, .28);
  border-radius: 13px;
  color: #be8cff;
  background: linear-gradient(135deg, rgba(119, 58, 245, .34), rgba(38, 116, 214, .2));
  box-shadow: 0 8px 26px rgba(80, 56, 215, .2), inset 0 0 18px rgba(255,255,255,.03);
}

.service-card:nth-child(2n) .service-card__icon {
  color: #4ddfff;
  border-color: rgba(40, 188, 238, .25);
  background: linear-gradient(135deg, rgba(34, 105, 221, .38), rgba(18, 178, 207, .18));
}

.service-card h3,
.project-card h3,
.testimonial-card h3,
.post-card h3,
.process-item h3 {
  margin-bottom: 11px;
  font-size: 17px;
}

.service-card p {
  min-height: 78px;
  margin-bottom: 18px;
  font-size: 12px;
}

.tag-list {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
}

.tag-list span,
.skills-cloud span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(150, 169, 223, .13);
  border-radius: 999px;
  color: #9ca9c7;
  background: rgba(100, 122, 183, .06);
  font-size: 9px;
}

.tag-list span {
  padding: 4px 8px;
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  margin-top: 22px;
  color: #6b8dff;
  font-size: 11px;
  font-weight: 700;
  transition: gap .2s ease, color .2s ease;
}

.text-link:hover {
  gap: 11px;
  color: var(--cyan);
}

.project-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform .3s ease, border-color .3s ease, box-shadow .3s ease;
}

.project-card:hover {
  border-color: rgba(123, 102, 235, .4);
  box-shadow: 0 26px 70px rgba(0,0,0,.3);
  transform: translateY(-7px);
}

.project-card__media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #0a1121;
}

.project-card__media::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 58%, rgba(5,9,20,.62));
}

.project-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s cubic-bezier(.2,.7,.2,1);
}

.project-card:hover .project-card__media img {
  transform: scale(1.045);
}

.project-card__media > span {
  position: absolute;
  z-index: 2;
  right: 14px;
  bottom: 13px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 999px;
  color: white;
  background: rgba(7, 12, 25, .54);
  backdrop-filter: blur(10px);
  font-size: 9px;
}

.project-card__content {
  padding: 22px;
}

.project-card__title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.project-card__title-row button {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 9px;
  color: #8ba1db;
  background: rgba(255,255,255,.025);
  cursor: pointer;
  transition: .2s ease;
}

.project-card__title-row button:hover {
  border-color: rgba(30,214,255,.42);
  color: var(--cyan);
}

.project-card__content p {
  min-height: 58px;
  margin-bottom: 17px;
  font-size: 11px;
}

.process-item {
  position: relative;
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 22px;
  min-height: 120px;
  padding-bottom: 28px;
}

.process-item:last-child {
  padding-bottom: 0;
}

.process-item__number {
  position: relative;
  z-index: 2;
  display: grid;
  width: 64px;
  height: 64px;
  place-items: center;
  border: 1px solid rgba(138, 112, 255, .32);
  border-radius: 18px;
  color: #b896ff;
  background: linear-gradient(145deg, #171c38, #0d1428);
  box-shadow: 0 14px 35px rgba(0,0,0,.25), inset 0 0 20px rgba(113,76,255,.08);
  font-size: 14px;
  font-weight: 800;
}

.process-item h3 {
  margin-top: 3px;
  margin-bottom: 6px;
  font-size: 18px;
}

.process-item p {
  max-width: 560px;
  margin-bottom: 0;
  font-size: 12px;
}

.about-window {
  position: relative;
  z-index: 2;
  width: min(100%, 380px);
  overflow: hidden;
  border: 1px solid rgba(154, 177, 245, .22);
  border-radius: 24px;
  background: linear-gradient(145deg, rgba(22, 35, 69, .85), rgba(7, 13, 29, .92));
  box-shadow: 0 38px 90px rgba(0,0,0,.38), 0 0 70px rgba(84,75,245,.08);
  transform: rotate(-2deg);
}

.about-window__header {
  padding: 18px;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.about-window__body {
  padding: 32px;
  text-align: center;
}

.about-avatar {
  display: grid;
  width: 100px;
  height: 100px;
  place-items: center;
  margin: 0 auto 20px;
  border: 1px solid rgba(255,255,255,.18);
  border-radius: 30px;
  color: white;
  background: linear-gradient(145deg, #6b3fe7, #1689c7);
  box-shadow: 0 20px 45px rgba(57, 77, 215, .3);
  font-family: Arial, sans-serif;
  font-size: 44px;
  font-weight: 900;
}

.about-status {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 10px;
  margin-bottom: 17px;
  border: 1px solid rgba(69, 216, 151, .2);
  border-radius: 999px;
  color: #78dca9;
  background: rgba(47, 190, 124, .07);
  font-size: 9px;
}

.about-status i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #44da91;
  box-shadow: 0 0 10px #44da91;
}

.about-window h3 {
  margin-bottom: 4px;
  font-size: 21px;
}

.about-window p {
  font-family: Arial, sans-serif;
  font-size: 11px;
}

.about-mini-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 25px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 14px;
}

.about-mini-grid span {
  padding: 13px;
  color: #8c96af;
  font-size: 9px;
}

.about-mini-grid span + span {
  border-right: 1px solid var(--line);
}

.about-mini-grid strong {
  display: block;
  color: white;
  font-size: 17px;
}

.about-orbit-label {
  position: absolute;
  z-index: 3;
  padding: 8px 12px;
  border: 1px solid var(--line-strong);
  border-radius: 10px;
  color: #c3cae1;
  background: rgba(12,18,35,.74);
  box-shadow: 0 15px 35px rgba(0,0,0,.25);
  backdrop-filter: blur(12px);
  font-family: Arial, sans-serif;
  font-size: 10px;
  animation: dockFloat 5.5s ease-in-out infinite;
}

.about-orbit-label--one { top: 80px; right: -5px; }
.about-orbit-label--two { bottom: 65px; left: 4px; animation-delay: -2.5s; }

.about-checks {
  display: grid;
  gap: 9px;
  margin: 24px 0;
}

.about-checks li {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #c3cbdd;
  font-size: 12px;
}

.about-checks svg {
  flex: 0 0 auto;
  color: var(--green);
}

.skills-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.skills-cloud span {
  padding: 6px 10px;
  color: #aab4cc;
  font-family: Arial, sans-serif;
  font-size: 10px;
}

.stat-item {
  position: relative;
  padding: 27px 18px;
  text-align: center;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  top: 22%;
  right: 0;
  width: 1px;
  height: 56%;
  background: rgba(255,255,255,.10);
}

.stat-item strong,
.stat-item span {
  display: block;
}

.stat-item strong {
  margin-bottom: 3px;
  font-family: Arial, sans-serif;
  font-size: 28px;
}

.stat-item span {
  color: #a7b0c9;
  font-size: 10px;
}

.testimonial-card {
  position: relative;
  min-height: 280px;
  padding: 27px;
  border-radius: var(--radius-md);
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 13px;
  left: 20px;
  color: rgba(161, 176, 220, .15);
  font-family: Georgia, serif;
  font-size: 60px;
  line-height: 1;
}

.testimonial-card__stars {
  margin-bottom: 20px;
  color: var(--yellow);
  direction: ltr;
  font-size: 13px;
  letter-spacing: 2px;
}

.testimonial-card > p {
  min-height: 112px;
  color: #bcc4d8;
  font-size: 12px;
}

.testimonial-card__person {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-top: 20px;
}

.testimonial-card__person > span {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%;
  background: linear-gradient(145deg, #6452cd, #287ca2);
  font-size: 13px;
}

.testimonial-card__person strong,
.testimonial-card__person small {
  display: block;
}

.testimonial-card__person strong {
  font-size: 12px;
}

.testimonial-card__person small {
  color: #737e97;
  font-size: 9px;
}

.post-card {
  overflow: hidden;
  border-radius: var(--radius-md);
  transition: transform .3s ease, border-color .3s ease;
}

.post-card:hover {
  border-color: rgba(91, 119, 255, .38);
  transform: translateY(-6px);
}

.post-card__cover {
  position: relative;
  height: 185px;
  display: grid;
  place-items: center;
  overflow: hidden;
}

.post-card__cover::before,
.post-card__cover::after {
  content: '';
  position: absolute;
  border: 1px solid rgba(255,255,255,.1);
  transform: rotate(25deg);
}

.post-card__cover::before { width: 130px; height: 130px; }
.post-card__cover::after { width: 190px; height: 190px; }
.post-one { background: radial-gradient(circle at 50% 50%, #4e2ca7, #101c50 65%, #0a1020); }
.post-two { background: radial-gradient(circle at 50% 40%, #236fe9, #142886 60%, #081122); }
.post-three { background: radial-gradient(circle at 65% 42%, #1aa8b6, #0c3e5d 55%, #071423); }

.post-card__cover > span {
  position: absolute;
  z-index: 2;
  top: 14px;
  right: 14px;
  padding: 5px 9px;
  border: 1px solid rgba(255,255,255,.14);
  border-radius: 999px;
  color: rgba(255,255,255,.78);
  background: rgba(0,0,0,.16);
  font-size: 8px;
}

.post-card__symbol {
  position: relative;
  z-index: 2;
  color: white;
  font-family: Consolas, monospace;
  font-size: 42px;
  font-weight: 900;
  text-shadow: 0 10px 40px rgba(0,0,0,.4);
}

.post-card__content {
  padding: 22px;
}

.post-card__content small {
  color: #6f7c9c;
  font-size: 9px;
}

.post-card__content h3 {
  margin: 9px 0 10px;
  font-size: 16px;
}

.post-card__content p {
  min-height: 66px;
  margin-bottom: 0;
  font-size: 11px;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-item {
  overflow: hidden;
  border-radius: 14px;
  transition: border-color .25s ease;
}

.faq-item.is-open {
  border-color: rgba(126, 104, 245, .4);
}

.faq-item > button {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 19px 21px;
  border: 0;
  color: #e4e8f2;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  text-align: right;
  cursor: pointer;
}

.faq-item > button svg {
  flex: 0 0 auto;
  color: #7787b0;
  transform: rotate(90deg);
  transition: transform .25s ease, color .25s ease;
}

.faq-item.is-open > button svg {
  color: #a888ff;
  transform: rotate(-90deg);
}

.faq-item__answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows .3s ease;
}

.faq-item__answer > div {
  overflow: hidden;
}

.faq-item__answer p {
  margin: 0;
  padding: 0 21px 19px;
  font-size: 11px;
}

.faq-item.is-open .faq-item__answer {
  grid-template-rows: 1fr;
}

.socials {
  display: flex;
  gap: 9px;
}

.socials a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 10px;
  color: #8492b4;
  background: rgba(255,255,255,.025);
  transition: color .2s ease, border-color .2s ease, transform .2s ease;
}

.socials a:hover {
  border-color: rgba(30,214,255,.4);
  color: var(--cyan);
  transform: translateY(-3px);
}
