@import url('https://fonts.googleapis.com/css2?family=Onest:wght@100..900&display=swap');


* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Onest', sans-serif;
}

:root {
    --bg-dark: #0a0a0f;
    --bg-deep: #050508;
    --mint: #3DFFC0;
    --mint-light: #7FFFD4;
    --mint-glow: rgba(61, 255, 192, 0.15);
    --white: #ffffff;
    --white-soft: rgba(255, 255, 255, 0.85);
    --frost: rgba(255, 255, 255, 0.05);
}

body,
html {
    min-height: 100vh;
    background: var(--bg-deep);
    background-image: 
        radial-gradient(ellipse at top, rgba(61, 255, 192, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(61, 255, 192, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 20% 80%, rgba(127, 255, 212, 0.03) 0%, transparent 30%);
    color: var(--white);
    overflow-x: hidden;
}

@keyframes twinkle1 {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.2; }
}

@keyframes twinkle2 {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

@keyframes twinkle3 {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 0.1; }
}

.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    border-radius: 50%;
    background: var(--mint);
    aspect-ratio: 1;
}

.star:nth-child(1) { width: 4px; top: 5%; left: 30%; animation: twinkle1 2s ease-in-out infinite; }
.star:nth-child(2) { width: 5px; top: 8%; left: 35%; animation: twinkle2 2.5s ease-in-out infinite; }
.star:nth-child(3) { width: 4px; top: 3%; left: 40%; animation: twinkle3 3s ease-in-out infinite; }
.star:nth-child(4) { width: 4px; top: 12%; left: 45%; animation: twinkle1 2.2s ease-in-out infinite 0.5s; }
.star:nth-child(5) { width: 5px; top: 6%; left: 50%; animation: twinkle2 1.8s ease-in-out infinite 0.3s; }
.star:nth-child(6) { width: 4px; top: 15%; left: 55%; animation: twinkle3 2.8s ease-in-out infinite 0.7s; }
.star:nth-child(7) { width: 4px; top: 4%; left: 60%; animation: twinkle1 3.2s ease-in-out infinite 1s; }
.star:nth-child(8) { width: 5px; top: 10%; left: 65%; animation: twinkle2 2.1s ease-in-out infinite 0.2s; }
.star:nth-child(9) { width: 4px; top: 18%; left: 48%; animation: twinkle3 2.6s ease-in-out infinite 0.8s; }
.star:nth-child(10) { width: 4px; top: 7%; left: 70%; animation: twinkle1 1.9s ease-in-out infinite 0.4s; }
.star:nth-child(11) { width: 5px; top: 3%; left: 58%; animation: twinkle2 2.3s ease-in-out infinite 0.6s; }
.star:nth-child(12) { width: 4px; top: 14%; left: 42%; animation: twinkle3 2.7s ease-in-out infinite 0.9s; }
.star:nth-child(13) { width: 4px; top: 9%; left: 32%; animation: twinkle1 2s ease-in-out infinite 0.1s; }
.star:nth-child(14) { width: 5px; top: 5%; left: 68%; animation: twinkle2 2.4s ease-in-out infinite 0.4s; }
.star:nth-child(15) { width: 4px; top: 16%; left: 52%; animation: twinkle3 3.1s ease-in-out infinite 0.7s; }
.star:nth-child(16) { width: 4px; top: 11%; left: 62%; animation: twinkle1 2.6s ease-in-out infinite 0.2s; }
.star:nth-child(17) { width: 4px; top: 20%; left: 38%; animation: twinkle2 2.9s ease-in-out infinite 0.5s; }
.star:nth-child(18) { width: 4px; top: 22%; left: 56%; animation: twinkle3 2.2s ease-in-out infinite 0.8s; }
.star:nth-child(19) { width: 5px; top: 19%; left: 46%; animation: twinkle1 2.5s ease-in-out infinite 0.3s; }
.star:nth-child(20) { width: 4px; top: 24%; left: 64%; animation: twinkle2 3s ease-in-out infinite 0.6s; }

.container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

.btn-mint {
    background: linear-gradient(135deg, var(--mint) 0%, var(--mint-light) 100%);
    color: #000;
    border: none;
    padding: 0.9rem 2.25rem;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;

    &:hover {
        opacity: .8;
    }
}

.container {
    max-width: 1400px;
    margin: 0 auto;
}

.container nav { 
    margin-top: 10px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.container nav .center {
    display: flex;
    gap: 25px;
    font-size: 18px;
}

.container nav .center p {
    color: #ffffff96;
    transition: .35s ease all;
    font-weight: 500;
    cursor: pointer;

    &:hover {
        color: #fff;
    }
}

.btn-outline {
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 1.1rem 2.5rem;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
}

.hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: calc(100vh - 150px);
    padding: 4rem 2rem;
    margin-top: -50px;
}

.hero h1 {
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-text {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
}

.hero-buttons .btn-mint {
    padding: 1.1rem 2.5rem;
    font-size: 1.1rem;
    border-radius: 30px;
}

.stats {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    width: 100%;
    margin-top: -120px;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    flex: 1;
    padding: 0 2rem;
}

.stat-item i {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    margin-bottom: 1rem;
}

.stat-content {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.stat-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--white);
}

.stat-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.5;
}

.stat-divider {
    width: 1px;
    height: 100px;
    background: rgba(255, 255, 255, 0.1);
    align-self: center;
    flex-shrink: 0;
}

.projects-section {
    margin-top: 100px;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
}

.projects-wrapper {
    position: relative;
}

.projects {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.projects-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, var(--bg-deep));
    pointer-events: none;
}

.projects-cta {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}

.project-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
    cursor: pointer;
}

.project-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.project-card:hover img {
    transform: scale(1.05);
}

.project-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 2rem;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.project-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.3rem;
}

.project-info p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

.stack-section {
    margin-top: 100px;
    padding-bottom: 50px;
}

.stack-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
}

.stack-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 2.5rem 1rem;
    transition: all 0.35s ease;
    cursor: default;
    border-right: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

/* Убираем правый border у последнего в ряду */
.stack-item:nth-child(5n) {
    border-right: none;
}

/* Убираем нижний border у последнего ряда */
.stack-item:nth-last-child(-n+5) {
    border-bottom: none;
}

.stack-item:hover {
    background: rgba(255, 255, 255, 0.02);
}

.stack-item i {
    font-size: 1.6rem;
    opacity: 0.5;
    transition: all 0.35s ease;
}

.stack-item:hover i {
    opacity: 1;
}

.stack-item span {
    font-size: 1.1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.5);
    transition: all 0.35s ease;
}

.stack-item:hover span {
    color: rgba(255, 255, 255, 0.9);
}


/* Процесс работы */
.process-section {
    margin-top: 100px;
    padding: 0 2rem;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

.process-item {
    text-align: center;
    padding: 2rem;
}

.process-number {
    font-size: 3rem;
    font-weight: 700;
    color: var(--mint);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.process-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-item p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
}

/* Тарифы */
.pricing-section {
    margin-top: 100px;
    padding: 0 2rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.pricing-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    transition: all 0.35s ease;
}

.pricing-card:hover {
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

.pricing-card.popular {
    border-color: var(--mint);
    background: rgba(61, 255, 192, 0.05);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--mint);
    color: #000;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.pricing-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.pricing-price {
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--mint);
    margin-bottom: 2rem;
}

.pricing-features {
    list-style: none;
    text-align: left;
    margin-bottom: 2rem;
}

.pricing-features li {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.7rem 0;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
}

.pricing-features i {
    color: var(--mint);
    font-size: 1.2rem;
}

.pricing-card .btn-outline,
.pricing-card .btn-mint {
    width: 100%;
}

/* Отзывы */
.reviews-section {
    margin-top: 100px;
    padding: 0 2rem;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
}

.review-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2rem;
}

.review-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--mint) 0%, var(--mint-light) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #000;
}

.review-info h4 {
    font-size: 1rem;
    font-weight: 600;
}

.review-info span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.review-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.review-stars {
    display: flex;
    gap: 0.3rem;
}

.review-stars i {
    color: #FFD700;
    font-size: 1rem;
}


/* Бегущая строка */
.marquee-section {
    margin-top: 100px;
    overflow: hidden;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.marquee {
    display: flex;
    overflow: hidden;
}

.marquee-content {
    display: flex;
    gap: 3rem;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
}

.marquee-content span {
    font-size: 1.5rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Форма контактов */
.contact-section {
    margin-top: 100px;
    padding: 0 2rem;
    text-align: center;
}

.contact-subtitle {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 3rem;
    margin-top: -1.5rem;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 1.2rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    color: var(--white);
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    resize: none;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--mint);
    background: rgba(61, 255, 192, 0.05);
}

.contact-form textarea {
    margin-bottom: 1.5rem;
}

.contact-form .btn-mint {
    width: 100%;
    padding: 1.2rem;
    font-size: 1.1rem;
}

.contact-telegram {
    margin-top: 2rem;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
}

.contact-telegram a {
    color: var(--mint);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: opacity 0.3s ease;
}

.contact-telegram a:hover {
    opacity: 0.8;
}

/* Футер */
.footer {
    margin-top: 100px;
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-brand p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.5);
    line-height: 1.6;
    max-width: 280px;
}

.footer-links h4,
.footer-social h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    font-size: 0.95rem;
    margin-bottom: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.3rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background: var(--mint);
    border-color: var(--mint);
    color: #000;
    text-decoration: none;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    text-align: center;
}

.footer-bottom p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.4);
}

/* Адаптивность */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 4rem;
    }
    
    .stack-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .stack-item:nth-child(5n) {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .stack-item:nth-child(4n) {
        border-right: none;
    }
    
    .stack-item:nth-last-child(-n+4) {
        border-bottom: none;
    }
}

@media (max-width: 992px) {
    .hero h1 {
        font-size: 3.2rem;
    }
    
    .hero-text {
        font-size: 1.2rem;
    }
    
    .projects {
        grid-template-columns: 1fr;
    }
    
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .pricing-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
        margin: 0 auto;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stack-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .stack-item:nth-child(4n) {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .stack-item:nth-child(3n) {
        border-right: none;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .container nav {
        flex-direction: column;
        gap: 1.5rem;
        padding: 15px;
    }
    
    .container nav .center {
        gap: 15px;
        font-size: 16px;
    }
    
    .hero {
        min-height: auto;
        padding: 3rem 1rem;
        margin-top: 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-text {
        font-size: 1rem;
    }
    
    .hero-text br {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
        gap: 1rem;
    }
    
    .hero-buttons .btn-mint,
    .hero-buttons .btn-outline {
        width: 100%;
        text-align: center;
    }
    
    .stats {
        flex-direction: column;
        gap: 2rem;
        margin-top: 0;
        padding: 2rem 0;
    }
    
    .stat-divider {
        width: 80%;
        height: 1px;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .projects {
        grid-template-columns: 1fr;
    }
    
    .stack-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stack-item:nth-child(3n) {
        border-right: 1px solid rgba(255, 255, 255, 0.06);
    }
    
    .stack-item:nth-child(2n) {
        border-right: none;
    }
    
    .process-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand p {
        max-width: 100%;
    }
    
    .social-icons {
        justify-content: center;
    }
    
    .marquee-content span {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero h1 br {
        display: none;
    }
    
    .btn-mint,
    .btn-outline {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .pricing-price {
        font-size: 1.8rem;
    }
    
    .process-number {
        font-size: 2.5rem;
    }
}

/* Плавная прокрутка */
html {
    scroll-behavior: smooth;
}

/* Выделение текста */
::selection {
    background: var(--mint);
    color: #000;
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered animations for children */
.reveal .project-card,
.reveal .stack-item,
.reveal .process-item,
.reveal .review-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.revealed .project-card,
.reveal.revealed .stack-item,
.reveal.revealed .process-item,
.reveal.revealed .review-card {
    opacity: 1;
    transform: translateY(0);
}

.reveal.revealed .project-card:nth-child(1),
.reveal.revealed .process-item:nth-child(1),
.reveal.revealed .review-card:nth-child(1) { transition-delay: 0.1s; }
.reveal.revealed .project-card:nth-child(2),
.reveal.revealed .process-item:nth-child(2),
.reveal.revealed .review-card:nth-child(2) { transition-delay: 0.2s; }
.reveal.revealed .project-card:nth-child(3),
.reveal.revealed .process-item:nth-child(3),
.reveal.revealed .review-card:nth-child(3) { transition-delay: 0.3s; }
.reveal.revealed .project-card:nth-child(4),
.reveal.revealed .process-item:nth-child(4) { transition-delay: 0.4s; }
.reveal.revealed .project-card:nth-child(5) { transition-delay: 0.5s; }
.reveal.revealed .project-card:nth-child(6) { transition-delay: 0.6s; }

/* Theme Toggle Button */
.theme-toggle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    transition: all 0.3s ease;
}

.theme-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

.container nav .right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Light Theme */
body.light-theme {
    background: #f8f9fc;
    background-image: 
        radial-gradient(ellipse at top, rgba(61, 255, 192, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(61, 255, 192, 0.08) 0%, transparent 40%);
    color: #1a1a2e;
}

body.light-theme .stars {
    display: none;
}

body.light-theme .container nav h2 {
    color: #1a1a2e;
}

body.light-theme .container nav .center p {
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .container nav .center p:hover {
    color: #1a1a2e;
}

body.light-theme .theme-toggle {
    border-color: rgba(0, 0, 0, 0.12);
    background: rgba(0, 0, 0, 0.04);
    color: #1a1a2e;
}

body.light-theme .theme-toggle:hover {
    background: rgba(0, 0, 0, 0.08);
}

body.light-theme .hero h1 {
    color: #1a1a2e;
}

body.light-theme .hero-text {
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .btn-outline {
    color: #1a1a2e;
    border-color: rgba(26, 26, 46, 0.25);
}

body.light-theme .btn-outline:hover {
    border-color: rgba(26, 26, 46, 0.4);
    background: rgba(26, 26, 46, 0.05);
}

body.light-theme .stat-item i {
    background: rgba(61, 255, 192, 0.25);
    color: #0d9668;
}

body.light-theme .stat-title {
    color: #1a1a2e;
}

body.light-theme .stat-desc {
    color: rgba(26, 26, 46, 0.55);
}

body.light-theme .stat-divider {
    background: rgba(26, 26, 46, 0.1);
}

body.light-theme .section-title {
    color: #1a1a2e;
}

body.light-theme .projects-fade {
    background: linear-gradient(transparent, #f8f9fc);
}

body.light-theme .project-info {
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.85));
}

body.light-theme .project-info h3 {
    color: #fff;
}

body.light-theme .project-info p {
    color: rgba(255, 255, 255, 0.7);
}

body.light-theme .stack-item {
    border-color: rgba(26, 26, 46, 0.06);
}

body.light-theme .stack-item:hover {
    background: rgba(61, 255, 192, 0.12);
}

body.light-theme .stack-item i {
    color: rgba(26, 26, 46, 0.5);
}

body.light-theme .stack-item:hover i {
    color: #0d9668;
    opacity: 1;
}

body.light-theme .stack-item span {
    color: rgba(26, 26, 46, 0.55);
}

body.light-theme .stack-item:hover span {
    color: #1a1a2e;
}

body.light-theme .process-number {
    color: #0d9668;
    opacity: 0.4;
}

body.light-theme .process-item h3 {
    color: #1a1a2e;
}

body.light-theme .process-item p {
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .review-card {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(26, 26, 46, 0.08);
}

body.light-theme .review-info h4 {
    color: #1a1a2e;
}

body.light-theme .review-info span {
    color: rgba(26, 26, 46, 0.5);
}

body.light-theme .review-card > p {
    color: rgba(26, 26, 46, 0.7);
}

body.light-theme .marquee-section {
    border-color: rgba(26, 26, 46, 0.06);
}

body.light-theme .marquee-content span {
    color: rgba(26, 26, 46, 0.25);
}

body.light-theme .contact-subtitle {
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .contact-form input,
body.light-theme .contact-form textarea {
    background: #fff;
    border-color: rgba(26, 26, 46, 0.12);
    color: #1a1a2e;
}

body.light-theme .contact-form input::placeholder,
body.light-theme .contact-form textarea::placeholder {
    color: rgba(26, 26, 46, 0.4);
}

body.light-theme .contact-form input:focus,
body.light-theme .contact-form textarea:focus {
    border-color: var(--mint);
    background: #fff;
}

body.light-theme .contact-telegram {
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .contact-telegram a {
    color: #0d9668;
}

body.light-theme .footer {
    border-color: rgba(26, 26, 46, 0.06);
}

body.light-theme .footer-brand h2 {
    color: #1a1a2e;
}

body.light-theme .footer-brand p {
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .footer-links h4,
body.light-theme .footer-social h4 {
    color: #1a1a2e;
}

body.light-theme .footer-links a {
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .footer-links a:hover {
    color: #1a1a2e;
}

body.light-theme .social-icons a {
    background: rgba(26, 26, 46, 0.04);
    border-color: rgba(26, 26, 46, 0.1);
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .social-icons a:hover {
    background: var(--mint);
    border-color: var(--mint);
    color: #000;
}

body.light-theme .footer-bottom {
    border-color: rgba(26, 26, 46, 0.06);
}

body.light-theme .footer-bottom p {
    color: rgba(26, 26, 46, 0.45);
}

body.light-theme ::-webkit-scrollbar-track {
    background: #f8f9fc;
}

body.light-theme ::-webkit-scrollbar-thumb {
    background: rgba(26, 26, 46, 0.15);
}

body.light-theme ::-webkit-scrollbar-thumb:hover {
    background: rgba(26, 26, 46, 0.25);
}

/* Калькулятор стоимости */
.calculator-section {
    margin-top: 100px;
    padding: 0 2rem;
}

.calculator-subtitle {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    margin-top: -1.5rem;
    margin-bottom: 3rem;
}

.calculator {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px;
    padding: 2.5rem;
}

.calc-options {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.calc-group h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: rgba(255, 255, 255, 0.8);
}

.calc-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.calc-btn {
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-btn:hover {
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.calc-btn.active {
    background: var(--mint);
    border-color: var(--mint);
    color: #000;
    font-weight: 600;
}

.calc-checkboxes {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.calc-checkbox {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calc-checkbox:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.calc-checkbox input {
    display: none;
}

.calc-checkbox .checkmark {
    width: 22px;
    height: 22px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.calc-checkbox .checkmark::after {
    content: '✓';
    color: #000;
    font-size: 14px;
    font-weight: 700;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.calc-checkbox input:checked + .checkmark {
    background: var(--mint);
    border-color: var(--mint);
}

.calc-checkbox input:checked + .checkmark::after {
    opacity: 1;
}

.calc-checkbox .label-text {
    flex: 1;
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.8);
}

.calc-checkbox .label-price {
    font-size: 0.85rem;
    color: var(--mint);
    font-weight: 500;
}

.calc-result {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    text-align: center;
}

.calc-total {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.total-label {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.6);
}

.total-price {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--mint);
}

.calc-note {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 1.5rem;
}

.calc-submit {
    padding: 1rem 3rem;
    font-size: 1.1rem;
}

/* Light theme calculator */
body.light-theme .calculator {
    background: rgba(255, 255, 255, 0.8);
    border-color: rgba(26, 26, 46, 0.1);
}

body.light-theme .calc-group h4 {
    color: #1a1a2e;
}

body.light-theme .calc-btn {
    background: rgba(26, 26, 46, 0.05);
    border-color: rgba(26, 26, 46, 0.1);
    color: rgba(26, 26, 46, 0.7);
}

body.light-theme .calc-btn:hover {
    border-color: rgba(26, 26, 46, 0.2);
    background: rgba(26, 26, 46, 0.08);
}

body.light-theme .calc-btn.active {
    background: var(--mint);
    border-color: var(--mint);
    color: #000;
}

body.light-theme .calc-checkbox {
    background: rgba(26, 26, 46, 0.03);
    border-color: rgba(26, 26, 46, 0.1);
}

body.light-theme .calc-checkbox:hover {
    border-color: rgba(26, 26, 46, 0.2);
}

body.light-theme .calc-checkbox .checkmark {
    border-color: rgba(26, 26, 46, 0.3);
}

body.light-theme .calc-checkbox .label-text {
    color: #1a1a2e;
}

body.light-theme .calc-result {
    border-color: rgba(26, 26, 46, 0.1);
}

body.light-theme .total-label {
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .calc-note {
    color: rgba(26, 26, 46, 0.5);
}

body.light-theme .calculator-subtitle {
    color: rgba(26, 26, 46, 0.6);
}

@media (max-width: 768px) {
    .calc-checkboxes {
        grid-template-columns: 1fr;
    }
    
    .calc-buttons {
        flex-direction: column;
    }
    
    .calc-btn {
        width: 100%;
        text-align: center;
    }
    
    .total-price {
        font-size: 2rem;
    }
    
    .calculator {
        padding: 1.5rem;
    }
}

/* Language Toggle */
.lang-toggle {
    padding: 0.5rem 0.8rem;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lang-toggle:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.3);
}

body.light-theme .lang-toggle {
    border-color: rgba(26, 26, 46, 0.15);
    background: rgba(26, 26, 46, 0.05);
    color: #1a1a2e;
}

body.light-theme .lang-toggle:hover {
    background: rgba(26, 26, 46, 0.1);
}

/* Notification */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    min-width: 320px;
    max-width: 420px;
    z-index: 9999;
    transform: translateX(calc(100% + 50px));
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(61, 255, 192, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 1.4rem;
    color: var(--mint);
}

.notification.error .notification-icon {
    background: rgba(255, 100, 100, 0.15);
}

.notification.error .notification-icon i {
    color: #ff6464;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #fff;
}

.notification-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    font-size: 1.3rem;
    transition: color 0.3s;
    display: flex;
}

.notification-close:hover {
    color: #fff;
}

body.light-theme .notification {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(26, 26, 46, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.light-theme .notification-title {
    color: #1a1a2e;
}

body.light-theme .notification-message {
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .notification-close {
    color: rgba(26, 26, 46, 0.4);
}

body.light-theme .notification-close:hover {
    color: #1a1a2e;
}

@media (max-width: 480px) {
    .notification {
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
    }
}


/* Notification */
.notification {
    position: fixed;
    top: 30px;
    right: 30px;
    background: rgba(10, 10, 15, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.25rem 1.5rem;
    align-items: flex-start;
    gap: 1rem;
    min-width: 320px;
    max-width: 420px;
    z-index: 9999;
    transform: translateX(calc(100% + 50px));
    opacity: 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(20px);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.notification.show {
    transform: translateX(0);
    opacity: 1;
}

.notification-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(61, 255, 192, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.notification-icon i {
    font-size: 1.4rem;
    color: var(--mint);
}

.notification.error .notification-icon {
    background: rgba(255, 100, 100, 0.15);
}

.notification.error .notification-icon i {
    color: #ff6464;
}

.notification-content {
    flex: 1;
}

.notification-title {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: #fff;
}

.notification-message {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.5;
}

.notification-close {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    padding: 0;
    font-size: 1.3rem;
    transition: color 0.3s;
    display: flex;
}

.notification-close:hover {
    color: #fff;
}

body.light-theme .notification {
    background: rgba(255, 255, 255, 0.95);
    border-color: rgba(26, 26, 46, 0.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

body.light-theme .notification-title {
    color: #1a1a2e;
}

body.light-theme .notification-message {
    color: rgba(26, 26, 46, 0.6);
}

body.light-theme .notification-close {
    color: rgba(26, 26, 46, 0.4);
}

body.light-theme .notification-close:hover {
    color: #1a1a2e;
}

@media (max-width: 480px) {
    .notification {
        right: 15px;
        left: 15px;
        min-width: auto;
        max-width: none;
    }
}

.footer-email {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 1rem;
}

body.light-theme .footer-email {
    color: rgba(26, 26, 46, 0.6);
}