/* style.css - современный дизайн с эффектами стекла, градиентами и анимациями */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;600;700;800&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: #1e293b;
    background: linear-gradient(145deg, #f9fafc 0%, #f1f5f9 100%);
    min-height: 100vh;
}

.container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 30px;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Логотип */
.logo a {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
}
.web {
    background: linear-gradient(135deg, #2563eb, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.sota {
    background: linear-gradient(135deg, #f5b014, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Шапка с эффектом стекла */
header {
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(37, 99, 235, 0.1);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 4px 20px rgba(0,0,0,0.02);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-menu ul {
    display: flex;
    gap: 35px;
}

.nav-menu a {
    font-size: 18px;
    font-weight: 600;
    transition: color 0.3s, border-color 0.3s;
    padding: 8px 0;
    color: #334155;
    border-bottom: 2px solid transparent;
}

.nav-menu a:hover, .nav-menu a.active {
    color: #2563eb;
    border-bottom-color: #f5b014;
}

.burger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: #2563eb;
}

/* Hero секция */
.hero {
    position: relative;
    padding: 120px 0;
    background: radial-gradient(circle at 80% 20%, rgba(37,99,235,0.08) 0%, transparent 50%),
                radial-gradient(circle at 20% 80%, rgba(245,176,20,0.08) 0%, transparent 50%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNjAwIiBoZWlnaHQ9IjYwMCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj48ZGVmcz48cGF0dGVybiBpZD0iYSIgcGF0dGVyblVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgd2lkdGg9IjQwIiBoZWlnaHQ9IjQwIiBwYXR0ZXJuVHJhbnNmb3JtPSJyb3RhdGUoMTUpIj48cGF0aCBkPSJNMjAgMjBMMjAgMjAiIHN0cm9rZT0iIzI1NjNlYiIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIi8+PHBhdGggZD0iTTAgMjBMMjAgMjAiIHN0cm9rZT0iI2Y1YjAxNCIgc3Ryb2tlLXdpZHRoPSIxIiBmaWxsPSJub25lIi8+PC9wYXR0ZXJuPjwvZGVmcz48cmVjdCB3aWR0aD0iMTAwJSIgaGVpZ2h0PSIxMDAlIiBmaWxsPSJ1cmwoI2EpIiBvcGFjaXR5PSIwLjIiLz48L3N2Zz4=');
    opacity: 0.5;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero h1 {
    font-size: 58px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 25px;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 20px;
    margin-bottom: 40px;
    color: #334155;
}

.btn {
    display: inline-block;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    color: white;
    padding: 16px 42px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 700;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 15px 25px -8px rgba(37,99,235,0.4);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 25px 30px -8px rgba(37,99,235,0.5);
}

.btn:hover::after {
    left: 100%;
}

/* Features (почему мы) */
.features {
    padding: 80px 0;
}

.features h2, .tech-stack h2, .how-we-work h2, .faq h2 {
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.feature-item {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(37,99,235,0.2);
    border-radius: 30px;
    padding: 35px 25px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 15px 30px -10px rgba(0,0,0,0.1);
}

.feature-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 25px 40px -10px rgba(37,99,235,0.2);
    border-color: #f5b014;
}

.feature-item i {
    font-size: 56px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
}

.feature-item h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

.feature-item p {
    color: #475569;
}

/* Технологии */
.tech-stack {
    padding: 60px 0;
}

.tech-icons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    font-size: 64px;
    color: #2563eb;
    background: rgba(255,255,255,0.5);
    backdrop-filter: blur(4px);
    border-radius: 80px;
    padding: 40px;
}

.tech-icons i {
    transition: transform 0.3s, color 0.3s;
    cursor: default;
}

.tech-icons i:hover {
    transform: scale(1.2);
    color: #f5b014;
}

/* Как мы работаем */
.how-we-work {
    padding: 80px 0;
}

.steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.step {
    flex: 1 1 200px;
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border-radius: 40px;
    padding: 35px 25px;
    text-align: center;
    border: 1px solid rgba(37,99,235,0.2);
    position: relative;
    transition: transform 0.3s;
}

.step:hover {
    transform: translateY(-5px);
    border-color: #f5b014;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: linear-gradient(135deg, #f5b014, #f59e0b);
    color: #0f172a;
    font-weight: 800;
    font-size: 20px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 10px rgba(245,176,20,0.3);
}

.step h3 {
    font-size: 22px;
    margin: 20px 0 15px;
    color: #0f172a;
}

/* FAQ */
.faq {
    padding: 60px 0 80px;
}

.faq-item {
    background: rgba(255,255,255,0.7);
    backdrop-filter: blur(8px);
    border-radius: 30px;
    margin-bottom: 15px;
    border: 1px solid rgba(37,99,235,0.2);
    overflow: hidden;
}

.faq-question {
    width: 100%;
    text-align: left;
    padding: 20px 30px;
    background: none;
    border: none;
    font-size: 20px;
    font-weight: 600;
    color: #0f172a;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}

.faq-question::after {
    content: '\f078';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    right: 30px;
    transition: transform 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    padding: 0 30px;
    background: rgba(37,99,235,0.02);
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 30px 20px;
}

.faq-answer p {
    color: #475569;
}

/* Подвал */
footer {
    background: #0f172a;
    color: #cbd5e1;
    padding: 60px 0 0;
    border-top: 1px solid #2563eb20;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 50px;
    margin-bottom: 40px;
}

.footer-about h3, .footer-links h3, .footer-contact h3 {
    color: #fff;
    margin-bottom: 25px;
    font-size: 24px;
}

.footer-links ul li {
    margin-bottom: 12px;
}

.footer-links a:hover {
    color: #f5b014;
}

.footer-contact a {
    color: #cbd5e1;
    transition: color 0.3s;
}
.footer-contact a:hover {
    color: #f5b014;
}

.footer-bottom {
    text-align: center;
    padding: 25px 0;
    border-top: 1px solid #1e293b;
    color: #94a3b8;
}

/* Страница услуг */
.page-header {
    padding: 80px 0;
    text-align: center;
    background: radial-gradient(circle at 30% 50%, rgba(37,99,235,0.1), transparent 50%);
}

.page-header h1 {
    font-size: 56px;
    font-weight: 800;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 15px;
}

.page-header p {
    font-size: 22px;
    color: #334155;
}

.services-full {
    padding: 60px 0;
}

.service-block {
    display: flex;
    align-items: flex-start;
    gap: 40px;
    margin-bottom: 40px;
    background: rgba(255,255,255,0.6);
    backdrop-filter: blur(8px);
    padding: 40px;
    border-radius: 50px;
    border: 1px solid rgba(37,99,235,0.2);
    transition: transform 0.3s, border-color 0.3s;
}

.service-block:hover {
    transform: scale(1.01);
    border-color: #f5b014;
    background: rgba(255,255,255,0.8);
}

.service-icon {
    flex-shrink: 0;
    font-size: 70px;
    background: linear-gradient(135deg, #2563eb, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f8fafc;
    border-radius: 40px;
    box-shadow: 0 15px 25px -8px rgba(37,99,235,0.2);
}

.service-text h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #0f172a;
}

.service-text p {
    margin-bottom: 15px;
    color: #334155;
}

.service-text strong {
    color: #2563eb;
}

/* Контакты */
.contact-section {
    padding: 80px 0;
}

.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info h2, .contact-form h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #1e293b, #2563eb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.contact-info p {
    margin-bottom: 20px;
    font-size: 18px;
    color: #334155;
}

.contact-info i {
    width: 35px;
    color: #f5b014;
    font-size: 26px;
    margin-right: 10px;
}

.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contact-form input, .contact-form select, .contact-form textarea {
    padding: 18px;
    border: 2px solid #e2e8f0;
    border-radius: 30px;
    font-size: 16px;
    font-family: inherit;
    background: rgba(255,255,255,0.8);
    transition: border 0.3s, box-shadow 0.3s;
}

.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 4px rgba(37,99,235,0.2);
}

.contact-form button {
    align-self: flex-start;
    font-size: 18px;
    padding: 16px 45px;
}

.form-note {
    font-size: 14px;
    color: #64748b;
    margin-top: 15px;
}

/* Адаптивность */
@media (max-width: 992px) {
    .hero h1 { font-size: 48px; }
    .service-block { flex-direction: column; align-items: center; text-align: center; }
    .contact-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background: rgba(255,255,255,0.95);
        backdrop-filter: blur(10px);
        padding: 25px;
        box-shadow: 0 20px 30px rgba(0,0,0,0.1);
    }
    .nav-menu.active { display: block; }
    .nav-menu ul { flex-direction: column; align-items: center; gap: 20px; }
    .burger { display: block; }
    .hero h1 { font-size: 38px; }
    .features-grid { grid-template-columns: 1fr; }
    .steps { flex-direction: column; }
    .tech-icons { font-size: 48px; gap: 25px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; }
    .btn { font-size: 16px; padding: 14px 30px; }
}