/*
 Theme Name: Podelis
 Author: Your Name
 Description: Custom theme for Podelis one-page website
 Version: 1.0
*/
/* Остальные стили из вашего styles.css */
 /* Импорт normalize.css */
@import url('https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.min.css');

/* Общие стили */
:root {
    --accent-color: #865bf4;
    --body-background-color: #ffffff;
    --section-background-color: #eff2f5;
    --text-color: #111111;
    --footer-background-color: #ebeffd;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--body-background-color);
    color: var(--text-color);
}
/* body {
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #ffffff;
    color: #111111;
} */

/* Контейнер */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: var(--body-background-color);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1.25rem 0;
    -webkit-backdrop-filter: blur(5px);
    backdrop-filter: blur(5px);
}

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

.logo {
    font-size: 2rem;
    font-weight: 700;
    color: var(--accent-color);
}

nav {
    display: flex;
    align-items: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1.875rem;
    margin: 0;
    padding: 0;
}

nav a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 1.1rem;
    font-weight: 500;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

nav a:hover, nav a:focus {
    color: var(--accent-color);
    outline: none;
}

.header-cta {
    background-color: var(--accent-color);
    color: var(--body-background-color);
    padding: 0.75rem 1.5rem;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1rem;
    font-weight: 600;
    -webkit-transition: background-color 0.3s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
    transition: background-color 0.3s ease, transform 0.2s ease;
    touch-action: manipulation;
}

.header-cta:hover, .header-cta:focus {
    background-color: #784cdc;
    transform: scale(1.05);
    outline: none;
}

/* Гамбургер-меню */
.menu-toggle {
    display: none;
    font-size: 1.8rem;
    background: none;
    border: none;
    color: var(--accent-color);
    cursor: pointer;
}

/* Hero */
.hero {
    background-color: var(--body-background-color);
    padding: 6.25rem 0;
    text-align: center;
}

.hero h1 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    color: var(--accent-color);
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 1.875rem;
    color: var(--text-color);
}

.cta-button {
    background-color: #ffffff;
    color: var(--accent-color);
    padding: 0.875rem 2rem;
    border: 2px solid var(--accent-color);
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    -webkit-transition: background-color 0.3s ease, transform 0.2s ease, -webkit-transform 0.2s ease;
    transition: background-color 0.3s ease, transform 0.2s ease;
    touch-action: manipulation;
}

.cta-button:hover, .cta-button:focus {
    background-color: #ebeffd;
    transform: scale(1.05);
    outline: none;
}

/* Advantages */
.advantages {
    background-color: var(--section-background-color);
    padding: 3.75rem 0;
}

.advantages h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--accent-color);
    text-align: center;
    margin-bottom: 2.5rem;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.875rem;
    text-align: center;
}

.advantage {
    padding: 1.875rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.advantage:hover {
    transform: translateY(-8px);
}

.advantage h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #865bf4;
    margin-bottom: 0.9375rem;
}

.advantage p {
    font-size: 1rem;
    color: #111111;
}

/* How It Works */
.how-it-works {
    background-color: #ffffff;
    padding: 3.75rem 0;
}

.how-it-works h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #865bf4;
    text-align: center;
    margin-bottom: 2.5rem;
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.875rem;
    text-align: center;
}

.step {
    padding: 1.25rem;
}

.step h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #865bf4;
    margin-bottom: 0.9375rem;
}

.step p {
    font-size: 1rem;
    color: #111111;
}

/* For Who */
.for-who {
    background-color: #eff2f5;
    padding: 3.75rem 0;
}

.for-who h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #865bf4;
    text-align: center;
    margin-bottom: 2.5rem;
}

.for-who-list {
    list-style: none;
    padding: 0;
    max-width: 700px;
    margin: 0 auto;
}

.for-who-list li {
    font-size: 1.1rem;
    color: #111111;
    margin-bottom: 0.9375rem;
    position: relative;
    padding-left: 1.5625rem;
}

.for-who-list li::before {
    content: "•";
    color: #865bf4;
    position: absolute;
    left: 0;
    font-size: 1.5rem;
}

/* Reviews */
.reviews {
    background-color: #ffffff;
    padding: 3.75rem 0;
}

.reviews h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #865bf4;
    text-align: center;
    margin-bottom: 2.5rem;
}

.review {
    background: #eff2f5;
    padding: 1.5625rem;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: 1.25rem auto;
    text-align: center;
}

.review p {
    font-size: 1.1rem;
    font-style: italic;
    color: #111111;
    margin-bottom: 0.9375rem;
}

.review strong {
    font-size: 1rem;
    font-weight: 600;
    color: #865bf4;
}

/* Pricing */
.pricing {
    background-color: #eff2f5;
    padding: 3.75rem 0;
}

.pricing h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #865bf4;
    text-align: center;
    margin-bottom: 2.5rem;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.875rem;
    text-align: center;
}

.plan {
    padding: 1.875rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-transition: transform 0.3s ease;
    transition: transform 0.3s ease;
}

.plan:hover {
    transform: translateY(-8px);
}

.plan h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #865bf4;
    margin-bottom: 0.9375rem;
}

.plan .price {
    font-size: 1.8rem;
    font-weight: 700;
    color: #111111;
    margin-bottom: 0.9375rem;
}

.plan p {
    font-size: 1rem;
    color: #111111;
    margin-bottom: 1.25rem;
}

/* Form Section */
.form-section {
    background-color: #ffffff;
    padding: 5rem 0;
    text-align: center;
}

.form-section h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #865bf4;
    margin-bottom: 1.25rem;
}

.form-subtitle {
    font-size: 1.2rem;
    color: #111111;
    max-width: 600px;
    margin: 0 auto 1.875rem;
}

.form-image {
    max-width: 600px;
    margin: 0 auto;
}

.form-image a {
    display: block;
    -webkit-transition: opacity 0.3s ease;
    transition: opacity 0.3s ease;
}

.form-image a:hover {
    opacity: 0.9;
}

.form-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    object-fit: contain;
    border-radius: 16px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-image a:hover img {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

/* FAQ */
.faq {
    background-color: #eff2f5;
    padding: 5rem 0;
}

.faq h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #865bf4;
    text-align: center;
    margin-bottom: 2.5rem;
}

.faq-item {
    max-width: 900px;
    margin: 0 auto 1.25rem;
    padding: 1.5625rem;
    background: #ffffff;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    -webkit-transition: transform 0.3s ease, box-shadow 0.3s ease;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.faq-question {
    font-size: 1.4rem;
    font-weight: 600;
    color: #865bf4;
    margin-bottom: 0.9375rem;
}

.faq-answer {
    font-size: 1.1rem;
    color: #111111;
    line-height: 1.6;
}

/* Footer */
footer {
    background-color: var(--footer-background-color);
    color: var(--text-color);
    padding: 3.125rem 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.875rem;
}

.footer-column h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--accent-color);
    margin-bottom: 0.9375rem;
}

.footer-column p {
    font-size: 1rem;
    color: #111111;
    line-height: 1.5;
    margin: 0 0 0.625rem;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    font-size: 1rem;
    margin-bottom: 0.625rem;
    color: #111111;
}

.footer-column a {
    color: #111111;
    text-decoration: none;
    -webkit-transition: color 0.3s ease;
    transition: color 0.3s ease;
}

.footer-column a:hover, .footer-column a:focus {
    color: #865bf4;
}

.copyright {
    font-size: 0.9rem;
    margin: 0.625rem 0;
}

.legal-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.legal-links li {
    display: inline-block;
    margin-right: 0.9375rem;
    font-size: 0.9rem;
}

/* Доступность: стили для фокуса */
a:focus, button:focus, .cta-button:focus, .header-cta:focus {
    outline: 2px solid #865bf4;
    outline-offset: 2px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .container {
        padding: 0 1rem;
    }

    .hero h1 {
        font-size: 2.8rem;
    }

    .hero p {
        font-size: 1.1rem;
    }

    .advantages-grid, .steps, .pricing-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .header-content {
        flex-direction: row;
        align-items: center;
    }

    nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #ffffff;
        padding: 1.25rem;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    }

    nav.active {
        display: block;
    }

    nav ul {
        flex-direction: column;
        gap: 1.25rem;
    }

    .menu-toggle {
        display: block;
        font-size: 1.5rem;
    }

    .hero {
        padding: 3.75rem 0;
    }

    .hero h1 {
        font-size: 2.2rem;
    }

    .form-image img {
        max-width: 350px;
    }

    .advantages h2, .how-it-works h2, .for-who h2, .reviews h2, .pricing h2, .form-section h2, .faq h2 {
        font-size: 2rem;
    }
}

@media (max-width: 576px) {
    html {
        font-size: 14px;
    }

    .logo {
        font-size: 1.4rem;
    }

    .header-cta {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .form-image img {
        max-width: 250px;
    }

    .advantages h2, .how-it-works h2, .for-who h2, .reviews h2, .pricing h2, .form-section h2, .faq h2 {
        font-size: 1.8rem;
    }

    .advantage h3, .step h3, .plan h3 {
        font-size: 1.3rem;
    }

    .advantage p, .step p, .plan p {
        font-size: 0.95rem;
    }

    .review p {
        font-size: 1rem;
    }

    .review strong {
        font-size: 0.95rem;
    }

    .plan .price {
        font-size: 1.5rem;
    }

    .form-subtitle {
        font-size: 1rem;
    }

    .faq-question {
        font-size: 1.3rem;
    }

    .faq-answer {
        font-size: 1rem;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 0 0.75rem;
    }

    .hero h1 {
        font-size: 1.5rem;
    }

    .cta-button {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }

    .form-image img {
        max-width: 200px;
    }
}

/* Поддержка высоких разрешений */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .form-image img {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
    }
}

/* Поддержка старых браузеров (IE) */
@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
    nav ul {
        display: block;
    }

    .cta-button, .header-cta {
        transition: none;
    }
}