
/* =========================
   GLOBAL
========================= */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Montserrat',sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#04130a;
    color:white;
    overflow-x:hidden;
    position:relative;
}

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

body::before{
    content:"";
    position:fixed;
    width:700px;
    height:700px;
    background:linear-gradient(45deg,#00ff88,#00c853);
    border-radius:50%;
    filter:blur(180px);
    top:-250px;
    left:-200px;
    opacity:0.35;
    z-index:-1;
}

body::after{
    content:"";
    position:fixed;
    width:650px;
    height:650px;
    background:linear-gradient(45deg,#00ff99,#00ffcc);
    border-radius:50%;
    filter:blur(200px);
    bottom:-250px;
    right:-200px;
    opacity:0.25;
    z-index:-1;
}

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

header{
    width:100%;
    padding:25px 8%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    position:fixed;
    top:0;
    backdrop-filter:blur(15px);
    background:rgba(0,0,0,0.25);
    border-bottom:1px solid rgba(0,255,136,0.15);
    z-index:1000;
}



.logo{
    font-size:32px;
    font-weight:900;
    letter-spacing:2px;
    background:linear-gradient(90deg,#00ff88,#00ffcc,#00c853);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    width: 5px; /* уменьшаешь */
}


/* =========================
   NAVIGATION
========================= */

nav{
    display:flex;
    gap:35px;
}

nav a{
    color:white;
    text-decoration:none;
    font-weight:600;
    transition:0.3s;
    position:relative;
}

nav a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-7px;
    width:0%;
    height:2px;
    background:#00ff88;
    transition:0.3s;
}

nav a:hover::after{
    width:100%;
}

nav a:hover{
    color:#00ff88;
}

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

.login-btn,
.back-btn,
.project-btn,
.main-btn,
.card button{
    border:none;
    cursor:pointer;
    transition:0.35s;
    font-weight:800;
}

/* LOGIN */

.buttons{
    display:flex;
    gap:12px;
    align-items:center;
}

.login-btn{
    padding:14px 28px;
    border-radius:16px;
    background:linear-gradient(135deg,#00ff88,#00c853);
    color:#001b0d;
    box-shadow:0 0 30px rgba(0,255,136,0.4);
}

.login-btn:hover{
    transform:translateY(-4px) scale(1.05);
    box-shadow:0 0 40px rgba(0,255,136,0.7);
}

/* BACK */

.back-btn{
    padding:14px 28px;
    border-radius:16px;
    background:linear-gradient(135deg,#00ff88,#00c853);
    color:#001b0d;
    box-shadow:0 0 30px rgba(0,255,136,0.35);
}

.back-btn:hover{
    transform:scale(1.05);
    box-shadow:0 0 40px rgba(0,255,136,0.55);
}

/* MAIN BUTTONS */

.main-btn{
    padding:18px 36px;
    border-radius:18px;
    font-size:16px;
}

.btn1{
    background:linear-gradient(135deg,#00ff88,#00c853);
    color:#001b0d;
    box-shadow:0 0 35px rgba(0,255,136,0.45);
}

.btn2{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(0,255,136,0.15);
    color:white;
}

.main-btn:hover{
    transform:translateY(-5px) scale(1.05);
}

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

.hero{
    min-height:100vh;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:150px 8% 80px;
    gap:50px;
    text-align:center;
}

.hero-text{
    max-width:700px;
}

.hero-text h1{
    font-size:78px;
    line-height:1;
    margin-bottom:25px;
    font-weight:900;
}

.hero-text p{
    color:#b5d9c5;
    font-size:18px;
    line-height:1.8;
    margin-bottom:40px;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    gap:20px;
    flex-wrap:wrap;
}

/* =========================
   TITLES
========================= */

.gradient{
    background:linear-gradient(90deg,#00ff88,#00ffcc,#00c853);
    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;
}

.top{
    padding-top:170px;
    text-align:center;
    margin-bottom:70px;
}

.top h1{
    font-size:72px;
    font-weight:900;
    margin-bottom:20px;
}

.top p{
    color:#b7d8c4;
    font-size:18px;
}

.section-title{
    text-align:center;
    margin-bottom:60px;
}

.section-title h2{
    font-size:56px;
    font-weight:900;
    margin-bottom:15px;
}

.section-title p{
    color:#b7d8c4;
}

/* =========================
   CARDS
========================= */

.cards{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:80px;
    padding:0px 8% 220px;
}

.card{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(0,255,136,0.12);
    border-radius:28px;
    padding:35px;
    backdrop-filter:blur(18px);
    transition:0.35s;
    position:relative;
    overflow:hidden;
}

.card::before{
    content:"";
    position:absolute;
    width:220px;
    height:220px;
    background:linear-gradient(45deg,#00ff88,#00c853);
    border-radius:50%;
    filter:blur(90px);
    top:-80px;
    right:-80px;
    opacity:0.22;
}

.card:hover{
    transform:translateY(-10px);
    border-color:#00ff88;
    box-shadow:0 0 45px rgba(0,255,136,0.18);
}

.card h3{
    font-size:28px;
    margin-bottom:15px;
    color:#00ff99;
}

.card p{
    color:#b9d8c4;
    line-height:1.7;
    margin-bottom:25px;
}

.card button{
    padding:12px 24px;
    border-radius:14px;
    background:linear-gradient(135deg,#00ff88,#00c853);
    color:#001b0d;
}

.card button:hover{
    transform:scale(1.05);
    box-shadow:0 0 25px rgba(0,255,136,0.45);
}

/* =========================
   PROJECTS
========================= */

.projects{
    padding:0 8% 100px;
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
}

.project-card{
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(0,255,136,0.15);
    border-radius:28px;
    overflow:hidden;
    backdrop-filter:blur(15px);
    transition:0.35s;
    position:relative;
}

.project-card:hover{
    transform:translateY(-10px);
    border-color:#00ff88;
    box-shadow:0 0 40px rgba(0,255,136,0.15);
}

.project-image{
    width:100%;
    height:230px;
    object-fit:cover;
}

.project-content{
    padding:28px;
}

.project-content h2{
    font-size:28px;
    margin-bottom:15px;
    color:#00ff99;
}

.project-content p{
    color:#c0d9cb;
    line-height:1.7;
    margin-bottom:25px;
}

.project-btn{
    width:100%;
    padding:16px;
    border-radius:16px;
    background:linear-gradient(135deg,#00ff88,#00c853);
    color:#001b0d;
    font-size:16px;
}

.project-btn:hover{
    transform:scale(1.03);
    box-shadow:0 0 30px rgba(0,255,136,0.4);
}

/* =========================
   ABOUT
========================= */

.about{
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding:180px 8% 120px;
}

.about-box{
    max-width:1100px;
    width:100%;
    padding:60px;
    border-radius:35px;
    background:rgba(255,255,255,0.04);
    border:1px solid rgba(0,255,136,0.12);
    backdrop-filter:blur(18px);
    position:relative;
    overflow:hidden;
}

.about-box::before{
    content:"";
    position:absolute;
    width:320px;
    height:320px;
    background:linear-gradient(45deg,#00ff88,#00c853);
    border-radius:50%;
    filter:blur(100px);
    top:-120px;
    right:-120px;
    opacity:0.2;
}

.about-title{
    font-size:72px;
    font-weight:900;
    margin-bottom:25px;
    line-height:1;
}

.about-text{
    color:#bdd8c8;
    font-size:18px;
    line-height:2;
    margin-bottom:45px;
}

/* =========================
   INFO GRID
========================= */

.info-grid{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
}

.info-card{
    padding:30px;
    border-radius:24px;
    background:rgba(255,255,255,0.03);
    border:1px solid rgba(0,255,136,0.08);
    transition:0.35s;
}

.info-card:hover{
    transform:translateY(-8px);
    border-color:#00ff88;
    box-shadow:0 0 35px rgba(0,255,136,0.12);
}

.info-card h3{
    font-size:24px;
    margin-bottom:15px;
    color:#00ff99;
}

.info-card p{
    color:#b7d8c4;
    line-height:1.8;
}

/* =========================
   FOOTER
========================= */

footer{
    padding:40px;
    text-align:center;
    border-top:1px solid rgba(0,255,136,0.1);
    color:#82b396;
    background:rgba(255,255,255,0.02);
}

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

@media(max-width:950px){

.hero{
    flex-direction:column;
    text-align:center;
}

.hero-text h1{
    font-size:52px;
}

nav{
    display:none;
}

}

@media(max-width:800px){

.about-title{
    font-size:48px;
}

.about-box{
    padding:35px;
}

}

@media(max-width:700px){

.top h1{
    font-size:48px;
}

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



}
.modal{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.6);
    backdrop-filter:blur(10px);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-box{
    width:350px;
    padding:30px;
    border-radius:20px;
    background:rgba(255,255,255,0.05);
    border:1px solid rgba(0,255,136,0.2);
    box-shadow:0 0 40px rgba(0,255,136,0.2);
    text-align:center;
    animation:pop 0.25s ease;
}

.modal-box input{
    width:100%;
    padding:12px;
    margin:8px 0;
    border-radius:12px;
    border:1px solid rgba(0,255,136,0.2);
    background:rgba(0,0,0,0.2);
    color:white;
}

.modal-box button{
    width:100%;
    padding:12px;
    margin-top:10px;
    border:none;
    border-radius:12px;
    background:linear-gradient(135deg,#00ff88,#00c853);
    font-weight:800;
    cursor:pointer;
}

.close-btn{
    margin-top:10px;
    background:rgba(255,255,255,0.05);
    color:white;
}

@keyframes pop{
    from{transform:scale(0.7); opacity:0;}
    to{transform:scale(1); opacity:1;}
}


.settings-btn{
    width:45px;
    height:45px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:0;
    border-radius:10px;
}

.settings-btn i{
    font-size:18px;
}

.footer{
    width:100%;
    padding:20px 40px;
    background:#111;
    color:white;

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

.footer-content{
    display:flex;
    align-items:center;
    justify-content:center; /* центр по горизонтали */
    gap:20px;
    flex-wrap:wrap;
    text-align: center;
}

.footer-inner{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:8px;
}

.footer-logo{
    width:40px; /* было 80px */
    height:auto;
    display:block;
}


.footer__copyright{
    margin:0;
    font-size:14px;
    line-height:1.2;
}

@media (max-width: 480px) {

body {
    overflow-x: hidden;
}

/* HEADER */
header {
    padding: 15px 5%;
}

.logo {
    font-size: 22px;
}

.logo-img {
    width: 18px;
}

/* HERO */
.hero {
    padding: 120px 5% 60px;
    gap: 25px;
}

.hero-text h1 {
    font-size: 34px;
    line-height: 1.1;
}

.hero-text p {
    font-size: 14px;
}

/* BUTTONS */
.hero-buttons {
    flex-direction: column;
    gap: 12px;
}

.main-btn {
    width: 100%;
    font-size: 14px;
    padding: 14px 20px;
}

/* SECTIONS TITLES */
.top h1 {
    font-size: 32px;
}

.section-title h2 {
    font-size: 28px;
}

/* CARDS */
.cards {
    gap: 20px;
    padding: 0 5% 120px;
}

.card {
    padding: 20px;
    border-radius: 18px;
}

.card h3 {
    font-size: 20px;
}

/* PROJECTS */
.projects {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 5% 80px;
}

.project-content h2 {
    font-size: 20px;
}

/* ABOUT */
.about {
    padding: 120px 5% 80px;
}

.about-box {
    padding: 25px;
    border-radius: 20px;
}

.about-title {
    font-size: 32px;
}

.about-text {
    font-size: 14px;
    line-height: 1.7;
}

/* INFO GRID */
.info-grid {
    grid-template-columns: 1fr;
}

/* NAV */
nav {
    display: none;
}

/* MODAL */
.modal-box {
    width: 90%;
    padding: 20px;
}

/* FOOTER */
.footer {
    padding: 15px;
    flex-direction: column;
    text-align: center;
}

.footer-content {
    flex-direction: column;
    gap: 10px;
}

.footer-logo {
    width: 30px;
}

}
