/* styles.css */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', sans-serif;
    background: #0a0a0f;
    color: #e4e4ed;
    line-height: 1.5;
    overflow-x: hidden;
}
html {
    scroll-behavior: smooth;
}
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #12121a;
}
::-webkit-scrollbar-thumb {
    background: #4b3b9e;
    border-radius: 10px;
}
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.15, 0.85, 0.35, 1), transform 0.8s cubic-bezier(0.15, 0.85, 0.35, 1);
}
.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}
.logo {
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}
.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}
.nav-menu a {
    color: #cbd5e1;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
    font-size: 0.95rem;
}
.nav-menu a:hover {
    color: #a78bfa;
}
.dropdown {
    position: relative;
}
.dropdown-toggle {
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s;
    user-select: none;
}
.dropdown-toggle i {
    font-size: 0.7rem;
    transition: transform 0.3s;
}
.dropdown-toggle:hover {
    color: #a78bfa;
}
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(18, 18, 26, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 16px;
    padding: 12px 0;
    min-width: 280px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: opacity 0.3s, visibility 0.3s, transform 0.3s;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    z-index: 1001;
}
.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #cbd5e1;
    font-size: 0.9rem;
    transition: background 0.2s, color 0.2s;
    white-space: nowrap;
}
.dropdown-menu a:hover {
    background: rgba(99, 102, 241, 0.15);
    color: #a78bfa;
}
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.dropdown:hover .dropdown-toggle i {
    transform: rotate(180deg);
}
.btn-primary {
    background: #6366f1;
    color: white;
    border: none;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
}
.btn-primary:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.6);
}
.btn-outline {
    background: transparent;
    border: 1px solid #6366f1;
    color: #a78bfa;
    padding: 12px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    text-decoration: none;
}
.btn-outline:hover {
    background: rgba(99, 102, 241, 0.15);
}
.burger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    background: none;
    border: none;
}
.burger span {
    width: 28px;
    height: 2px;
    background: #e4e4ed;
    transition: 0.3s;
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    background: radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.12) 0%, transparent 50%);
}
.hero-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
}
.hero-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: #a78bfa;
    padding: 6px 16px;
    border-radius: 20px;
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: 3.8rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    background: linear-gradient(to right, #ffffff, #c4b5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 32px;
    max-width: 500px;
}
.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}
.glow-card {
    background: rgba(20, 20, 30, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 40px;
    width: 100%;
    max-width: 450px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 40px rgba(99, 102, 241, 0.2);
    text-align: center;
}
.glow-card i {
    font-size: 3rem;
    color: #a78bfa;
    margin-bottom: 16px;
}
.glow-card .stats {
    display: flex;
    justify-content: space-around;
    margin-top: 24px;
}
.stat h3 {
    font-size: 2rem;
    font-weight: 700;
    color: white;
}

section {
    padding: 100px 0;
}
.section-title {
    font-size: 2.8rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.section-sub {
    text-align: center;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}
.feature-card {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 32px;
    transition: transform 0.3s, border-color 0.3s;
}
.feature-card:hover {
    transform: translateY(-8px);
    border-color: #6366f1;
}
.feature-icon {
    font-size: 2.2rem;
    color: #a78bfa;
    margin-bottom: 16px;
}
.feature-card h3 {
    font-size: 1.4rem;
    margin-bottom: 12px;
}

.faq-section {
    padding: 100px 0;
    background: #0a0a0f;
    position: relative;
}
.faq-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 90px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a78bfa, transparent);
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.faq-item {
    background: rgba(18, 18, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    overflow: hidden;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item:hover {
    border-color: rgba(99, 102, 241, 0.3);
}
.faq-item.active {
    border-color: #6366f1;
    box-shadow: 0 8px 28px rgba(99, 102, 241, 0.2);
}
.faq-question {
    width: 100%;
    background: none;
    border: none;
    color: #e4e4ed;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    padding: 24px 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    text-align: left;
    transition: color 0.2s;
    letter-spacing: -0.2px;
}
.faq-question:hover {
    color: #a78bfa;
}
.faq-question i {
    font-size: 1.2rem;
    color: #6366f1;
    transition: transform 0.35s ease;
    flex-shrink: 0;
    margin-left: 16px;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
    color: #a78bfa;
}
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.15, 0.85, 0.35, 1);
}
.faq-answer-content {
    padding: 0 28px 24px 28px;
    color: #cbd5e1;
    line-height: 1.7;
    font-size: 0.95rem;
}
.faq-answer-content strong {
    color: #a78bfa;
    font-weight: 600;
}

.trust-section {
    padding: 100px 0;
    background: rgba(10, 10, 15, 0.5);
    position: relative;
}
.trust-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 120px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a78bfa, transparent);
}
.trust-counters {
    display: flex;
    justify-content: center;
    gap: 80px;
    flex-wrap: wrap;
    margin-bottom: 70px;
}
.trust-counter-item {
    text-align: center;
    flex: 1;
    min-width: 200px;
    max-width: 250px;
}
.trust-number {
    font-size: 4.2rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1;
    letter-spacing: -1px;
    margin-bottom: 8px;
    transition: all 0.3s ease;
}
.trust-number .plus {
    color: #a78bfa;
}
.trust-number .percent {
    color: #a78bfa;
}
.trust-label {
    font-size: 1rem;
    font-weight: 500;
    color: #94a3b8;
    letter-spacing: 0.2px;
}
.trust-clients {
    text-align: center;
}
.trust-clients-title {
    font-size: 1rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 36px;
}
.trust-logos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 28px;
}
.trust-logo-placeholder {
    width: 140px;
    height: 64px;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #475569;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    cursor: default;
}
.trust-logo-placeholder:hover {
    border-color: #6366f1;
    color: #a78bfa;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 40px;
}
.process-steps::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 5%;
    width: 90%;
    height: 2px;
    background: #2d2d3a;
    z-index: 0;
}
.step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    z-index: 1;
    background: #0a0a0f;
    padding: 0 16px;
}
.step-num {
    width: 70px;
    height: 70px;
    background: #6366f1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 16px;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.5);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}
.pricing-card {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 40px 32px;
    transition: all 0.3s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.pricing-card.featured {
    border-color: #6366f1;
    box-shadow: 0 12px 32px rgba(99, 102, 241, 0.3);
}
.price-block {
    margin: 20px 0;
}
.old-price {
    font-size: 1.4rem;
    color: #64748b;
    text-decoration: line-through;
    margin-right: 8px;
    font-weight: 500;
}
.new-price {
    font-size: 2.6rem;
    font-weight: 800;
    color: #a78bfa;
    line-height: 1.2;
}
.pricing-card ul {
    list-style: none;
    margin: 24px 0;
    flex: 1;
}
.pricing-card li {
    margin: 12px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.pricing-card .btn-wrap {
    margin-top: auto;
}

.contact-form {
    background: rgba(18, 18, 26, 0.8);
    border-radius: 28px;
    padding: 48px;
    max-width: 700px;
    margin: 0 auto;
    border: 1px solid rgba(255, 255, 255, 0.08);
}
.form-group {
    margin-bottom: 20px;
}
input,
textarea,
select {
    width: 100%;
    background: #12121a;
    border: 1px solid #2d2d3a;
    border-radius: 12px;
    padding: 14px 18px;
    color: white;
    font-family: inherit;
    transition: 0.2s;
}
input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: #6366f1;
}

footer {
    text-align: center;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #64748b;
}
/* ===== Блок «Другие услуги» (на страницах услуг) ===== */
.other-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 18px;
    margin-top: 16px;
}
.other-service-item {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 16px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: #cbd5e1;
    font-weight: 500;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.other-service-item:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
    color: #a78bfa;
}
.other-service-item .icon {
    font-size: 1.4rem;
    line-height: 1;
}

/* ===== Ссылки в подвале (footer-link) ===== */
.footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px 24px;
    margin: 16px 0 12px;
}
.footer .footer-link {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s, transform 0.2s;
    padding: 4px 0;
    border-bottom: 1px solid transparent;
}
a {
    text-decoration: none !important;
}
.footer .footer-link:hover {
    color: #a78bfa;
    border-bottom-color: #a78bfa;
    transform: translateY(-1px);
}
.footer .footer-legal {
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #94a3b8;
    font-size: 0.85rem;
    line-height: 1.6;
    text-align: center;
}
.footer .footer-legal strong {
    color: #ffffff;
    display: block;
    margin-bottom: 4px;
}

.timer-section {
    background: rgba(10, 10, 15, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 28px;
    padding: 36px 24px;
    max-width: 750px;
    margin: 0 auto 48px auto;
    text-align: center;
    backdrop-filter: blur(10px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(99, 102, 241, 0.15);
}
.timer-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: #cbd5e1;
    margin-bottom: 24px;
}
.timer-blocks {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}
.timer-item {
    background: #12121a;
    border: 1px solid #4b3b9e;
    border-radius: 18px;
    padding: 16px 18px;
    min-width: 80px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
}
.timer-number {
    font-size: 2.8rem;
    font-weight: 800;
    color: #a78bfa;
    line-height: 1;
    letter-spacing: -0.5px;
}
.timer-label {
    font-size: 0.8rem;
    font-weight: 500;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-top: 6px;
}
.timer-disclaimer {
    margin-top: 24px;
    font-size: 0.85rem;
    color: #94a3b8;
    line-height: 1.5;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

#portfolio {
    padding: 100px 0;
    background: #0a0a0f;
}
.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 48px;
}
.blog-controls {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    margin-bottom: 40px;
    background: rgba(18,18,26,0.6);
    border-radius: 20px;
    padding: 16px 24px;
    border: 1px solid rgba(255,255,255,0.05);
}
.blog-search {
    flex: 1 1 240px;
    min-width: 180px;
}
.blog-search input {
    width: 100%;
    background: #12121a;
    border: 1px solid #2d2d3a;
    border-radius: 30px;
    padding: 12px 20px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
    transition: border-color 0.3s;
}
.blog-search input:focus {
    outline: none;
    border-color: #6366f1;
}
.blog-search input::placeholder {
    color: #64748b;
}
.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.filter-btn {
    background: rgba(18,18,26,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    color: #cbd5e1;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}
.filter-btn:hover {
    border-color: #6366f1;
    color: #a78bfa;
}
.filter-btn.active {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
    box-shadow: 0 4px 16px rgba(99,102,241,0.4);
}
.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 28px;
}
.portfolio-card {
    border-radius: 20px;
    overflow: hidden;
    background: #12121a;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    cursor: default;
}
.portfolio-card:hover {
    transform: translateY(-10px);
    border-color: #6366f1;
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6), 0 0 32px rgba(99, 102, 241, 0.25);
}
.card-image {
    position: relative;
    width: 100%;
    aspect-ratio: 800 / 600;
    overflow: hidden;
    background: #1a1a2e;
}
.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.portfolio-card:hover .card-image img {
    transform: scale(1.06);
}
.card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(10, 10, 15, 0.95) 0%, rgba(10, 10, 15, 0.3) 50%, rgba(10, 10, 15, 0.1) 100%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px;
    opacity: 0;
    transition: opacity 0.35s ease;
}
.portfolio-card:hover .card-overlay {
    opacity: 1;
}
.card-category {
    display: inline-block;
    background: rgba(99, 102, 241, 0.85);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 4px 12px;
    border-radius: 20px;
    margin-bottom: 8px;
    align-self: flex-start;
    letter-spacing: 0.3px;
}
.card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
}
.btn-case {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #fff;
    padding: 10px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    align-self: flex-start;
}
.btn-case:hover {
    background: #6366f1;
    border-color: #6366f1;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.5);
}
.portfolio-card.hidden {
    opacity: 0;
    transform: scale(0.9);
    pointer-events: none;
    position: absolute;
    visibility: hidden;
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.35s ease, visibility 0.35s ease;
    padding: 20px;
}
.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}
.modal-content {
    background: #12121a;
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 28px;
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    padding: 40px;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 102, 241, 0.25);
    transform: translateY(30px);
    transition: transform 0.4s cubic-bezier(0.15, 0.85, 0.35, 1);
}
.modal-overlay.active .modal-content {
    transform: translateY(0);
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #94a3b8;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s;
    line-height: 1;
}
.modal-close:hover {
    color: #a78bfa;
}
.modal-category {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: #a78bfa;
    padding: 4px 14px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.3px;
    margin-bottom: 12px;
}
.modal-title {
    font-size: 2.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 28px;
    letter-spacing: -0.5px;
}
.detail-block {
    margin-bottom: 24px;
}
.detail-block h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #a78bfa;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.detail-block p {
    color: #cbd5e1;
    line-height: 1.7;
}

.calculator-section {
    padding: 100px 0;
    background: #0a0a0f;
    position: relative;
}
.calculator-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #6366f1, transparent);
}
.calculator-card {
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 28px;
    padding: 40px 36px;
    max-width: 720px;
    margin: 0 auto;
    box-shadow: 0 20px 48px rgba(0, 0, 0, 0.6), 0 0 36px rgba(99, 102, 241, 0.12);
    backdrop-filter: blur(10px);
}
.calc-step-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: #a78bfa;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}
.calc-options {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 28px;
}
.calc-option-btn {
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 12px 22px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
}
.calc-option-btn:hover {
    border-color: #6366f1;
    color: #fff;
}
.calc-option-btn.selected {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
    box-shadow: 0 6px 18px rgba(99, 102, 241, 0.45);
}
.calc-checkboxes {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 28px;
}
.calc-checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-weight: 500;
    color: #cbd5e1;
    font-size: 0.95rem;
    user-select: none;
    transition: color 0.2s;
}
.calc-checkbox-label:hover {
    color: #fff;
}
.calc-checkbox-label input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 22px;
    height: 22px;
    background: #12121a;
    border: 2px solid #2d2d3a;
    border-radius: 6px;
    cursor: pointer;
    position: relative;
    transition: all 0.2s;
    flex-shrink: 0;
}
.calc-checkbox-label input[type="checkbox"]:checked {
    background: #6366f1;
    border-color: #6366f1;
}
.calc-checkbox-label input[type="checkbox"]:checked::after {
    content: '\f00c';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 0.7rem;
}
.calc-result {
    display: none;
    margin-top: 28px;
    padding: 28px 24px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.35);
    border-radius: 20px;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}
.calc-result.visible {
    display: block;
}
.calc-result-price {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: -0.5px;
}
.calc-result-price span {
    color: #a78bfa;
}
.calc-result-note {
    font-size: 1rem;
    color: #94a3b8;
    margin-bottom: 20px;
    line-height: 1.5;
}
.calc-phone-form {
    display: none;
    margin-top: 16px;
    animation: fadeInUp 0.5s ease;
}
.calc-phone-form.visible {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
}
.calc-phone-input {
    flex: 1 1 220px;
    background: #12121a;
    border: 1px solid #2d2d3a;
    border-radius: 30px;
    padding: 14px 20px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.2s;
    max-width: 320px;
}
.calc-phone-input:focus {
    outline: none;
    border-color: #6366f1;
}
.calc-phone-input::placeholder {
    color: #64748b;
}
.calc-submit-phone {
    background: #6366f1;
    color: #fff;
    border: none;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    white-space: nowrap;
}
.calc-submit-phone:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.6);
}
.calc-submit-phone:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(16px); }
    to { opacity: 1; transform: translateY(0); }
}

.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s cubic-bezier(0.15, 0.85, 0.35, 1), visibility 0.4s cubic-bezier(0.15, 0.85, 0.35, 1);
    padding: 20px;
}
.exit-popup-overlay.active {
    opacity: 1;
    visibility: visible;
}
.exit-popup-container {
    background: #12121a;
    border: 1px solid rgba(99, 102, 241, 0.4);
    border-radius: 28px;
    padding: 48px 36px 36px;
    max-width: 480px;
    width: 100%;
    position: relative;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.7), 0 0 50px rgba(99, 102, 241, 0.35);
    text-align: center;
    transform: translateY(30px) scale(0.95);
    transition: transform 0.45s cubic-bezier(0.15, 0.85, 0.35, 1);
}
.exit-popup-overlay.active .exit-popup-container {
    transform: translateY(0) scale(1);
}
.exit-popup-close {
    position: absolute;
    top: 16px;
    right: 20px;
    background: none;
    border: none;
    color: #64748b;
    font-size: 2rem;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    line-height: 1;
    padding: 0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}
.exit-popup-close:hover {
    color: #a78bfa;
    transform: rotate(90deg);
}
.exit-popup-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.2), rgba(167, 139, 250, 0.2));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: #a78bfa;
    border: 1px solid rgba(167, 139, 250, 0.3);
}
.exit-popup-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.exit-popup-subtitle {
    font-size: 1rem;
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 28px;
}
.exit-popup-subtitle span {
    color: #a78bfa;
    font-weight: 700;
    background: rgba(167, 139, 250, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
}
.exit-popup-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 16px;
}
.exit-popup-input-group {
    position: relative;
    display: flex;
    align-items: center;
}
.exit-popup-input-group i {
    position: absolute;
    left: 16px;
    color: #64748b;
    font-size: 1rem;
    pointer-events: none;
    z-index: 2;
}
.exit-popup-input-group input {
    width: 100%;
    background: #0a0a0f;
    border: 1px solid #2d2d3a;
    border-radius: 30px;
    padding: 16px 20px 16px 44px;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    transition: border-color 0.25s, box-shadow 0.25s;
}
.exit-popup-input-group input:focus {
    outline: none;
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.15);
}
.exit-popup-input-group input::placeholder {
    color: #475569;
}
.exit-popup-btn {
    background: linear-gradient(135deg, #6366f1, #4f46e5);
    color: #ffffff;
    border: none;
    padding: 16px 28px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 10px 24px rgba(99, 102, 241, 0.45);
    position: relative;
    overflow: hidden;
}
.exit-popup-btn:hover {
    background: linear-gradient(135deg, #4f46e5, #4338ca);
    transform: translateY(-2px);
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.6);
}
.exit-popup-btn:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.3);
}
.exit-popup-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}
.exit-popup-success {
    padding: 20px 0;
    animation: fadeInUp 0.5s ease;
}
.exit-popup-success i {
    font-size: 3rem;
    color: #a78bfa;
    margin-bottom: 12px;
    display: block;
}
.exit-popup-success h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 8px;
}
.exit-popup-success p {
    color: #94a3b8;
    line-height: 1.5;
}
.exit-popup-success strong {
    color: #a78bfa;
    background: rgba(167, 139, 250, 0.15);
    padding: 3px 10px;
    border-radius: 6px;
    font-weight: 700;
}
.exit-popup-note {
    font-size: 0.8rem;
    color: #475569;
    margin-top: 16px;
}

.privacy-page {
    position: fixed;
    inset: 0;
    background: #0a0a0f;
    z-index: 100000;
    overflow-y: auto;
    display: none;
    padding: 40px 24px;
}
.privacy-page.active {
    display: block;
}
.privacy-page-container {
    max-width: 800px;
    margin: 0 auto;
    color: #cbd5e1;
}
.privacy-page-back {
    background: none;
    border: 1px solid #6366f1;
    color: #a78bfa;
    padding: 10px 24px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 32px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Inter', sans-serif;
    transition: background 0.3s;
}
.privacy-page-back:hover {
    background: rgba(99, 102, 241, 0.15);
}
.privacy-page h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 28px;
}
.privacy-page .legal-text {
    line-height: 1.8;
    font-size: 0.95rem;
}
.privacy-page .legal-text p {
    margin-bottom: 16px;
}
.privacy-page .legal-text strong {
    color: #a78bfa;
}

.quiz-section {
    padding: 100px 0;
    background: rgba(10, 10, 15, 0.6);
    position: relative;
}
.quiz-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #a78bfa, transparent);
}
.quiz-card {
    background: rgba(18, 18, 26, 0.95);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 28px;
    padding: 40px 32px;
    max-width: 650px;
    margin: 0 auto;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 40px rgba(99, 102, 241, 0.15);
    backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}
.quiz-progress {
    display: flex;
    gap: 8px;
    margin-bottom: 36px;
    justify-content: center;
}
.quiz-progress-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #2d2d3a;
    transition: all 0.4s ease;
    flex-shrink: 0;
}
.quiz-progress-dot.active {
    background: #6366f1;
    box-shadow: 0 0 12px rgba(99, 102, 241, 0.7);
    transform: scale(1.3);
}
.quiz-progress-dot.done {
    background: #a78bfa;
    box-shadow: 0 0 8px rgba(167, 139, 250, 0.5);
}
.quiz-step {
    display: none;
    animation: fadeInUp 0.45s ease;
}
.quiz-step.active {
    display: block;
}
.quiz-question {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    margin-bottom: 32px;
    letter-spacing: -0.4px;
}
.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 36px;
}
.quiz-option {
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: #cbd5e1;
    padding: 16px 22px;
    border-radius: 16px;
    font-weight: 500;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    font-family: 'Inter', sans-serif;
    display: flex;
    align-items: center;
    gap: 14px;
}
.quiz-option:hover {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.08);
    color: #fff;
}
.quiz-option.selected {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.2);
    color: #fff;
    box-shadow: 0 0 16px rgba(99, 102, 241, 0.3);
}
.quiz-option-icon {
    font-size: 1.3rem;
    color: #a78bfa;
    width: 28px;
    text-align: center;
}
.quiz-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.quiz-btn {
    background: #6366f1;
    color: #fff;
    border: none;
    padding: 14px 32px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.4);
    white-space: nowrap;
}
.quiz-btn:hover {
    background: #4f46e5;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(99, 102, 241, 0.6);
}
.quiz-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}
.quiz-btn-back {
    background: transparent;
    border: 1px solid #4b3b9e;
    color: #a78bfa;
    padding: 14px 28px;
    border-radius: 30px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
    box-shadow: none;
}
.quiz-btn-back:hover {
    background: rgba(99, 102, 241, 0.15);
    border-color: #6366f1;
}
.quiz-form-group {
    margin-bottom: 20px;
}
.quiz-form-group input {
    width: 100%;
    background: #12121a;
    border: 1px solid #2d2d3a;
    border-radius: 12px;
    padding: 16px 20px;
    color: #fff;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    transition: border-color 0.2s;
}
.quiz-form-group input:focus {
    outline: none;
    border-color: #6366f1;
}
.quiz-result {
    display: none;
    text-align: center;
    animation: fadeInUp 0.5s ease;
}
.quiz-result.active {
    display: block;
}
.quiz-result-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.2);
    color: #a78bfa;
    padding: 8px 20px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
}
.quiz-result-title {
    font-size: 2rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 12px;
}
.quiz-result-price {
    margin: 20px 0;
}
.quiz-result-old {
    font-size: 1.2rem;
    color: #64748b;
    text-decoration: line-through;
    margin-right: 10px;
}
.quiz-result-new {
    font-size: 2.4rem;
    font-weight: 800;
    color: #a78bfa;
}
.quiz-result-note {
    color: #94a3b8;
    margin-bottom: 24px;
    line-height: 1.6;
}

.additional-services .section-title {
    margin-bottom: 16px;
}
.additional-services .section-sub {
    margin-bottom: 48px;
}
.service-subsection {
    margin-bottom: 80px;
}
.service-subsection:last-child {
    margin-bottom: 0;
}
.subsection-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: #fff;
    text-align: center;
}
.subsection-desc {
    text-align: center;
    color: #94a3b8;
    max-width: 600px;
    margin: 0 auto 36px;
    font-size: 1rem;
}
.service-pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}
.pricing-card .feature-list {
    list-style: none;
    margin: 20px 0;
    flex: 1;
}
.pricing-card .feature-list li {
    margin: 10px 0;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #cbd5e1;
}
.pricing-card .feature-list i.fa-check {
    color: #a78bfa;
}
.pricing-card .tariff-name {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 8px;
}
.pricing-card .tariff-price {
    font-size: 2rem;
    font-weight: 800;
    color: #a78bfa;
    margin-bottom: 16px;
}
.content-services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}
.content-service-card {
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 28px 24px;
    transition: transform 0.3s, border-color 0.3s;
    text-align: center;
}
.content-service-card:hover {
    transform: translateY(-6px);
    border-color: #6366f1;
}
.content-service-card i {
    font-size: 2rem;
    color: #a78bfa;
    margin-bottom: 14px;
}
.content-service-card h4 {
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: #fff;
}
.content-service-card .service-price {
    font-size: 1.3rem;
    font-weight: 700;
    color: #a78bfa;
    margin-bottom: 16px;
}
.content-service-card p {
    font-size: 0.9rem;
    color: #94a3b8;
    margin-bottom: 20px;
}
.audit-card {
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.25);
    border-radius: 24px;
    padding: 36px 32px;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
    box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4);
}
.audit-form-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}
.audit-form-row input {
    flex: 1 1 200px;
    background: #12121a;
    border: 1px solid #2d2d3a;
    border-radius: 30px;
    padding: 14px 18px;
    color: #fff;
    font-family: inherit;
    transition: border-color 0.2s;
}
.audit-form-row input:focus {
    border-color: #6366f1;
    outline: none;
}
.audit-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.audit-benefit-item {
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 30px;
    padding: 8px 18px;
    font-size: 0.9rem;
    color: #cbd5e1;
    display: flex;
    align-items: center;
    gap: 8px;
}
.audit-benefit-item i {
    color: #a78bfa;
}
.audit-price-tag {
    font-size: 2rem;
    font-weight: 800;
    color: #a78bfa;
    text-align: center;
}
.training-card {
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 36px 32px;
    max-width: 700px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.training-modules {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.training-modules li {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 0.95rem;
    color: #cbd5e1;
}
.training-modules li i {
    color: #a78bfa;
    font-size: 1.1rem;
}
.testimonial {
    background: rgba(99, 102, 241, 0.08);
    border-left: 3px solid #6366f1;
    border-radius: 0 16px 16px 0;
    padding: 18px 20px;
    font-style: italic;
    color: #cbd5e1;
    position: relative;
}
.testimonial-author {
    margin-top: 8px;
    font-weight: 600;
    color: #a78bfa;
    font-style: normal;
}
.app-showcase {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
}
.app-mockup {
    background: rgba(18, 18, 26, 0.9);
    border: 1px solid rgba(99, 102, 241, 0.3);
    border-radius: 24px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 1/2;
    max-width: 280px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.15);
}
.app-mockup i {
    font-size: 5rem;
    color: #a78bfa;
}
.app-info h4 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 16px;
}
.app-steps {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.app-steps li {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #cbd5e1;
}
.app-steps li i {
    color: #a78bfa;
}

.timeline-badge {
    display: inline-block;
    background: rgba(99, 102, 241, 0.15);
    color: #a78bfa;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-top: 12px;
    margin-bottom: 8px;
    border: 1px solid rgba(99, 102, 241, 0.25);
}
.invitation-preview {
    width: 100%;
    height: 140px;
    background: rgba(99, 102, 241, 0.08);
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: border-color 0.3s, background 0.3s;
    overflow: hidden;
    position: relative;
}
.invitation-preview i {
    font-size: 2.8rem;
    color: #a78bfa;
    opacity: 0.8;
    transition: transform 0.3s, opacity 0.3s;
}
.pricing-card:hover .invitation-preview {
    border-color: #6366f1;
    background: rgba(99, 102, 241, 0.15);
}
.pricing-card:hover .invitation-preview i {
    transform: scale(1.1);
    opacity: 1;
}
.pricing-card .btn-wrap {
    margin-top: auto;
}

.legal-info {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: left;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-size: 0.85rem;
    line-height: 1.7;
    color: #94a3b8;
}
.legal-info p {
    margin-bottom: 6px;
}
.legal-info strong {
    color: #cbd5e1;
}

.privacy-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #cbd5e1;
}
.privacy-check input[type="checkbox"] {
    width: auto;
    margin-top: 3px;
    flex-shrink: 0;
}
.privacy-check a {
    color: #a78bfa;
    text-decoration: underline;
    cursor: pointer;
}

.footer-legal address {
    display: inline;
    font-style: normal;
}

.error-page-wrapper {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.error-content {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 120px 24px 60px;
}
.error-container {
    max-width: 600px;
}
.error-code {
    font-size: clamp(6rem, 15vw, 10rem);
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #a78bfa, #6366f1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 16px;
    letter-spacing: -3px;
}
.error-title {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}
.error-message {
    font-size: 1.1rem;
    color: #94a3b8;
    margin-bottom: 36px;
    line-height: 1.7;
}
.error-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}
.error-illustration {
    font-size: 5rem;
    color: #a78bfa;
    margin-bottom: 28px;
    opacity: 0.9;
}

/* ===== Стили для NDA-карточек с блюром ===== */
.portfolio-card.nda-blur .card-image img {
    filter: blur(6px) brightness(0.7);
    transition: filter 0.4s ease;
}
.portfolio-card.nda-blur:hover .card-image img {
    filter: blur(0px) brightness(1);
}
/* Плашка "Конфиденциально" поверх изображения */
.portfolio-card.nda-blur .card-image::after {
    content: "🔒 Конфиденциально";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: #fff;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    z-index: 2;
    pointer-events: none;
    transition: opacity 0.3s ease;
}
.portfolio-card.nda-blur:hover .card-image::after {
    opacity: 0;
}

.sitemap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 24px;
    margin-top: 40px;
}
.sitemap-item {
    background: rgba(18, 18, 26, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 20px;
    padding: 28px 20px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(6px);
    text-decoration: none;
    color: #e4e4ed;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}
.sitemap-item:hover {
    transform: translateY(-8px);
    border-color: #6366f1;
    box-shadow: 0 16px 32px rgba(99, 102, 241, 0.25);
    background: rgba(18, 18, 26, 0.95);
}
.sitemap-item .icon {
    font-size: 2.4rem;
    line-height: 1;
    color: #a78bfa;
}
.sitemap-item .label {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: -0.2px;
    color: #ffffff;
}
.sitemap-item .desc {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
}
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.blog-card {
    position: relative;
    background: rgba(18, 18, 26, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 24px 20px 20px;
    transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.blog-card:hover {
    transform: translateY(-8px);
    border-color: #6366f1;
    box-shadow: 0 16px 32px rgba(0,0,0,0.5);
}
.blog-card-image {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 16px;
    background: #1a1a2e;
}
.blog-card-category {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 4px 14px;
    border-radius: 30px;
    margin-bottom: 10px;
    align-self: flex-start;
    color: #fff;
}
.blog-card-category.development { background: #6366f1; }
.blog-card-category.seo { background: #10b981; }
.blog-card-category.design { background: #f59e0b; }
.blog-card-category.optimization { background: #8b5cf6; }

.blog-card-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
    line-height: 1.3;
}
.blog-card-excerpt {
    color: #94a3b8;
    line-height: 1.6;
    margin-bottom: 16px;
    flex: 1;
    font-size: 0.95rem;
}
.blog-card-meta {
    display: flex;
    gap: 16px;
    font-size: 0.8rem;
    color: #64748b;
    margin-bottom: 12px;
    flex-wrap: wrap;
}
.blog-card-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-card-meta i {
    font-size: 0.75rem;
    color: #a78bfa;
}
.blog-card-link {
    color: #a78bfa;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s;
    align-self: flex-start;
    margin-top: 4px;
}
.blog-card-link:hover {
    color: #c4b5fd;
    text-decoration: underline;
}
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 40px;
    flex-wrap: wrap;
}
.pagination button {
    background: rgba(18,18,26,0.8);
    border: 1px solid rgba(255,255,255,0.08);
    color: #cbd5e1;
    padding: 8px 16px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
    min-width: 40px;
    text-align: center;
}
.pagination button:hover {
    border-color: #6366f1;
    color: #a78bfa;
}
.pagination button.active {
    background: #6366f1;
    border-color: #6366f1;
    color: #fff;
    box-shadow: 0 4px 16px rgba(99,102,241,0.4);
}
.pagination button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
    pointer-events: none;
}
.no-results {
    text-align: center;
    color: #94a3b8;
    padding: 40px 0;
    font-size: 1.1rem;
}
.active-nav {
    color: #a78bfa !important;
    font-weight: 600;
}
/* ===== Стили для страницы отдельной статьи ===== */
.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}
.article-header {
    margin-bottom: 40px;
}
.article-header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}
.article-meta {
    color: #94a3b8;
    font-size: 0.9rem;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.article-image {
    width: 100%;
    border-radius: 20px;
    margin: 20px 0 30px;
    overflow: hidden;
    background: #12121a;
    border: 1px solid rgba(255,255,255,0.05);
}
.article-image img {
    width: 100%;
    height: auto;
    display: block;
}
.article-body {
    color: #cbd5e1;
    line-height: 1.8;
    font-size: 1.05rem;
}
.article-body h2 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin: 40px 0 16px;
}
.article-body h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #a78bfa;
    margin: 28px 0 12px;
}
.article-body p {
    margin-bottom: 20px;
}
.article-body ul,
.article-body ol {
    margin: 16px 0 24px 24px;
}
.article-body li {
    margin-bottom: 8px;
}
.article-body a {
    color: #a78bfa;
    text-decoration: underline;
}
.back-to-blog {
    display: inline-block;
    margin-top: 40px;
    color: #a78bfa;
    font-weight: 600;
    text-decoration: none;
}
.back-to-blog:hover {
    text-decoration: underline;
}

/* ===== Блок «Читайте также» ===== */
.related-articles {
    margin: 48px 0 32px;
    padding-top: 32px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}
.related-title {
    font-size: 1.6rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 24px;
    letter-spacing: -0.4px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.related-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: linear-gradient(to right, rgba(99, 102, 241, 0.3), transparent);
}
.related-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}
.related-card {
    background: rgba(18, 18, 26, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 16px;
    padding: 20px 22px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    backdrop-filter: blur(8px);
}
.related-card:hover {
    border-color: #6366f1;
    background: rgba(18, 18, 26, 0.9);
    transform: translateY(-4px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}
.related-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(99, 102, 241, 0.15);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a78bfa;
    font-size: 1.4rem;
    transition: background 0.3s;
}
.related-card:hover .related-icon {
    background: rgba(99, 102, 241, 0.3);
}
.related-content {
    flex: 1;
    min-width: 0;
}
.related-tag {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #a78bfa;
    background: rgba(99, 102, 241, 0.15);
    padding: 2px 12px;
    border-radius: 20px;
    margin-bottom: 6px;
}
.related-heading {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 6px;
    line-height: 1.4;
    transition: color 0.2s;
}
.related-card:hover .related-heading {
    color: #a78bfa;
}
.related-excerpt {
    font-size: 0.85rem;
    color: #94a3b8;
    margin: 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ====================== */
/* НОВЫЕ МЕДИАЗАПРОСЫ */
/* ====================== */

/* Только бургер-меню и навигация при <= 924px */
@media (max-width: 924px) {
    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #0a0a0f;
        flex-direction: column;
        padding: 32px;
        gap: 24px;
        transform: translateY(-150%);
        transition: 0.4s;
        border-bottom: 1px solid #2d2d3a;
        max-height: 80vh;
        overflow-y: auto;
    }
    .nav-menu.active {
        transform: translateY(0);
    }
    .burger {
        display: flex;
    }
    .dropdown-menu {
        position: static;
        background: transparent;
        border: none;
        padding: 0 0 0 16px;
        min-width: auto;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        display: none;
        margin-top: 8px;
    }
    .dropdown-menu.open {
        display: block;
    }
    .dropdown-menu a {
        padding: 8px 0;
        font-size: 0.85rem;
    }
    .dropdown-toggle {
        justify-content: space-between;
        width: 100%;
    }
}

/* Остальные адаптивные стили при <= 768px */
@media (max-width: 768px) {
    .hero-buttons {
        justify-content: center;
    }
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 {
        font-size: 2.6rem;
    }
    .process-steps {
        flex-direction: column;
        gap: 32px;
    }
    .process-steps::before {
        display: none;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .card-overlay {
        opacity: 1;
        background: linear-gradient(to top, rgba(10, 10, 15, 0.9) 0%, rgba(10, 10, 15, 0.2) 60%, rgba(10, 10, 15, 0) 100%);
    }
    .modal-content {
        padding: 28px 20px;
        border-radius: 24px;
    }
    .modal-title {
        font-size: 1.7rem;
    }
    .price-block {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
    }
    .old-price {
        margin-right: 0;
        margin-bottom: 4px;
    }
    .error-title {
        font-size: 1.6rem;
    }
    .error-message {
        font-size: 1rem;
    }
    .error-illustration {
        font-size: 3.5rem;
    }
    .trust-counters {
        gap: 48px;
    }
    .trust-number {
        font-size: 3.4rem;
    }
    .trust-logos {
        gap: 16px;
    }
    .trust-logo-placeholder {
        width: 110px;
        height: 52px;
        font-size: 0.7rem;
    }
    .calculator-card {
        padding: 28px 20px;
        border-radius: 24px;
    }
    .calc-options {
        gap: 8px;
    }
    .calc-option-btn {
        padding: 10px 16px;
        font-size: 0.8rem;
    }
    .calc-result-price {
        font-size: 1.5rem;
    }
    .calc-phone-form.visible {
        flex-direction: column;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .article-header h1 {
        font-size: 2rem;
    }
    .article-body {
        font-size: 0.95rem;
    }
    .article-body h2 {
        font-size: 1.4rem;
    }
    .calc-phone-input {
        max-width: 100%;
        width: 100%;
    }
    .exit-popup-container {
        padding: 36px 20px 28px;
        border-radius: 24px;
    }
    .exit-popup-title {
        font-size: 1.5rem;
    }
    .exit-popup-subtitle {
        font-size: 0.9rem;
    }
    .exit-popup-icon {
        width: 56px;
        height: 56px;
        font-size: 1.6rem;
        margin-bottom: 16px;
    }
    .exit-popup-btn {
        padding: 14px 20px;
        font-size: 0.9rem;
    }
    .exit-popup-input-group input {
        padding: 14px 16px 14px 40px;
        font-size: 0.9rem;
    }
    .quiz-card {
        padding: 28px 20px;
        border-radius: 24px;
    }
    .quiz-question {
        font-size: 1.3rem;
        margin-bottom: 24px;
    }
    .quiz-option {
        padding: 14px 16px;
        font-size: 0.9rem;
    }
    .quiz-btn {
        padding: 12px 24px;
        font-size: 0.85rem;
    }
    .quiz-btn-back {
        padding: 12px 20px;
        font-size: 0.85rem;
    }
    .quiz-result-title {
        font-size: 1.6rem;
    }
    .quiz-result-new {
        font-size: 1.8rem;
    }
    .app-showcase {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .app-mockup {
        max-width: 200px;
    }
    .audit-card {
        padding: 28px 20px;
    }
    .subsection-title {
        font-size: 1.6rem;
    }
    .integration-grid {
        grid-template-columns: 1fr;
    }
    .pricing-grid {
        grid-template-columns: 1fr;
    }
    .service-pricing-grid {
        grid-template-columns: 1fr;
    }
    .content-services-grid {
        grid-template-columns: 1fr;
    }
    .invitation-preview {
        height: 120px;
    }
    .invitation-preview i {
        font-size: 2.2rem;
    }
    .legal-info {
        text-align: center;
        padding: 0 16px;
    }
    .footer-legal {
        text-align: center;
        padding: 0 16px;
    }
}
@media (max-width: 600px) {
    .sitemap-grid {
        grid-template-columns: 1fr 1fr;
        gap: 16px;
    }
    .sitemap-item {
        padding: 20px 12px;
    }
    .sitemap-item .icon {
        font-size: 1.8rem;
    }
    .sitemap-item .label {
        font-size: 0.95rem;
    }
    .related-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .related-card {
        padding: 16px 18px;
    }
    .related-title {
        font-size: 1.3rem;
        margin-bottom: 20px;
    }
    .related-heading {
        font-size: 0.95rem;
    }
    .related-excerpt {
        font-size: 0.8rem;
    }
}
@media (max-width: 480px) {
    .portfolio-filter {
        gap: 8px;
    }
    .filter-btn {
        padding: 8px 16px;
        font-size: 0.8rem;
    }
    .timer-blocks {
        gap: 12px;
    }
    .timer-item {
        min-width: 65px;
        padding: 12px 14px;
    }
    .timer-number {
        font-size: 2.2rem;
    }
    .trust-counters {
        flex-direction: column;
        align-items: center;
        gap: 36px;
    }
    .trust-counter-item {
        max-width: 100%;
    }
    .quiz-nav {
        flex-direction: column-reverse;
        gap: 12px;
    }
    .quiz-btn, .quiz-btn-back {
        width: 100%;
        text-align: center;
    }
    .blog-card {
        padding: 20px 16px;
    }
    .blog-controls {
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
    }
    .blog-search {
        flex: none;
    }
    .blog-filters {
        gap: 6px;
    }
    .filter-btn {
        padding: 6px 14px;
        font-size: 0.75rem;
    }
    .blog-card-title {
        font-size: 1.1rem;
    }
}
@media (max-width: 420px) {
    .sitemap-grid {
        grid-template-columns: 1fr;
    }
    .related-card {
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
    }
    .related-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}