
/* =====================
   ROOT / COLORS
===================== */

:root {
  --bg: #0B0C10;
  --bg2: #0F1115;
  --card: #141720;
  --text: #EDEDED;
  --muted: #9AA0A6;
  --accent: #A6FF4D;
  --stroke: rgba(166,255,77,0.12);
}

/* =====================
   BASE
===================== */

body {
  margin: 0;
  font-family: Inter, sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

.container {
  width: 1200px;
  margin: 0 auto;
}

.section {
  padding: 120px 0;
}

/* =====================
   BACKGROUND LAYERS
===================== */

body {
  background:
    radial-gradient(circle at 20% 20%, rgba(166,255,77,0.08), transparent 40%),
    radial-gradient(circle at 80% 40%, rgba(166,255,77,0.05), transparent 45%),
    var(--bg);
}

/* =====================
   HERO
===================== */

.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
}

.hero__grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 60px;
  align-items: center;
}

.hero h1 {
  font-size: 64px;
  line-height: 1.05;
  margin: 0;

  background: linear-gradient(90deg, #fff, #b6ff7a);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero p {
  margin-top: 20px;
  color: var(--muted);
}

/* glow right block */
.hero__right {
  height: 450px;
  border-radius: 24px;
text-align: center;
  background:
    radial-gradient(circle at center, rgba(166,255,77,0.18), transparent 60%),
    linear-gradient(145deg, #141720, #0F1115);

  border: 1px solid var(--stroke);
  box-shadow: 0 0 80px rgba(166,255,77,0.08);
}

/* =====================
   BUTTONS
===================== */

.btn {
  display: inline-block;
  padding: 14px 26px;
  background: var(--accent);
  color: #000;
  font-weight: 500;
  border-radius: 6px;
  transition: 0.3s;
  box-shadow: 0 0 25px rgba(166,255,77,0.25);
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 35px rgba(166,255,77,0.35);
}

.btn--ghost {
  background: transparent;
  border: 1px solid var(--accent);
  color: var(--accent);
  box-shadow: none;
}

.btn--ghost:hover {
  background: var(--accent);
  color: #000;
}

/* =====================
   SERVICES
===================== */

.grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
}

.card {
  background: linear-gradient(145deg, #141720, #0F1115);
  border: 1px solid transparent;
  padding: 26px;
  border-radius: 14px;
  transition: 0.4s;
  position: relative;
  overflow: hidden;
}

.card:hover {
  transform: translateY(-8px);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(166,255,77,0.12);
}

/* =====================
   PORTFOLIO
===================== */



.work {
  background: var(--bg2);
  border: 1px solid var(--stroke);
  padding: 30px;
  border-radius: 14px;
  transition: 0.3s;
}

.work:hover {
  transform: scale(1.02);
  border-color: var(--accent);
  box-shadow: 0 0 30px rgba(166,255,77,0.1);
}

/* =====================
   CTA
===================== */

.cta {
  text-align: center;
  background: radial-gradient(circle at center, rgba(166,255,77,0.08), transparent 60%);
}

/* =====================
   TYPOGRAPHY
===================== */

h2 {
  font-size: 42px;
  margin-bottom: 40px;
}

p {
  line-height: 1.6;
}

/* =====================
   ANIMATIONS BASE
===================== */

.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: 0.8s ease;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}


/* =====================
   HEADER BASE
===================== */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;

  background: rgba(11,12,16,0.6);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(166,255,77,0.08);
}

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

/* LOGO */
.logo {
  position: relative;
  display: inline-block;
}

.logo::before,
.logo::after {
  content: "";
  position: absolute;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--accent);
  transform: scaleX(0);
  transition: 0.4s ease;
}

.logo::before {
  top: -6px;
  transform-origin: right;
}

.logo::after {
  bottom: -6px;
  transform-origin: left;
  opacity: 0.6;
}

.logo:hover::before,
.logo:hover::after {
  transform: scaleX(1);
}

.logo span {
  color: var(--accent);
}

/* =====================
   NAV
===================== */

.nav__list {
  display: flex;
  gap: 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav__list li a {
  color: var(--muted);
  transition: 0.3s;
  position: relative;
}

.nav__list li a:hover {
  color: var(--accent);
}

/* underline animation */
.nav__list li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -6px;
  width: 0%;
  height: 1px;
  background: var(--accent);
  transition: 0.3s;
}

.nav__list li a:hover::after {
  width: 100%;
}

/* =====================
   BURGER
===================== */

.burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
}

.burger span {
  width: 26px;
  height: 2px;
  background: var(--accent);
  transition: 0.3s;
}

/* =====================
   MOBILE MENU
===================== */

@media (max-width: 768px) {

  .burger {
    display: flex;
  }

  .nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100vh;
    background: rgba(11,12,16,0.98);
    backdrop-filter: blur(15px);

    display: flex;
    justify-content: center;
    align-items: center;

    transition: 0.4s;
  }

  .nav.active {
    right: 0;
  }

  .nav__list {
    flex-direction: column;
    gap: 25px;
    text-align: center;
  }

  .nav__list li a {
    font-size: 22px;
  }
}


.burger.active span:nth-child(1) {
  transform: rotate(45deg) translateY(6px);
}

.burger.active span:nth-child(2) {
  opacity: 0;
}

.burger.active span:nth-child(3) {
  transform: rotate(-45deg) translateY(-6px);
}


.grid-lines {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(rgba(166,255,77,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(166,255,77,0.05) 1px, transparent 1px);

  background-size: 40px 40px;

  opacity: 0.6;
}

.cube {
  position: absolute;
  width: 60px;
  height: 60px;
  background: rgba(166,255,77,0.08);
  border: 1px solid rgba(166,255,77,0.25);
  box-shadow: 0 0 25px rgba(166,255,77,0.15);
  backdrop-filter: blur(10px);
}

/* позиционирование */
.cube-1 {
  top: 60px;
  left: 60px;
}

.cube-2 {
  top: 180px;
  right: 70px;
}

.cube-3 {
  bottom: 80px;
  left: 140px;
}

.glow {
  position: absolute;
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(166,255,77,0.18),
    transparent 60%
  );

  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  filter: blur(20px);
  opacity: 0.6;
}

.cube {
  animation: float 6s ease-in-out infinite;
}

.cube-2 {
  animation-delay: 1s;
}

.cube-3 {
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

.hero__left {
    position: relative;
    z-index: 9;
}

.hero__right img {
    opacity: 0.2;
    height: 450px;
    object-fit: cover;
}




.section-head {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-bottom: 70px;
}

.section-line {
    width: 90px;
    height: 2px;
    background: var(--accent);
    box-shadow: 0 0 15px rgba(166,255,77,0.4);
}

.section-label {
    display: inline-block;
    color: var(--accent);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 12px;
}

.section-title {
    font-size: 52px;
    margin: 0;
}

.about__grid {
    display: grid;
    grid-template-columns: 1.3fr .7fr;
    gap: 40px;
    align-items: start;
}


.about__content {
    background:
        linear-gradient(
            145deg,
            rgba(20,23,32,.95),
            rgba(15,17,21,.95)
        );

    border: 1px solid rgba(166,255,77,0.08);

    border-radius: 24px;
    padding: 50px;

    position: relative;
    overflow: hidden;
}


.about__content::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;

    width: 120px;
    height: 2px;

    background: var(--accent);
}

.about__text {
    font-size: 20px;
    line-height: 1.9;
    color: var(--muted);
    margin-bottom: 25px;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 35px;
}

.about-tags span {
    padding: 12px 18px;
    border-radius: 50px;

    background: rgba(166,255,77,0.08);

    border: 1px solid rgba(166,255,77,0.12);

    color: var(--accent);

    transition: .3s;
}

.about-tags span:hover {
    background: var(--accent);
    color: #000;
}

.about-card {
    position: sticky;
    top: 120px;
}

.about-card__inner {
    background:
        linear-gradient(
            145deg,
            #141720,
            #0F1115
        );

    border: 1px solid rgba(166,255,77,.1);

    border-radius: 24px;
    padding: 40px;

    min-height: 260px;

    position: relative;
    overflow: hidden;
}

.about-mini-line {
    width: 70px;
    height: 2px;
    background: var(--accent);
    margin-bottom: 30px;
}

.about-card__inner::after {
    content: "";
    position: absolute;

    width: 250px;
    height: 250px;

    background:
        radial-gradient(
            circle,
            rgba(166,255,77,.12),
            transparent 70%
        );

    top: -100px;
    right: -100px;
}

@media(max-width:991px){

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

    .section-title{
        font-size:42px;
    }

    .about__content{
        padding:35px;
    }

    .about-card{
        position:relative;
        top:auto;
    }

}
.about {
    position: relative;
    overflow: hidden;
}

.about-cube {
    position: absolute;

    border: 1px solid rgba(166,255,77,.18);

    background:
        linear-gradient(
            145deg,
            rgba(166,255,77,.06),
            rgba(166,255,77,.02)
        );

    backdrop-filter: blur(8px);

    box-shadow:
        0 0 30px rgba(166,255,77,.08);

    animation: floatCube 7s ease-in-out infinite;
}

.cube-a {
    width: 70px;
    height: 70px;

    top: 80px;
    right: 6%;

    transform: rotate(15deg);
}

.cube-b {
    width: 45px;
    height: 45px;

    bottom: 120px;
    left: 4%;

    animation-delay: 1.5s;
}

.cube-c {
    width: 90px;
    height: 90px;

    top: 50%;
    right: -20px;

    transform: rotate(-18deg);

    animation-delay: 2.5s;
}

@keyframes floatCube {

    0%,100%{
        transform:
            translateY(0)
            rotate(10deg);
    }

    50%{
        transform:
            translateY(-18px)
            rotate(18deg);
    }

}

.about-cube::after{
    content:"";
    position:absolute;
    inset:0;

    background:
        radial-gradient(
            circle at center,
            rgba(166,255,77,.18),
            transparent 70%
        );

    opacity:.5;
}


.services {
    position: relative;
    overflow: hidden;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 24px;
}


.service-card {
    position: relative;

    padding: 40px;

    border-radius: 24px;

    background:
        linear-gradient(
            145deg,
            rgba(20,23,32,.98),
            rgba(15,17,21,.98)
        );

    border: 1px solid rgba(166,255,77,.08);

    overflow: hidden;

    transition: .4s ease;
opacity: 1;
}

.service-card:hover {

    transform:
        translateY(-8px);

    border-color:
        rgba(166,255,77,.18);

    box-shadow:
        0 0 45px rgba(166,255,77,.08);
}

.service-card::after{
    content:"";
    position:absolute;

    width:220px;
    height:220px;

    background:
        radial-gradient(
            circle,
            rgba(166,255,77,.08),
            transparent 70%
        );

    top:-100px;
    right:-100px;

    transition:.4s;
}

.service-card:hover::after{
    transform:scale(1.2);
}


.service-line{
    width:70px;
    height:2px;
    background:var(--accent);
    margin-bottom:30px;
}

.service-card h3{
    font-size:26px;
    margin-bottom:20px;
}

.service-card p{
    color:var(--muted);
    line-height:1.8;
}

.services-cube{
    position:absolute;
    z-index:0;

    border:1px solid rgba(166,255,77,.28);

    background:
        linear-gradient(
            145deg,
            rgba(166,255,77,.12),
            rgba(166,255,77,.03)
        );

    box-shadow:
        0 0 45px rgba(166,255,77,.12);

    backdrop-filter: blur(8px);

    animation:
        floatCube 8s ease-in-out infinite;
}
.services-cube::after{
    content:"";
    position:absolute;
    inset:0;

    background:
        radial-gradient(
            circle at center,
            rgba(166,255,77,.22),
            transparent 70%
        );

    opacity:.9;
}

.cube-s1{
    width:70px;
    height:70px;

    top:120px;
    right:5%;
}

.cube-s2{
    width:50px;
    height:50px;

    bottom:120px;
    left:3%;

    animation-delay:2s;
}

.cube-s3{
    width:90px;
    height:90px;

    top:55%;
    right:-20px;

    animation-delay:3s;
}

@media(max-width:991px){

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

}
.section {
    padding-top: 50px;
}

.services{
    position:relative;
    overflow:hidden;
}

.services .container{
    position:relative;
    z-index:2;
}

.services-decor{
    position:absolute;
    inset:0;
    z-index:1;
}
.portfolio-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
}

.project-card{
    background:
        linear-gradient(
            145deg,
            rgba(20,23,32,.98),
            rgba(15,17,21,.98)
        );

    border:
        1px solid rgba(166,255,77,.08);

    border-radius:28px;

    overflow:hidden;

    transition:.4s ease;

    position:relative;
}
.project-card:hover{
    transform:translateY(-8px);

    border-color:
        rgba(166,255,77,.16);

    box-shadow:
        0 0 40px rgba(166,255,77,.08);
}
.project-image{
    position:relative;
    height:280px;
    overflow:hidden;
}
.project-image img{
    width:100%;
    height:100%;
    object-fit:cover;

    transition:.6s ease;
}
.project-card:hover img{
    transform:scale(1.08);
}
.project-overlay{
    position:absolute;
    inset:0;

    background:
        linear-gradient(
            to top,
            rgba(11,12,16,.95),
            rgba(11,12,16,.15)
        );

    display:flex;
    align-items:end;
    padding:30px;

    opacity:0;
    transition:.4s ease;
}
.project-card:hover .project-overlay{
    opacity:1;
}
.project-content{
    padding:32px;
}
.project-content h3{
    margin:0 0 10px;
    font-size:26px;
}
.project-content p{
    color:var(--accent);
    margin-bottom:15px;
}
.project-content span{
    color:var(--muted);
    line-height:1.7;
}
.portfolio{
    position:relative;
    overflow:hidden;
}

.portfolio .container{
    position:relative;
    z-index:2;
}

.portfolio-decor{
    position:absolute;
    inset:0;
    z-index:1;
}
.portfolio-cube{
    position:absolute;

    border:
        1px solid rgba(166,255,77,.22);

    background:
        linear-gradient(
            145deg,
            rgba(166,255,77,.12),
            rgba(166,255,77,.03)
        );

    box-shadow:
        0 0 40px rgba(166,255,77,.08);

    animation:
        floatCube 9s ease-in-out infinite;
}
.cube-p1{
    width:90px;
    height:90px;

    top:120px;
    left:4%;
}

.cube-p2{
    width:60px;
    height:60px;

    top:45%;
    right:5%;

    animation-delay:2s;
}

.cube-p3{
    width:120px;
    height:120px;

    bottom:80px;
    left:8%;

    animation-delay:4s;
}
@media(max-width:1100px){

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

}

@media(max-width:768px){

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

}

.footer{
    padding:60px 0;

    border-top:1px solid rgba(166,255,77,.08);
}

.footer-inner{
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.footer-links{
    display:flex;
    gap:20px;
}

.footer-links a{
    color:var(--muted);
    transition:.3s;
}

.footer-links a:hover{
    color:var(--accent);
}

.contact-wrap{
    display:grid;
    grid-template-columns:1.2fr .8fr;
    gap:40px;
}

.contact-form{
    background:
        linear-gradient(
            145deg,
            rgba(20,23,32,.98),
            rgba(15,17,21,.98)
        );

    border:1px solid rgba(166,255,77,.08);

    border-radius:24px;

    padding:40px;
}

.contact-form input,
.contact-form textarea{
    width:100%;

    margin-bottom:16px;

    padding:14px;

    background:transparent;

    border:1px solid rgba(166,255,77,.12);

    color:#fff;

    outline:none;
}

.contact-form textarea{
    min-height:140px;
    resize:none;
}

.contact-card{
    background:
        linear-gradient(
            145deg,
            rgba(20,23,32,.98),
            rgba(15,17,21,.98)
        );

    border:1px solid rgba(166,255,77,.08);

    padding:20px;

    margin-bottom:16px;

    border-radius:16px;

    transition:.3s;
}

.contact-card:hover{
    border-color:rgba(166,255,77,.2);
    transform:translateX(6px);
}

.process-grid{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.process-item{
    background:
        linear-gradient(
            145deg,
            rgba(20,23,32,.98),
            rgba(15,17,21,.98)
        );

    border:1px solid rgba(166,255,77,.08);

    border-radius:24px;

    padding:30px;

    position:relative;

    transition:.4s ease;
opacity: 1;
}

.process-item:hover{
    transform:translateY(-6px);
    border-color:rgba(166,255,77,.18);
    box-shadow:0 0 40px rgba(166,255,77,.08);
}

.process-item span{
    color:var(--accent);
    font-size:14px;
    letter-spacing:2px;
}

.process-item h3{
    margin:15px 0 10px;
}

.process-item p{
    color:var(--muted);
}

.process{
    position:relative;
    overflow:hidden;
}

.process-decor{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
}

.process .container{
    position:relative;
    z-index:2;
}

.process-cube{
    position:absolute;

    width:80px;
    height:80px;

    border:1px solid rgba(166,255,77,.22);

    background:
        linear-gradient(
            145deg,
            rgba(166,255,77,.10),
            rgba(166,255,77,.03)
        );

    box-shadow:0 0 35px rgba(166,255,77,.08);

    animation:floatCube 8s ease-in-out infinite;
}

.p-cube-1{
    top:100px;
    right:6%;
}

.p-cube-2{
    bottom:80px;
    left:5%;

    width:60px;
    height:60px;

    animation-delay:2s;
}

.contact{
    position:relative;
    overflow:hidden;
}

.contact-decor{
    position:absolute;
    inset:0;
    z-index:1;
    pointer-events:none;
}

.contact .container{
    position:relative;
    z-index:2;
}

.contact-cube{
    position:absolute;

    width:90px;
    height:90px;

    border:1px solid rgba(166,255,77,.22);

    background:
        linear-gradient(
            145deg,
            rgba(166,255,77,.10),
            rgba(166,255,77,.03)
        );

    box-shadow:0 0 35px rgba(166,255,77,.08);

    animation:floatCube 9s ease-in-out infinite;
}

.c-cube-1{
    top:120px;
    left:4%;
}

.c-cube-2{
    bottom:100px;
    right:5%;

    width:70px;
    height:70px;

    animation-delay:2.5s;
}

@media (max-width: 1250px) {
.container {
    width: 1000px;
}
}
@media (max-width: 1050px) {
.container {
    width: 900px;
}
}
@media (max-width: 950px) {
.container {
    width: 700px;
}
.btn {
    margin-bottom: 25px;
}
.hero__grid {
    display: block;
        padding-top: 80px;
}
.hero h1 {
    font-size: 48px;
}
.hero__right img {
    height: auto;
    width: 100%;
}
.section-title {
        position: relative;
        z-index: 9;
    }
}
@media (max-width: 750px) {
.container {
    width: 95%;
}
.section {
    padding: 50px 0;
}
.process-grid {
    display: block;
}
.process-item {
    margin-bottom: 25px;
}
.footer-links {
    display: block;
}
.footer-inner {
    display: block;
    align-items: center;
    text-align: center;
}
.contact-wrap {
    display: block;
}
}