* { margin: 0; padding: 0; box-sizing: border-box; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif; 
    line-height: 1.6; color: #1a1a1a; background: #f8f9fa; -webkit-font-smoothing: antialiased;
}
a { text-decoration: none; color: inherit; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.nav-wrapper { padding: 0; }
.nav {
    background: white; padding: 10px 20px; border-radius: 8px; margin-top: 20px; margin-bottom: 20px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1); display: flex; justify-content: space-between;
    align-items: center; flex-wrap: nowrap; position: relative; max-width: 1200px;
    margin-left: auto; margin-right: auto;
}
.logo { font-size: 24px; font-weight: 800; color: #1a1a1a; letter-spacing: 0.5px; white-space: nowrap; }
.logo span { color: #0a58ca; }
.auth-buttons { display: flex; gap: 10px; align-items: center; flex-shrink: 0; }
.btn-header { display: inline-block; padding: 8px 14px; border-radius: 6px; font-weight: 600; font-size: 14px; transition: all 0.2s; border: 1px solid transparent; white-space: nowrap; cursor: pointer; }
.btn-header-login { color: #0a58ca; border-color: #0a58ca; background: transparent; padding: 6px 10px; }
.btn-header-login:hover { background: #0a58ca; color: #fff; }
.btn-header-register { color: #fff; background: #dc3545; border-color: #dc3545; }
.btn-header-register:hover { background: #bb2d3b; }
.btn { display: inline-block; padding: 22px 40px; border-radius: 8px; font-weight: 700; font-size: 18px; transition: all 0.3s ease; cursor: pointer; border: none; text-align: center; }
.btn-primary { background: #0a58ca; color: white; }
.btn-primary:hover { background: #084298; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(10,88,202,0.35); }
.btn-secondary { background: transparent; color: #0a58ca; border: 2px solid #0a58ca; }
.btn-secondary:hover { background: #0a58ca; color: white; }
.btn-red { background: #dc3545; color: white; }
.btn-red:hover { background: #bb2d3b; transform: translateY(-2px); box-shadow: 0 4px 16px rgba(220,53,69,0.35); }
.btn-giant { font-size: 22px; padding: 22px 36px; }
.btn-blue-on-white { background: #ffffff; color: #0a58ca; }
.btn-blue-on-white:hover { background: #f8f9fa; color: #084298; }
.hero { padding: 60px 20px 40px; text-align: center; background: linear-gradient(135deg, #ffffff 0%, #eef4ff 100%); }
.hero .container { padding: 0; max-width: 100%; }
.hero .container { padding: 0 20px; }
.hero h1 { font-size: 28px; font-weight: 800; margin-bottom: 24px; line-height: 1.15; letter-spacing: -1px; transform: scaleX(1.3); transform-origin: center; max-width: 90%; margin-left: auto; margin-right: auto; }
.hero h1 .highlight { color: #0a58ca; }
.hero p { font-size: 20px; color: #2d2d2d; max-width: 780px; margin: 0 auto 36px; line-height: 1.7; }
.hero .trial-note { font-size: 15px; color: #6c757d; margin-top: 16px; }
.cta-group { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.trust-bar { display: flex; justify-content: center; gap: 40px; padding: 28px 0; background: #ffffff; border-bottom: 1px solid #eaeaea; flex-wrap: wrap; }
.trust-item { display: flex; align-items: center; gap: 8px; font-weight: 500; color: #2d2d2d; font-size: 15px; }
.security-section { background: #f8f9fa; padding: 50px 0; border-top: 1px solid #eaeaea; border-bottom: 1px solid #eaeaea; }
.security-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.security-item { background: #ffffff; padding: 32px; border-radius: 16px; border-left: 6px solid #0a58ca; box-shadow: 0 4px 16px rgba(0,0,0,0.06); }
.security-item strong { color: #0a58ca; display: block; font-size: 20px; margin-bottom: 8px; }
.security-item p { font-size: 17px; color: #2d2d2d; margin: 0; line-height: 1.6; }
.section { padding: 80px 0; }
.section-title { font-size: 28px; font-weight: 800; text-align: center; margin-bottom: 40px; color: #1a1a1a; letter-spacing: -0.8px; transform: scaleX(1.25); transform-origin: center; max-width: 90%; margin-left: auto; margin-right: auto; padding: 0 15px; }
.grid-4 { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; }
.card { background: #ffffff; padding: 32px; border-radius: 12px; box-shadow: 0 4px 20px rgba(0,0,0,0.06); transition: transform 0.3s; border: 1px solid #f0f0f0; }
.card:hover { transform: translateY(-4px); box-shadow: 0 6px 30px rgba(0,0,0,0.08); }
.card h3 { margin-bottom: 12px; font-size: 22px; font-weight: 700; color: #1a1a1a; }
.card p { color: #2d2d2d; line-height: 1.7; font-size: 17px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
.feature-item { background: #ffffff; padding: 24px; border-radius: 12px; border: 1px solid #f0f0f0; text-align: center; transition: all 0.2s; }
.feature-item:hover { border-color: #0a58ca; box-shadow: 0 4px 16px rgba(10,88,202,0.08); }
.feature-item h4 { font-size: 20px; font-weight: 700; margin-bottom: 6px; color: #1a1a1a; }
.feature-item p { font-size: 15px; color: #2d2d2d; line-height: 1.5; }
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 30px; text-align: center; }
.step { background: #ffffff; padding: 32px; border-radius: 12px; position: relative; box-shadow: 0 2px 12px rgba(0,0,0,0.04); border: 1px solid #f0f0f0; }
.step .num { font-size: 52px; font-weight: 800; color: #0a58ca; opacity: 0.12; position: absolute; top: 10px; right: 20px; }
.step h4 { font-size: 20px; font-weight: 700; margin: 12px 0 8px; color: #1a1a1a; }
.step p { color: #2d2d2d; font-size: 17px; }
.stats { background: #0a58ca; color: white; padding: 60px 0; text-align: center; }
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 30px; }
.stat-number { font-size: 48px; font-weight: 800; }
.stat-label { font-size: 17px; opacity: 0.85; margin-top: 6px; }
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.pricing-item { background: #ffffff; padding: 32px; border-radius: 12px; border: 2px solid #f0f0f0; text-align: center; transition: all 0.2s; }
.pricing-item:hover { border-color: #0a58ca; box-shadow: 0 4px 20px rgba(10,88,202,0.1); }
.pricing-item .price { font-size: 42px; font-weight: 800; color: #0a58ca; }
.pricing-item .price small { font-size: 18px; font-weight: 400; color: #6c757d; }
.pricing-item h4 { font-size: 18px; font-weight: 700; margin: 12px 0 4px; }
.pricing-item .note { font-size: 15px; color: #6c757d; }
.faq-item { background: #ffffff; padding: 22px 28px; border-radius: 12px; margin-bottom: 14px; border: 1px solid #f0f0f0; }
.faq-item strong { display: block; font-size: 18px; font-weight: 700; margin-bottom: 6px; color: #1a1a1a; }
.faq-item p { color: #2d2d2d; font-size: 17px; }
.testimonials-wrapper { position: relative; padding: 20px 0; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s ease-in-out; width: 100%; touch-action: pan-y; }
.testimonial-slide { flex: 0 0 100%; padding: 0 10px; box-sizing: border-box; cursor: pointer; }
.testimonial { background: #ffffff; padding: 32px; border-radius: 12px; border: 1px solid #f0f0f0; text-align: center; max-width: 720px; margin: 0 auto; user-select: none; }
.testimonial p { font-size: 19px; line-height: 1.8; color: #2d2d2d; }
.testimonial .author { font-weight: 700; margin-top: 20px; color: #1a1a1a; }
.testimonial .role { font-size: 15px; color: #6c757d; }
.slider-controls { display: flex; justify-content: center; align-items: center; gap: 30px; margin-top: 30px; }
.slider-btn { background: transparent; color: #0a58ca; border: 1px solid #0a58ca; padding: 10px 16px; border-radius: 8px; font-size: 18px; cursor: pointer; transition: all 0.2s; opacity: 0.6; }
.slider-btn:hover { opacity: 1; background: transparent; color: #084298; border-color: #084298; }
.slider-dots { display: flex; gap: 10px; }
.slider-dot { width: 12px; height: 12px; border-radius: 50%; background: #ccc; cursor: pointer; transition: all 0.2s; border: none; }
.slider-dot.active { background: #0a58ca; }
.cta-wrapper { padding: 0; }
.cta-section { background: #0a58ca; color: white; text-align: center; padding: 80px 20px; border-radius: 16px; margin: 40px auto; max-width: 1200px; }
.cta-section h2 { font-size: 28px; font-weight: 800; margin-bottom: 20px; letter-spacing: -0.5px; transform: scaleX(1.05); transform-origin: center; max-width: 90%; margin-left: auto; margin-right: auto; }
.cta-section p { font-size: 20px; opacity: 0.9; margin-bottom: 36px; }
.cta-section .btn { background: #ffffff; color: #0a58ca; }
.cta-section .btn:hover { background: #f8f9fa; color: #084298; }
footer {
    background: #111;
    color: #888;
    padding: 30px 0;
    text-align: center;
    font-size: 13px;
    width: 100%;
    margin: 0;
    border-radius: 0;
}
@media (max-width: 420px) {
    .logo { font-size: 16px; } .btn-header { padding: 4px 8px; font-size: 11px; }
    .auth-buttons { gap: 4px; } .hero h1 { font-size: 22px; }
    .nav { flex-wrap: nowrap; gap: 2px; justify-content: flex-start; padding: 8px 10px; }
    .nav-actions { margin-left: auto; }
}

.landing-content { 
    max-width: 1200px; 
    margin: 0 auto; 
    padding: 40px 20px; 
}
.landing-content h1 { 
    font-size: 36px; 
    font-weight: 700; 
    margin-bottom: 30px; 
    color: #1a1a1a; 
}
.landing-content p { 
    font-size: 17px; 
    line-height: 1.8; 
    color: #2d2d2d; 
    margin-bottom: 16px; 
}

@media (max-width: 768px) {
    .landing-content h1 { font-size: 24px; margin-top: 10px; }
    .landing-content p { font-size: 15px; }
}
.landing-content { padding-top: 20px !important; }

.landing-content h2 { font-size: 24px; font-weight: 800; margin: 30px 0 16px; color: #1a1a1a; transform: scaleX(1.25); transform-origin: center; letter-spacing: -0.8px; max-width: 85%; margin-left: auto; margin-right: auto; padding: 0 15px; overflow: hidden; }
.landing-content h3 { font-size: 20px; font-weight: 700; margin: 24px 0 12px; color: #1a1a1a; }
.landing-content a { color: #0a58ca; text-decoration: underline; }
@media (max-width: 768px) {
    
    .landing-content h2 { font-size: 20px; transform: scaleX(1.2); transform-origin: center; letter-spacing: -0.6px; max-width: 85%; margin-left: auto; margin-right: auto; padding: 0 10px; overflow: hidden; }
    .landing-content h3 { font-size: 17px; }
}

.landing-content .container { 
    padding-left: 20px; 
    padding-right: 20px; 
}
@media (max-width: 768px) {
    
    
    .landing-content .container { padding-left: 16px; padding-right: 16px; }
}

.landing-content ul {
    list-style: none;
    padding: 0 20px;
    margin: 16px 0;
}
.landing-content ul li {
    padding: 4px 0 4px 16px;
    position: relative;
    font-size: 17px;
    color: #2d2d2d;
}
.landing-content ul li::before {
    content: "—";
    color: #0a58ca;
    position: absolute;
    left: 0;
}
.landing-content ol {
    padding-left: 28px;
    margin: 16px 0;
}
.landing-content ol li {
    padding: 4px 0;
    font-size: 17px;
    color: #2d2d2d;
}
@media (max-width: 768px) {
    .landing-content ul { padding: 0 16px; }
    .landing-content ul li { font-size: 15px; padding-left: 14px; }
    .landing-content ol { padding-left: 20px; }
    .landing-content ol li { font-size: 15px; }
}

.landing-form {
    max-width: 400px;
    margin: 0 auto;
}
.landing-form input[type="email"],
.landing-form input[type="password"],
.landing-form input[type="text"] {
    width: 100%;
    padding: 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 16px;
    margin-bottom: 10px;
    font-family: inherit;
}
.landing-form .btn {
    width: 100%;
    margin-top: 10px;
}

.landing-form .btn { width: 100%; margin-top: 12px; padding: 14px; font-size: 16px; }

.profile-icon { color: #1a1a1a; display: flex; align-items: center; justify-content: center; width: 36px; height: 36px; }
.profile-icon:hover { color: #0a58ca; }

.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 20px 60px 20px;
}
main h1 {
    font-size: 28px;
    font-weight: 800;
    color: #1a1a1a;
    margin-bottom: 30px;
    transform: scaleX(1.3);
    transform-origin: center;
    letter-spacing: -1px;
    max-width: 85%;
    margin-left: auto;
    margin-right: auto;
    padding: 0 15px;
    overflow: hidden;
}
@media (max-width: 768px) {
    main { padding: 16px 15px 40px 15px; }
    main h1 { font-size: 28px; }
}

/* Списки */
main ul, main ol {
    padding-left: 24px;
    margin: 16px 0;
}
main li {
    margin-bottom: 6px;
    font-size: 16px;
    line-height: 1.6;
}
@media (max-width: 768px) {
    main ul, main ol { padding-left: 18px; }
    main li { font-size: 15px; }
}

.landing-content .btn, .landing-content .btn-red, .landing-content .btn-outline {
    padding: 10px 24px;
    font-size: 15px;
}

main .btn { padding: 10px 24px !important; font-size: 15px !important; }

/* Блог */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 24px;
    margin-top: 20px;
}
.blog-card {
    background: white;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    transition: transform 0.2s;
}
.blog-card:hover { transform: translateY(-2px); }
.blog-card time {
    color: #7f8c8d;
    font-size: 13px;
}
.blog-card h2 {
    font-size: 20px;
    margin: 8px 0;
}
.blog-card h2 a { color: #1a1a1a; }
.blog-card p {
    color: #2d2d2d;
    font-size: 15px;
    line-height: 1.6;
}
@media (max-width: 768px) {
    .blog-grid { grid-template-columns: 1fr; }
}

/* Кнопки как в сервисе (синие/красные) */
.btn {
    padding: 10px 20px;
    background: #0a58ca;
    color: white !important;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 15px;
    white-space: nowrap;
    transition: 0.2s;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
}
.btn:hover { background: #084298; opacity: 0.9; }
.btn-red, .btn-danger { background: #dc3545; color: white !important; }
.btn-red:hover, .btn-danger:hover { background: #bb2d3b; }
.btn-outline {
    background: transparent;
    color: #0a58ca;
    border: 1px solid #0a58ca;
}
.btn-outline:hover { background: #0a58ca; color: white !important; }

/* Пагинация */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    margin: 30px 0;
    flex-wrap: wrap;
}
.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 38px;
    height: 38px;
    padding: 0 8px;
    border-radius: 6px;
    font-size: 14px;
    text-decoration: none;
    background: white;
    color: #0a58ca;
    border: 1px solid #ddd;
    transition: 0.2s;
}
.pagination a:hover { background: #0a58ca; color: white; border-color: #0a58ca; }
.pagination .current {
    background: #0a58ca;
    color: white;
    border-color: #0a58ca;
    font-weight: 700;
}
.pagination select {
    padding: 8px 12px;
    border-radius: 6px;
    border: 1px solid #ddd;
    font-size: 14px;
    background: white;
}

/* Scroll-to-top */
.scroll-top {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #0a58ca;
    color: white;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 2px 12px rgba(0,0,0,0.3);
    text-decoration: none;
    border: none;
}
@media (max-width: 768px) {
    .scroll-top { display: flex; }
}

/* Free trial box */
.free-trial-box {
    text-align: center;
    margin-bottom: 32px;
    padding: 20px;
    background: #fff;
    border-radius: 12px;
    border: 2px solid #0a58ca;
    box-shadow: 0 2px 12px rgba(10,88,202,0.08);
}
.free-trial-title { font-size: 20px; font-weight: 700; color: #0a58ca; }
.free-trial-text { font-size: 18px; color: #2d2d2d; margin-top: 8px; }
.free-trial-note { font-size: 15px; color: #6c757d; margin-top: 4px; }
@media (max-width: 768px) {
    .free-trial-title { font-size: 17px; }
    .free-trial-text { font-size: 15px; }
    .free-trial-note { font-size: 13px; }
}

@media (max-width: 480px) {
    .hero h1 { font-size: 32px; transform: scaleX(1.3); transform-origin: center; max-width: 95%; letter-spacing: -1px; }
    .section-title { font-size: 28px; transform: scaleX(1.25); transform-origin: center; letter-spacing: -0.8px; }
    .hero p { font-size: 16px; padding: 0 10px; }
    .card h3 { font-size: 20px; }
    .feature-item h4 { font-size: 18px; }
    .cta-section h2 { font-size: 22px; transform: scaleX(1.02); }
    .btn-header { padding: 6px 10px; font-size: 12px; }
    .btn-header-register { padding: 6px 8px; }
    .cta-section { padding: 40px 15px; }
}
