* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Theme (Main) - Reworked teal/indigo cosmic */
    --bg-primary: #0f172a;
    --bg-secondary: linear-gradient(145deg, #1e293b, #334155);
    --bg-hero: linear-gradient(rgba(15, 23, 42, 0.95), rgba(15, 23, 42, 0.98)), url("https://images.unsplash.com/photo-1462331940025-496dfbfc7564?q=80&w=2070&auto=format&fit=crop");
    /* cosmic nebula */
    --bg-card: linear-gradient(145deg, #1e293b, #0f172a);
    --bg-header: rgba(30, 41, 59, 0.9);
    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-accent: #ffffff;
    --border: rgba(255, 255, 255, 0.1);
    --accent: linear-gradient(135deg, #06b6d4, #3b82f6);
    --accent-glow: rgba(6, 182, 212, 0.5);
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.7);
    --shadow-hover: 0 20px 50px rgba(0, 0, 0, 0.85);
}



/* </xai:function_call >

<xai:function_call name="edit_file">
<parameter name="path">Frontend/main.css */

#scrollProgress {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    width: 0%;
    background: #111;
    z-index: 9999;
    transition: width 0.1s;
}

html {
    scroll-behavior: smooth;
    max-width: 100%;
}

body {
    -webkit-font-smoothing: antialiased;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    max-width: 100%;
    font-family: 'Inter', sans-serif;
    background: var(--bg-hero);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}

.header {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 20px 0;
    position: fixed;
    top: 0;
    backdrop-filter: blur(14px);
    background: var(--bg-header);
    z-index: 1000;
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
}


header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
}



nav a {
    margin: 0 15px;
    text-decoration: none;
    color: var(--text-accent);
    font-weight: 500;
    scroll-behavior: smooth;
    transition: color 0.3s ease;
}

nav a:hover {
    color: var(--accent);
}

.logo {
    font-weight: 800;
    font-size: 20px;
}

.hero {
    padding: 120px 0;
    text-align: center;
}

.hero h1 {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--text-primary);
}

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

button {
    cursor: pointer;
}

.btn {
    background: var(--accent);
    color: var(--text-accent);
    padding: 14px 28px;
    border-radius: 14px;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    border: none;
    box-shadow: 0 4px 15px var(--accent-glow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px var(--accent-glow);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.btn.outline {
    background: transparent;
    border: 2px solid #111;
    color: #111;
}

.btn.small {
    padding: 10px 18px;
}

.services,
.pricing,
.contact {
    padding: 100px 0;
    text-align: center;
}

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.card {
    padding: 30px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.pricing-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
}

.price-card {
    flex: 1 1 320px;
    padding: 40px;
    border-radius: 20px;
    background: var(--bg-card);
    min-height: 420px;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    position: relative;
    color: var(--text-primary);
}


.price-card ul {
    list-style: none;
    margin: 20px 0;
}

.price-card li {
    margin-bottom: 10px;
}

.card,
.price-card {
    transition: transform 0.2s ease;
    transform-style: preserve-3d;
}

.featured {

    background-color: #f2f2f2;


    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #111;
    color: white;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 12px;
}

.contact-form {
    margin-top: 30px;
}

.contact-form input,
.social-select {
    padding: 14px;
    margin: 10px;
    border-radius: 10px;
    border: 1px solid var(--border);
    width: 250px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.contact-form input::placeholder {
    color: var(--text-secondary);
}

footer {
    text-align: center;
    padding: 30px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    margin-top: 40px;
    color: var(--text-secondary);
    transition: all 0.3s ease;
}

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

.fade-in {
    opacity: 0;
    transform: translateY(40px);
    transition: 0.8s ease;
}

.fade-in.show {
    opacity: 1;
    transform: translateY(0);
}

.margin-bottom {
    margin-bottom: 200px;
}

input,
select,
textarea {
    font-size: 16px;
}

.btn::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    opacity: 0;
    transition: 0.4s;
}

.btn:hover::after {
    opacity: 1;
}

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

.card::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;

    background: linear-gradient(120deg,
            transparent,
            rgba(255, 255, 255, 0.7),
            transparent);

    transition: 0.6s;
}

.card:hover::before {
    left: 100%;
}

.card,
.price-card,
.hero {
    will-change: transform;
}

.price-card {
    min-height: 100%;
}

.trust-block,
.expert,
.trust-footer {
    padding: 40px 20px;
    text-align: center;
    color: #555;
    max-width: 900px;
    margin: auto;
    font-size: 15px;
    line-height: 1.6;
}

.hero-trust {
    margin-top: 15px;
    font-size: 14px;
    color: #777;
}

.pricing-trust,
.contact-trust {
    text-align: center;
    max-width: 700px;
    margin: 20px auto;
    color: #555;
    font-size: 15px;
}

.social-select {
    width: 100%;
    max-width: 300px;
    padding: 12px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 8px;
    background-color: #fff;
    color: #333;
    cursor: pointer;
    outline: none;
    appearance: none;
    transition: all 0.3s ease;
}

/* эффект при наведении */
.social-select:hover {
    border-color: #007BFF;
}

/* эффект при нажатии */
.social-select:focus {
    border-color: #007BFF;
    box-shadow: 0 0 5px rgba(0, 123, 255, 0.4);
}

.social-select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' fill='gray'%3E%3Cpath d='M5 7l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 16px;
}



.popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: 0.3s;
    z-index: 9999;
}

.popup.active {
    opacity: 1;
    pointer-events: auto;
}

.popup-content {
    background: white;
    padding: 30px;
    border-radius: 12px;
    text-align: center;
    max-width: 300px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: pop 0.3s ease;
}

.popup-content button {
    margin-top: 15px;
    padding: 10px 20px;
    border: none;
    background: black;
    color: white;
    border-radius: 6px;
    cursor: pointer;
}


body {

    background: var(--bg-hero);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;

    color: var(--text-primary);

}

/* HEADER */

.header {

    background: rgba(15, 15, 18, 0.75);

    backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);

    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.6);

}

/* HERO */

.hero h1 {

    color: #ffffff;

}

.hero p {

    color: #9ca3af;

}

/* BUTTON */

.btn {

    background: linear-gradient(135deg,
            #6ee7ff,
            #7c3aed);

    border: none;

    color: white;

    box-shadow:
        0 10px 30px rgba(124, 58, 237, 0.4);

}

.btn:hover {

    transform: translateY(-3px);

    box-shadow:
        0 20px 40px rgba(124, 58, 237, 0.6);

}

/* CARD */

.card {

    background: linear-gradient(145deg,
            #16161a,
            #0f0f11);

    border: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.6);

}

.card:hover {

    transform: translateY(-8px) scale(1.02);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(110, 231, 255, 0.25);

}

/* PRICE CARD */

.price-card {

    background: linear-gradient(145deg,
            #18181c,
            #0f0f11);

    border: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow:
        0 15px 40px rgba(0, 0, 0, 0.7);

}

/* TEXT */

.section-desc,
.trust-block,
.expert,
.trust-footer {

    color: #9ca3af;

}

/* FOOTER */

footer {

    background: #0f0f11;

    border-top: 1px solid rgba(255, 255, 255, 0.08);

    color: #9ca3af;

}



/* FLOATING CONTACT BUTTON */

.contact-fab {
    position: fixed;
    right: 60px;
    bottom: 100px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* кнопка */

.fab-main {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: none;
    cursor: pointer;

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

    background: linear-gradient(135deg, #6ee7ff, #7c3aed);

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
    transition: 0.3s;
}

.fab-main img {
    width: 28px;
    height: 28px;
    filter: invert(1);
}

.fab-main:hover {
    transform: scale(1.1);
}

/* меню */

.fab-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;

    margin-bottom: 12px;

    opacity: 0;
    pointer-events: none;

    transform: translateY(10px);
    transition: 0.25s;
}

.fab-menu.active {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

/* иконки */

.fab-item {
    width: 48px;
    height: 48px;

    border-radius: 50%;

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

    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);

    transition: 0.25s;
}

.fab-item img {
    width: 24px;
    height: 24px;
}

.fab-item:hover {
    transform: scale(1.15);
}

.whatsapp {
    background: #25D366;
}

.telegram {
    background: #229ED9;
}

.phone {
    background: #444;
}

.insta {
    background: linear-gradient(45deg,
            #f09433,
            #e6683c,
            #dc2743,
            #cc2366,
            #bc1888);
}

.logo img {
    height: 50px;
    width: auto
}

.img_h1 {
    display: flex;
    flex-direction: row;
    gap: 5px;
}

.logo h1 {
    font-size: 30px;
}

.img_h1 img {
    background-color: #0f0f11;
}




.width {
    margin-left: 0px;
    margin-right: 0px;
}

.container-1 {
    max-width: 100%;
}

/* MOBILE NAV FIX */



nav {
    scrollbar-width: thin;
    scrollbar-color: #999 transparent;
}

nav::-webkit-scrollbar {
    height: 4px;
}

nav::-webkit-scrollbar-track {
    background: transparent;
}

nav::-webkit-scrollbar-thumb {
    background: #999;
    border-radius: 10px;
}


.header {
    position: relative;
}

.header::after {
    content: "";
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    width: 40px;
    pointer-events: none;
    /* background: linear-gradient(to right, transparent, white); */
}

nav::after {
    font-size: 14px;
    opacity: 0.5;
    margin-left: 8px;
}



nav {
    animation: navHint 2s ease 1;
}


nav::-webkit-scrollbar {
    height: 6px;
}

nav::-webkit-scrollbar-thumb {
    background: #5d5d5d;
    border-radius: 10px;
}



.contact-fab {
    position: fixed;
    right: 25px;
    bottom: 100px;

    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;

    /* начальное состояние */
    transform: translateY(120px);
    opacity: 0;

    transition:
        transform .6s cubic-bezier(.22, 1, .36, 1),
        opacity .4s;

}

/* когда кнопка появляется */

.contact-fab.show {
    transform: translateY(0);
    opacity: 1;
}

/* когда уезжает */

.contact-fab.hide {
    transform: translateY(120px);
    opacity: 0;
}




/* FIX CONTACT FAB BUTTON */

.contact-fab {
    position: fixed !important;
    right: 35px !important;
    bottom: 80px !important;

    z-index: 9999 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    opacity: 1 !important;
    transform: none !important;
    pointer-events: auto !important;
}



/* CARD */

.portfolio-card {
    position: relative;
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    cursor: pointer;
    transition: .35s;
    border: 1px solid var(--border);
    box-shadow: var(--shadow);
    color: var(--text-primary);
}

.portfolio-card img {

    width: 100%;
    height: 220px;
    object-fit: cover;
    filter: grayscale(100%);
    transition: .5s;

}

.portfolio-card:hover img {

    filter: grayscale(0%);
    transform: scale(1.05);

}

.card-info {

    padding: 20px;

}

.card-tag {

    font-size: 12px;
    color: #777;

}


/* PREMIUM */

.premium {

    border: 2px solid #111;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.12);

}




/* NEW DESIGN */

.portfolio-card {

    background: linear-gradient(145deg, #16161a, #0f0f11);
    border: 1px solid rgba(255, 255, 255, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);

}

.portfolio-card:hover {

    transform: translateY(-8px) scale(1.02);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(110, 231, 255, 0.25);

}

.portfolio-card img {

    filter: grayscale(100%) brightness(0.8);

}

.portfolio-card:hover img {

    filter: grayscale(0%) brightness(1);
    transform: scale(1.05);

}





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

.portfolio {

    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;

    max-width: 1100px;
    margin: auto;

    padding: 60px 30px;

}

/* ссылка не ломает сетку */

.portfolio a {

    display: block;

}

/*============================= /
/ CARD /
/ ============================= */

.portfolio-card {

    aspect-ratio: 1 / 1;

    display: flex;
    flex-direction: column;

    background: linear-gradient(145deg, #16161a, #0f0f11);

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);

    transition: .35s;

    cursor: pointer;

}

/* hover */

.portfolio-card:hover {

    transform: translateY(-6px) scale(1.03);

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.8),
        0 0 25px rgba(110, 231, 255, 0.25);

}

/* ============================= /
/ IMAGE /
/ ============================= */

.portfolio-card img {

    width: 100%;
    height: 70%;

    object-fit: cover;

    filter: grayscale(100%) brightness(0.8);

    transition: .5s;

}

.portfolio-card:hover img {

    filter: grayscale(0%) brightness(1);

    transform: scale(1.05);

}

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

.card-info {

    height: 30%;

    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 12px;

}

.card-tag {

    font-size: 12px;
    color: #9ca3af;

}



/* ========================= */
/* TRUST SECTION */
/* ========================= */

.trust-section {

    padding: 100px 0;

    /* тёмная тема — блок заметно светлее страницы */
    background: rgba(255, 255, 255, 0.10);

    backdrop-filter: blur(12px);

    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);

    box-shadow:
        0 0 80px rgba(110, 231, 255, 0.08) inset;
    position: relative;

}

.trust-section::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #6ee7ff, transparent);
    opacity: .4;
}





.trust-container {

    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;

}

.trust-text h2 {

    font-size: 34px;
    margin-bottom: 20px;

}

.trust-desc {

    color: var(--text-secondary);
    margin-bottom: 30px;

}

.trust-stats {

    display: flex;
    gap: 40px;
    margin-bottom: 25px;

}

.trust-item {

    text-align: center;

}

.trust-number {

    font-size: 32px;
    font-weight: 800;
    background: var(--accent);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;

}

.trust-small {

    color: var(--text-secondary);
    max-width: 500px;

}

/* TEAM */

.trust-team {

    display: flex;
    gap: 25px;

}

.team-card {

    background: var(--bg-card);
    border: 1px solid var(--border);

    border-radius: 18px;
    overflow: hidden;

    width: 180px;

    box-shadow: var(--shadow);

    transition: .3s;

}

.team-card:hover {

    transform: translateY(-8px);

    box-shadow: var(--shadow-hover);

}

.team-card img {

    width: 100%;
    height: 200px;
    object-fit: cover;

}

.team-info {

    padding: 12px;
    text-align: center;

}

.team-info h4 {

    font-size: 14px;

}

.team-info span {

    font-size: 12px;
    color: var(--text-secondary);

}

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

.services-grid {

    margin-top: 60px;

    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 18px;

}


/* CARD */

.service-card {

    position: relative;

    padding: 26px;

    border-radius: 16px;

    color: white;

    transition: .35s;

    overflow: hidden;

    display: flex;
    flex-direction: column;

    min-height: 190px;

}


/* PRICE BADGE */

.price {

    position: absolute;

    top: 14px;
    right: 14px;

    font-size: 13px;

    padding: 6px 10px;

    border-radius: 8px;

    background: rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(6px);

}


/* TITLE */

.service-card h3 {

    margin-bottom: 8px;

    font-size: 18px;

}


/* TEXT */

.service-card p {

    font-size: 13px;

    margin-bottom: 12px;

    opacity: .85;

}


/* FEATURES */

.service-card ul {

    list-style: none;

    display: flex;

    flex-wrap: wrap;

    gap: 6px;

    margin-top: auto;

}

.service-card li {

    font-size: 11px;

    padding: 5px 8px;

    border-radius: 6px;

    background: rgba(255, 255, 255, 0.15);

}


/* HOVER */

.service-card:hover {

    transform: translateY(-6px);

}


/* GRADIENTS */

.card1 {
    background: linear-gradient(135deg, #1f2937, #111827);
}

.card2 {
    background: linear-gradient(135deg, #312e81, #1e1b4b);
}

.card3 {
    background: linear-gradient(135deg, #065f46, #022c22);
}

.card4 {
    background: linear-gradient(135deg, #7c2d12, #431407);
}

.card5 {
    background: linear-gradient(135deg, #374151, #111827);
}



.price {

    position: absolute;

    top: 4px;
    right: 4px;

    transform: translate(10px, -10px);

    font-size: 13px;

    padding: 6px 10px;

    border-radius: 8px;

    background: rgba(0, 0, 0, 0.35);

    backdrop-filter: blur(6px);

}


/* центрируем весь блок */

.services-packages {
    text-align: center;
}

/* заголовок */

.packages-title {
    text-align: center;
    margin-bottom: 12px;
}

/* текст под заголовком */

.packages-desc {
    text-align: center;
    max-width: 650px;
    margin: 0 auto 40px;
}

/* нижний текст под карточками */

.services-note {
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0;
}


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

.portfolio {

    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 25px;

    max-width: 1100px;

    margin: auto;

    padding: 60px 30px;

}


/* TITLE */

.portfolio-title {

    text-align: center;

    font-size: 34px;

    margin-bottom: 12px;

}

.portfolio-desc {

    text-align: center;

    max-width: 700px;

    margin: 0 auto 50px;

    color: var(--text-secondary);

}


/* LINK FIX */

.portfolio a {

    display: block;

}


/* ============================= */
/* CARD */
/* ============================= */

.portfolio-card {

    aspect-ratio: 1/1;

    display: flex;

    flex-direction: column;

    background: linear-gradient(145deg, #16161a, #0f0f11);

    border-radius: 18px;

    overflow: hidden;

    border: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);

    transition: .35s;

    cursor: pointer;

}


/* HOVER */

.portfolio-card:hover {

    transform: translateY(-10px) scale(1.03);

    box-shadow:

        0 20px 50px rgba(0, 0, 0, 0.8),

        0 0 25px rgba(110, 231, 255, 0.25);

}


/* IMAGE */

.portfolio-card img {

    width: 100%;

    height: 70%;

    object-fit: cover;

    filter: grayscale(100%) brightness(0.8);

    transition: .5s;

}

.portfolio-card:hover img {

    filter: grayscale(0%) brightness(1);

    transform: scale(1.05);

}


/* INFO */

.card-info {

    height: 30%;

    display: flex;

    flex-direction: column;

    justify-content: center;

    padding: 14px;

}

.card-info h3 {

    font-size: 16px;

    margin-bottom: 4px;

}


/* TAG */

.card-tag {

    font-size: 12px;

    color: #9ca3af;

}

.trust-text h2 {
    font-size: 24px;
}

.portfolio-title {
    font-size: 24px;
}


.team-card {
    min-height: 70px;
}

.team-info {
    min-height: 70px;
}

/* @media (min-width:768px) {
.nav-a {
    color: linear-gradient(135deg,
            #6ee7ff,
            #7c3aed)!important;
}
.nav-a:hover {
    color: whitesmoke;
}
} */
.nav-a {
    -webkit-text-color: rgb(255, 255, 255);
    background: none;

}

.nav-a:hover {
    -webkit-text-fill-color: rgb(188, 209, 251);
    background: none;
}

html {
    background: #0f172a;

}

#bgParticles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.card {
    flex-direction: column;
    gap: 10px;
}
/*=======================*/
.card-icon {
    width: 40px;
    height: 40px;
    opacity: 0.8;
    border-radius: 50%;
}

.service-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at top, rgba(110, 231, 255, 0.2), transparent);
    opacity: 0;
    transition: 0.4s;
}

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

.hero {
    background: linear-gradient(270deg,
            #0f172a,
            #1e293b,
            #0f172a);
    background-size: 400% 400%;
    animation: gradientMove 12s ease infinite;
}

@keyframes gradientMove {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.card img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    border-radius: 10px;
    margin-bottom: 10px;
}






.timeline {
    position: relative;
    padding: 100px 0;
}

.line {
    position: absolute;
    left: 50%;
    width: 2px;
    height: 100%;
    background: rgba(255,255,255,0.1);
}

.step {
    width: 40%;
    padding: 20px;
    background: rgba(255,255,255,0.05);
    border-radius: 12px;
    margin: 40px 0;
}

.left { margin-left: 0; }
.right { margin-left: 55%; }





@media (min-width: 768px) {
    body {
        font-size: 18px !important;
    }
}

.container {
    max-width: 100% !important;
}
.service-btn {

    margin-top: 12px;

    font-size: 12px;

    padding: 7px 10px;

    border-radius: 8px;

    text-align: center;

    text-decoration: none;

    color: white;

    background: rgba(255, 255, 255, 0.393);

    transition: .25s;

}

.service-btn:hover {

    background: rgba(255, 255, 255, 0.209);

}

.hero {
    position: relative;
    min-height: 100vh;
    padding: 180px 0 120px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(110,231,255,0.25), transparent),
        radial-gradient(circle at 80% 70%, rgba(124,58,237,0.25), transparent);
    filter: blur(120px);
}

.hero-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
    width: 100%;
}

.hero-left h1 {
    font-size: 56px;
    line-height: 1.2;
}

.hero-left h1 span {
    background: linear-gradient(135deg,#3ccdea,#8857dd);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-desc {
    margin: 30px 0;
    font-size: 20px;
    color: #9ca3af;
    max-width: 600px;
}

.hero-features {
    margin-top: 40px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    color: #cbd5e1;
}

.hero-big-card {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(20px);
}

.hero-big-card ul {
    margin-top: 20px;
    list-style: none;
}

.hero-big-card li {
    margin-bottom: 12px;
}

.hero-card-bottom {
    margin-top: 30px;
    font-weight: bold;
}
.problem {
    padding: 140px 0;
}

.problem-sub {
    margin-top: 20px;
    color: #9ca3af;
    max-width: 700px;
}

.problem-grid {
    margin-top: 60px;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 25px;
}

.problem-card {
    padding: 40px;
    border-radius: 20px;
    background: rgba(255,255,255,0.04);
}

.problem-card span {
    display: block;
    margin-top: 10px;
    color: #6ee7ff;
}

.solution-box {
    margin-top: 80px;
    padding: 50px;
    border-radius: 20px;
    background: linear-gradient(135deg,#6ee7ff,#7c3aed);
}
.services {
    padding: 140px 0;
}

.card {
    padding: 40px;
    min-height: 180px;
    font-size: 16px;
}
.portfolio-card {
    height: 320px;
}

.card-info {
    padding: 20px;
}

.card-info h3 {
    font-size: 18px;
}
.service-card {
    padding: 40px;
    min-height: 260px;
}

.service-card h3 {
    font-size: 22px;
}

.service-card p {
    font-size: 15px;
}
  @media (min-width:768px) {
    .hero {
        min-height: 90vh;

    }

    .trust-section {
        min-height: 95vh;
    }

    .services {
        min-height: 97vh;

    }

    .services-packages {
        min-height: 95vh;

    }
  }
    
    @keyframes pop {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes navHint {
    0% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-10px);
    }

    100% {
        transform: translateX(0);
    }
}

@media (max-width: 900px) {
    body {
        width: 100% !important;
    }

    .hero h1 {
        font-size: 32px;
    }

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

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        width: 100%;
        max-width: 420px;
    }

    .contact-form input {
        width: 100%;
        max-width: 320px;
    }


    .portfolio-card img {
        height: 150px;
    }


    .services-grid {

        grid-template-columns: repeat(3, 1fr);

    }


    .portfolio {

        grid-template-columns: repeat(3, 1fr);

    }

}



@media (max-width:480px) {
    .hero {
        padding: 90px 0;
    }

    .hero h1 {
        font-size: 26px;
    }

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

    .grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .card {
        padding: 18px;
        font-size: 14px;
    }

    /* EVEN MORE COMPACT HEADER */
    .logo {
        font-size: 15px;
    }

    .nav a {
        font-size: 13px;
    }

    /* PRICING STILL TWO BUT TIGHT */
    .pricing-grid {
        grid-template-columns: 1fr 1fr;
        gap: 10px;
    }

    .price-card {
        padding: 16px;
    }

    /* SMALLER SECTION SPACING */
    .services,
    .pricing,
    .contact {
        padding: 60px 0;
    }


    .services-grid {

        grid-template-columns: 1fr 1fr;

    }

}




/* MOBILE UX */

@media (max-width:768px) {

    .hero h1 {
        font-size: 30px;
    }

    .grid {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .card {
        padding: 18px;
        font-size: 14px;
    }

    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }

    .price-card {
        max-width: 420px;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }

    .contact-form input {
        width: 100%;
        max-width: 300px;
    }



    /* MOBILE IMPROVEMENTS */



    .logo {
        font-size: 12px;
    }

    .nav {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
        gap: 5px;
    }

    .nav a {
        font-size: 9px;
        margin: 0;
        white-space: nowrap;
    }

    .desktop-btn {
        padding: 4px 6px;
        font-size: 9px;
    }

    /* PRICING SIDE BY SIDE */
    .pricing-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 14px;
    }

    .price-card {
        padding: 20px;
    }

    .price-card h3 {
        font-size: 18px;
    }

    .price-card li {
        font-size: 13px;
    }

    /* CONTAINER SPACING SMALLER */
    .services,
    .pricing,
    .contact {
        padding: 70px 0;
    }

}

@media (max-width:768px) {

    .header {
        padding: 12px 0;
        margin: 0;
    }

    .header .container {
        display: flex;
        align-items: center;
        justify-content: start;
        gap: 10px;
        margin: 0;
    }

    /* логотип */

    .logo {
        font-size: 15px;
        font-weight: 700;
        white-space: nowrap;
        margin: 0;
    }

    /* меню */

    .nav {
        display: flex;
        gap: 12px;
        flex-wrap: nowrap;
        margin: 0;
    }

    .nav a {
        font-size: 13px;
        margin: 0;
        white-space: nowrap;
    }

    /* кнопка портфолио */

    .desktop-btn {
        padding: 6px 10px;
        font-size: 12px;
        border-radius: 10px;
    }



    .small {
        display: none;
    }

    body {
        font-size: 0.8rem;
    }

    .hero h1 {
        font-size: 20px !important;
    }

    .hero p {
        font-size: 12px;
    }

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

    h3 {
        font-size: 16px;
    }

    body {
        font-size: 14px;
    }

    .services,
    .pricing,
    .contact {
        padding: 50px 0;
    }

    .container {
        width: 92%;
    }

    .btn {
        padding: 10px 18px;
        font-size: 13px;
    }

    .card {
        padding: 14px;
        font-size: 13px;
    }

    .price-card {
        padding: 18px;
    }

    .price-card h3 {
        font-size: 16px;
    }

    .price-card li {
        font-size: 12px;
    }

    .contact-form input {
        padding: 10px;
        font-size: 14px;
    }

    footer {
        padding: 16px;
        font-size: 12px;
    }

    .trust-block,
    .expert,
    .trust-footer {
        font-size: 13px;
        padding: 20px 15px;
    }

    .hero-trust {
        font-size: 12px;
    }

    .pricing-trust,
    .contact-trust {
        font-size: 13px;
    }

    .header {
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        gap: 5px;
    }


    header {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    header nav {
        display: flex;
        gap: 0px;
    }

    header a {
        font-size: 12px;
        white-space: nowrap;
    }

    header button {
        font-size: 14px;
        padding: 6px 12px;
    }

    header .logo {
        font-size: 16px;
        white-space: nowrap;
    }

    .logo img {
        height: 32px;
        width: 40px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .width {
        margin-left: 15px;
    }

    .logo {
        height: 40px;
    }


    .contact-fab {
        position: fixed;
        right: 15px;
        bottom: 50px;
    }

    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    /* скрываем кнопку портфолио */

    .desktop-btn {
        display: none;
    }

    /* меню */

    nav {
        display: flex;
        gap: 16px;
        overflow-x: auto;
        white-space: nowrap;
        scrollbar-width: none;
    }

    nav a {
        font-size: 14px;
        padding: 6px 4px;
        flex-shrink: 0;
    }

    .logo {
        flex-shrink: 0;
    }

    .btn {
        display: flex;
        flex-direction: row;
        flex-wrap: nowrap;
        justify-content: center;

        max-width: 70%;
        font-size: 12px;
    }

    .sm {
        margin-right: 2px;
        display: none;
    }

    .hr {
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: row;

    }

    .contact-form {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 15px;
    }


    .contact-fab {
        right: 20px;
        bottom: 70px;
    }


    .contact-fab {
        right: 20px !important;
        bottom: 50px !important;
    }


    .portfolio-card img {
        height: 100px;
    }

    .card-info {
        padding: 8px;
    }

    .card-tag {
        font-size: 10px;
    }



    .portfolio {

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

        padding: 25px 15px;

    }

    .card-info {

        padding: 8px;

    }

    .card-tag {

        font-size: 10px;

    }


    .trust-container {

        grid-template-columns: 1fr;
        gap: 40px;

        text-align: center;

    }

    .trust-stats {

        justify-content: center;

    }

    .trust-team {

        justify-content: center;

    }

    .html {
        max-width: 100% !important;
    }

    .body {
        max-width: 100% !important;
    }


    .services-grid {

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

    }

    .service-card {

        padding: 18px;

        min-height: 160px;

    }

    .service-card h3 {

        font-size: 15px;

    }

    .service-card p {

        font-size: 12px;

    }

    .price {

        font-size: 11px;

    }

    .service-btn {

        font-size: 12px;

        padding: 9px 10px;

    }

    .portfolio {

        grid-template-columns: repeat(2, 1fr);

        gap: 12px;

        padding: 30px 15px;

    }

    .portfolio-card img {

        height: 65%;

    }

    .card-info {

        padding: 8px;

    }

    .card-info h3 {

        font-size: 14px;

    }

    .card-tag {

        font-size: 10px;

    }

    .trust-text h2 {
        font-size: 16px;
    }

    .portfolio-title {
        font-size: 18px;
    }

    .header h1 {
        margin-top: 2.5px;
    }


    .header {
        background-color: rgba(10, 89, 158, 0.019);
    }
/*=======FONTS=======*/
    .hero h1 {
        font-size: 24px !important;

    }

    .trust-section h2 {
        font-size: 22px;
    }

    .services {
        font-size: 22px;

    }

    .services-packages h2 {
        font-size: 22px;

    }

    .portfolio-title {
        font-size: 22px;
    }

    .contact-title {
        font-size: 22px !important;
    }
    p span {
        font-size: 14px;
    }
    .trust-number {
        font-size: 24px;
    }
    .trust-item p {
        font-size: 14px;
    }





    

    .hero-inner {
        grid-template-columns: 1fr;
    }

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

}

@media (max-width: 500px) {

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

    .hero-left h1 {
        font-size: 30px;
    }

}
.back {
    color: #f3ebeb;
    text-decoration: none;
    background: #000000;
    padding: 10px 22px;
    border-radius: 10px;
    font-weight: 500;
    border: 1px solid rgb(255, 255, 255);
    transition: .25s;
}

.back:hover {
    transform: translateY(-2px);
    background: #f5f3f3;
    color: #0e0101;
}