/* ===== ОСНОВНЫЕ СТИЛИ ===== */

/* Дополнительные компоненты и анимации */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--wb-purple);
    color: var(--wb-purple);
}

.btn-secondary:hover {
    background: var(--wb-purple);
    color: white;
}

.btn-success {
    background: linear-gradient(135deg, var(--wb-success), #059669);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(16, 185, 129, 0.3);
}

/* Секция "О нас" */
.about {
    padding: 5rem 0;
    background: var(--wb-bg-alt);
}

.about h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--wb-purple);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--wb-bg);
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border-left: 4px solid var(--wb-purple);
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(139, 49, 229, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--wb-purple);
}

.feature-card p {
    color: var(--wb-text-light);
    line-height: 1.7;
}

/* Секция тарифов */
.pricing {
    padding: 5rem 0;
    background: var(--wb-bg);
}

.pricing h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--wb-purple);
}

.pricing-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--wb-text-light);
    margin-bottom: 3rem;
}

.pricing-card {
    max-width: 600px;
    margin: 0 auto;
    background: var(--wb-bg);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 2px solid var(--wb-purple);
}

.pricing-header {
    background: linear-gradient(135deg, var(--wb-purple), var(--wb-pink));
    color: white;
    text-align: center;
    padding: 3rem 2rem;
}

.pricing-header h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.price-currency {
    font-size: 2rem;
    vertical-align: top;
}

.price-period {
    font-size: 1.125rem;
    opacity: 0.9;
}

.pricing-features {
    padding: 2.5rem;
}

.pricing-features h4 {
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    color: var(--wb-purple);
}

.pricing-features ul {
    list-style: none;
}

.pricing-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--wb-border);
    font-size: 1.05rem;
}

.pricing-features li:last-child {
    border-bottom: none;
}

.pricing-guarantee {
    padding: 0 2.5rem;
}

.guarantee-box {
    background: linear-gradient(135deg, var(--wb-success), #059669);
    color: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
}

.guarantee-box strong {
    display: block;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.pricing-action {
    padding: 2.5rem;
    text-align: center;
}

.payment-info {
    margin-top: 1rem;
    color: var(--wb-text-light);
    font-size: 0.9rem;
}

/* FAQ секция */
.faq {
    padding: 5rem 0;
    background: var(--wb-bg-alt);
}

.faq h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--wb-purple);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: var(--wb-bg);
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

.faq-question {
    background: var(--wb-purple);
    color: white;
    padding: 1.5rem;
    margin: 0;
    cursor: pointer;
    font-size: 1.125rem;
    position: relative;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--wb-purple-dark);
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question::after {
    transform: translateY(-50%) rotate(45deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 1.5rem;
    max-height: 500px;
}

.faq-answer p {
    color: var(--wb-text);
    line-height: 1.7;
}

/* Контакты */
.contact {
    padding: 5rem 0;
    background: var(--wb-bg);
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--wb-purple);
}

.contact-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--wb-text-light);
    margin-bottom: 3rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    max-width: 1000px;
    margin: 0 auto;
}

.contact-form {
    background: var(--wb-bg-alt);
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.contact-info h3 {
    color: var(--wb-purple);
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.contact-item {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: var(--wb-bg-alt);
    border-radius: 8px;
}

.contact-item strong {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--wb-purple);
}

.contact-item a {
    color: var(--wb-text);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--wb-purple);
}

.contact-guarantee {
    background: var(--wb-bg-alt);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 2rem;
    border-left: 4px solid var(--wb-success);
}

.contact-guarantee h4 {
    color: var(--wb-success);
    margin-bottom: 1rem;
}

.contact-guarantee ul {
    list-style: none;
}

.contact-guarantee li {
    padding: 0.25rem 0;
    color: var(--wb-text);
}

.contact-guarantee li::before {
    content: '✓ ';
    color: var(--wb-success);
    font-weight: bold;
}

/* Футер */
.footer {
    background: var(--wb-text);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--wb-purple-light);
}

.footer-section p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
}

.footer-section a {
    color: white;
    text-decoration: none;
}

.footer-section a:hover {
    color: var(--wb-purple-light);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
    opacity: 0.7;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInFromLeft 0.8s ease-out;
}

.animate-slideInRight {
    animation: slideInFromRight 0.8s ease-out;
}

/* Формы */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--wb-text);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--wb-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.form-input:focus {
    outline: none;
    border-color: var(--wb-purple);
    box-shadow: 0 0 0 3px rgba(139, 49, 229, 0.1);
}

.form-input.error {
    border-color: var(--wb-error);
}

.form-error {
    color: var(--wb-error);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .features-grid {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero .subtitle {
        font-size: 1.25rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .about h2,
    .pricing h2,
    .faq h2,
    .contact h2 {
        font-size: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .pricing-header {
        padding: 2rem 1.5rem;
    }
    
    .price {
        font-size: 3rem;
    }
    
    .pricing-features,
    .pricing-action {
        padding: 2rem;
    }
    
    .contact-form {
        padding: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero .subtitle {
        font-size: 1.125rem;
    }
    
    .about,
    .pricing,
    .faq,
    .contact {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
    
    .features-grid {
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
        min-height: auto;
    }
    
    .feature-icon {
        font-size: 2.5rem;
        margin-bottom: 1rem;
    }
    
    .pricing-header {
        padding: 1.5rem 1rem;
    }
    
    .price {
        font-size: 2.5rem;
    }
    
    .pricing-features,
    .pricing-action {
        padding: 1.5rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
    
    .faq-question,
    .faq-answer {
        padding: 1rem;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --wb-bg: #1A202C;
        --wb-bg-alt: #2D3748;
        --wb-text: #E2E8F0;
        --wb-text-light: #A0AEC0;
        --wb-border: #4A5568;
    }
}

/* Печать */
@media print {
    header,
    .btn,
    .contact-form {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        background: none !important;
        color: black !important;
    }
    
    .feature-card,
    .pricing-card,
    .faq-item {
        box-shadow: none;
        border: 1px solid #ccc;
        break-inside: avoid;
    }
    
    .footer {
        background: none !important;
        color: black !important;
    }
}
    /* ===== ОСНОВНЫЕ СТИЛИ ===== */

/* Дополнительные компоненты и анимации */
.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--wb-purple);
    color: var(--wb-purple);
}

.btn-secondary:hover {
    background: var(--wb-purple);
    color: white;
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(100px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out;
}

.animate-slideInLeft {
    animation: slideInFromLeft 0.8s ease-out;
}

.animate-slideInRight {
    animation: slideInFromRight 0.8s ease-out;
}

/* Сетка */
.grid {
    display: grid;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.grid-auto {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.gap-1 { gap: 1rem; }
.gap-2 { gap: 2rem; }
.gap-3 { gap: 3rem; }

/* Утилиты */
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }

.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

.p-1 { padding: 1rem; }
.p-2 { padding: 2rem; }
.p-3 { padding: 3rem; }

/* Карточки */
.card {
    background: var(--wb-bg);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(139, 49, 229, 0.15);
}

.card-purple {
    border-left: 4px solid var(--wb-purple);
}

.card-pink {
    border-left: 4px solid var(--wb-pink);
}

.card-orange {
    border-left: 4px solid var(--wb-orange);
}

.card-blue {
    border-left: 4px solid var(--wb-blue);
}

/* Формы */
.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--wb-text);
}

.form-input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--wb-border);
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-input:focus {
    outline: none;
    border-color: var(--wb-purple);
    box-shadow: 0 0 0 3px rgba(139, 49, 229, 0.1);
}

.form-input.error {
    border-color: #E53E3E;
}

.form-error {
    color: #E53E3E;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

/* Модальные окна */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 2000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: var(--wb-bg);
    border-radius: 12px;
    padding: 2rem;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--wb-text-light);
}

.modal-close:hover {
    color: var(--wb-text);
}

/* Слайдер */
.slider {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
}

.slider-track {
    display: flex;
    transition: transform 0.5s ease;
}

.slider-slide {
    min-width: 100%;
    padding: 2rem;
    background: linear-gradient(135deg, var(--wb-purple), var(--wb-pink));
    color: white;
    text-align: center;
}

.slider-nav {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--wb-border);
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dot.active {
    background: var(--wb-purple);
}

/* Калькулятор */
.calculator {
    background: var(--wb-bg-alt);
    padding: 2rem;
    border-radius: 12px;
    border: 2px solid var(--wb-border);
}

.calculator-result {
    background: linear-gradient(135deg, var(--wb-purple), var(--wb-pink));
    color: white;
    padding: 1.5rem;
    border-radius: 8px;
    text-align: center;
    margin-top: 1rem;
}

.calculator-value {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

/* Прогресс бар */
.progress-bar {
    width: 100%;
    height: 8px;
    background: var(--wb-border);
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--wb-purple), var(--wb-pink));
    transition: width 0.5s ease;
}

/* Иконки */
.icon {
    display: inline-block;
    width: 24px;
    height: 24px;
    margin-right: 0.5rem;
    vertical-align: middle;
}

.icon-lg {
    width: 48px;
    height: 48px;
}

/* Адаптивность */
@media (max-width: 1024px) {
    .container {
        padding: 0 15px;
    }
    
    .grid-3 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .grid-2,
    .grid-3 {
        grid-template-columns: 1fr;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.125rem;
    }
    
    .about h2 {
        font-size: 2rem;
    }
    
    .modal-content {
        padding: 1.5rem;
    }
    
    .slider-slide {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .hero {
        padding: 2rem 0;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about {
        padding: 3rem 0;
    }
    
    .btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
    
    .btn-large {
        padding: 0.75rem 1.5rem;
        font-size: 1rem;
    }
}

/* Печать */
@media print {
    header,
    .btn,
    .modal {
        display: none !important;
    }
    
    body {
        font-size: 12pt;
        line-height: 1.4;
    }
    
    .hero {
        background: none !important;
        color: black !important;
    }
    
    .card {
        box-shadow: none;
        border: 1px solid #ccc;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --wb-bg: #1A202C;
        --wb-bg-alt: #2D3748;
        --wb-text: #E2E8F0;
        --wb-text-light: #A0AEC0;
        --wb-border: #4A5568;
    }
}