/* cardio-styles.css */

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Manrope', 'Source Sans Pro', 'Inter', sans-serif;
    line-height: 1.6;
    color: #2D3748;
    background-color: #F8FAFC;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.main-header {
    background: linear-gradient(135deg, #1E3A8A 0%, #3730A3 100%);
    padding: 16px 0;
    box-shadow: 0 2px 20px rgba(30, 58, 138, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.brand-logo {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-size: 24px;
    font-weight: 800;
    color: #FFFFFF;
    letter-spacing: -0.5px;
}

.product-name {
    font-size: 14px;
    color: #A5B4FC;
    font-weight: 500;
}

.header-contact {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s ease;
}

.phone-link:hover {
    color: #A5B4FC;
}

/* Buttons */
.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-accent {
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3);
}

.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}

.btn-large {
    padding: 16px 32px;
    font-size: 18px;
}

/* Hero Section */
.main-hero {
    background: linear-gradient(135deg, #1E40AF 0%, #3730A3 50%, #1E3A8A 100%);
    color: #FFFFFF;
    padding: 80px 0 40px;
    position: relative;
    overflow: hidden;
}

.hero-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-badge {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-main-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 16px;
    letter-spacing: -1px;
}

.hero-subtitle-main {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 24px;
    color: #E0E7FF;
}

.hero-description {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 32px;
    color: #E0E7FF;
}

.hero-advantages {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 32px;
}

.advantage-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
}

.advantage-icon {
    font-size: 16px;
}

.hero-image-content {
    text-align: center;
}

.hero-image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.disclaimer-hero {
    margin-top: 40px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.disclaimer-text {
    text-align: center;
    font-size: 14px;
    color: #FECACA;
    font-weight: 600;
}

/* Section Headings */
.section-heading {
    font-size: 36px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 16px;
    color: #1E3A8A;
    letter-spacing: -0.5px;
}

.section-subheading {
    font-size: 18px;
    text-align: center;
    color: #64748B;
    margin-bottom: 48px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Product Info Section */
.product-info {
    padding: 80px 0;
    background: #FFFFFF;
}

.info-header {
    text-align: center;
    margin-bottom: 60px;
}

.process-steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.step-item {
    background: #F8FAFC;
    padding: 32px;
    border-radius: 16px;
    border-left: 4px solid #10B981;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

.step-item:hover {
    transform: translateY(-4px);
}

.step-num {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10B981 0%, #059669 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-bottom: 16px;
}

.step-details h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1E3A8A;
}

.step-details p {
    color: #64748B;
    line-height: 1.6;
}

/* Benefits Section */
.product-benefits {
    padding: 80px 0;
    background: linear-gradient(135deg, #F0F9FF 0%, #E0F2FE 100%);
}

.benefits-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
}

.benefit-item-card {
    background: #FFFFFF;
    padding: 32px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.benefit-item-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.15);
}

.benefit-symbol {
    font-size: 48px;
    margin-bottom: 20px;
}

.benefit-item-card h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1E3A8A;
}

.benefit-item-card p {
    color: #64748B;
    line-height: 1.6;
}

/* Usage Scenarios */
.usage-scenarios {
    padding: 80px 0;
    background: #FFFFFF;
}

.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}

.scenario-card {
    background: #F8FAFC;
    padding: 24px;
    border-radius: 12px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.scenario-card:hover {
    background: #E0F2FE;
    transform: translateY(-2px);
}

.scenario-icon {
    font-size: 32px;
    flex-shrink: 0;
}

.scenario-content h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1E3A8A;
}

.scenario-content p {
    color: #64748B;
    font-size: 14px;
}

/* Innovation Section */
.product-innovation {
    padding: 80px 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #3730A3 100%);
    color: #FFFFFF;
}

.innovation-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.innovation-text-content .section-heading {
    color: #FFFFFF;
    text-align: left;
}

.innovation-features-list {
    margin: 32px 0;
}

.feature-card {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
}

.feature-symbol {
    font-size: 32px;
    flex-shrink: 0;
}

.feature-details h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #E0E7FF;
}

.feature-details p {
    color: #A5B4FC;
    line-height: 1.6;
}

.innovation-image-content {
    text-align: center;
}

.innovation-image-content img {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Ingredients Section */
.ingredients-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.ingredients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
}

.ingredient-card {
    background: #FFFFFF;
    padding: 32px 24px;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.ingredient-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.ingredient-symbol {
    font-size: 48px;
    margin-bottom: 20px;
}

.ingredient-card h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1E3A8A;
}

.ingredient-card p {
    color: #64748B;
    line-height: 1.6;
    font-size: 14px;
}

/* Documents Section */
.documents-section {
    padding: 60px 0;
    background: #FFFFFF;
}

.documents-wrapper {
    text-align: center;
}

.documents-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.btn-doc {
    background: #1E40AF;
    color: #FFFFFF;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-doc:hover {
    background: #1E3A8A;
    transform: translateY(-2px);
}

.btn-instruction {
    background: transparent;
    color: #1E40AF;
    border: 2px solid #1E40AF;
    padding: 12px 24px;
    border-radius: 8px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-instruction:hover {
    background: #1E40AF;
    color: #FFFFFF;
}

.instruction-content {
    margin-top: 32px;
    background: #F8FAFC;
    padding: 32px;
    border-radius: 12px;
    text-align: left;
}

.instruction-text h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #1E3A8A;
}

.instruction-text p {
    margin-bottom: 16px;
    line-height: 1.6;
    color: #374151;
}

.important-note {
    background: #FEF2F2;
    border-left: 4px solid #DC2626;
    padding: 16px;
    border-radius: 8px;
    margin-top: 20px;
}

.important-note p {
    color: #DC2626;
    margin-bottom: 0;
    font-weight: 600;
}

/* Usage Guide */
.usage-guide {
    padding: 80px 0;
    background: linear-gradient(135deg, #E0F2FE 0%, #BAE6FD 100%);
}

.usage-wrapper {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.dosage-info {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 12px;
    margin-bottom: 32px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.dosage-info h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: #1E3A8A;
}

.dosage {
    font-size: 24px;
    font-weight: 800;
    color: #10B981;
}

.usage-steps {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 32px;
}

.usage-step {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #FFFFFF;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1E40AF 0%, #3730A3 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    flex-shrink: 0;
}

.step-info h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1E3A8A;
    text-align: left;
}

.step-info p {
    color: #64748B;
    text-align: left;
}

.usage-note {
    color: #64748B;
    font-style: italic;
    margin-bottom: 32px;
}

/* FAQ Section */
.faq-section {
    padding: 80px 0;
    background: #FFFFFF;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item-card {
    background: #F8FAFC;
    border-radius: 12px;
    margin-bottom: 16px;
    overflow: hidden;
    border: 1px solid #E2E8F0;
}

.faq-question {
    padding: 24px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #F1F5F9;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 600;
    color: #1E3A8A;
    margin: 0;
    flex: 1;
}

.faq-indicator {
    font-size: 20px;
    font-weight: 700;
    color: #1E40AF;
    transition: transform 0.3s ease;
}

.faq-answer {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 0 24px 24px;
    max-height: 1000px;
}

.faq-answer p {
    color: #64748B;
    margin-bottom: 12px;
    line-height: 1.6;
}

.faq-answer ul {
    color: #64748B;
    margin-left: 20px;
    margin-bottom: 12px;
}

.faq-answer li {
    margin-bottom: 8px;
    line-height: 1.5;
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: #F8FAFC;
}

.reviews-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.review-item-card {
    background: #FFFFFF;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.review-item-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.reviewer-avatar {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #1E40AF 0%, #3730A3 100%);
    color: #FFFFFF;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.reviewer-details h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1E3A8A;
}

.reviewer-details p {
    color: #64748B;
    font-size: 14px;
}

.review-text {
    color: #374151;
    line-height: 1.6;
    margin-bottom: 16px;
}

.review-product-info {
    padding-top: 16px;
    border-top: 1px solid #E2E8F0;
}

.review-product-info span {
    color: #10B981;
    font-weight: 600;
    font-size: 14px;
}

/* Purchase Section */
.purchase-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #1E3A8A 0%, #3730A3 100%);
    color: #FFFFFF;
    text-align: center;
}

.purchase-subtitle {
    font-size: 20px;
    margin-bottom: 32px;
    color: #E0E7FF;
}

.purchase-buttons {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 24px;
    cursor: pointer;
    color: #64748B;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: #DC2626;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1E3A8A;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: #64748B;
    margin-bottom: 24px;
}

.purchase-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.purchase-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #F8FAFC;
    border-radius: 8px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.purchase-link:hover {
    background: #E0F2FE;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.link-icon {
    font-size: 24px;
    flex-shrink: 0;
}

.link-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1E3A8A;
}

.link-content p {
    color: #64748B;
    font-size: 14px;
}

.modal-footer {
    background: #FEF2F2;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #DC2626;
}

.modal-footer p {
    color: #DC2626;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
}

/* Footer */
.main-footer {
    background: #1E293B;
    color: #FFFFFF;
    padding: 40px 0;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
}

.footer-disclaimer {
    font-size: 12px;
    color: #94A3B8;
    margin-top: 8px;
}

.footer-contact {
    text-align: right;
}

.footer-phone {
    color: #FFFFFF;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    display: block;
    margin-bottom: 8px;
}

.footer-copyright {
    color: #94A3B8;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-main-title {
        font-size: 36px;
    }
    
    .hero-subtitle-main {
        font-size: 20px;
    }
    
    .innovation-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .section-heading {
        font-size: 28px;
    }
    
    .header-wrapper {
        flex-direction: column;
        gap: 16px;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-contact {
        text-align: center;
    }
    
    .documents-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .purchase-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .usage-step {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }
    
    .step-info h4,
    .step-info p {
        text-align: center;
    }
}

/* Animation Classes */
.fade-in {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Accessibility */
.skip-main:focus {
    top: 6px;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 32px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: modalAppear 0.3s ease-out;
}

@keyframes modalAppear {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 28px;
    cursor: pointer;
    color: #64748B;
    transition: color 0.3s ease;
    background: none;
    border: none;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.modal-close:hover {
    color: #DC2626;
    background: #FEF2F2;
}

.modal-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
    color: #1E3A8A;
    text-align: center;
}

.modal-subtitle {
    text-align: center;
    color: #64748B;
    margin-bottom: 24px;
    font-size: 16px;
}

.purchase-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.purchase-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 20px;
    background: #F8FAFC;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #E2E8F0;
}

.purchase-link:hover {
    background: #E0F2FE;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    border-color: #BAE6FD;
}

.link-icon {
    font-size: 28px;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #FFFFFF;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.link-content h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
    color: #1E3A8A;
}

.link-content p {
    color: #64748B;
    font-size: 14px;
    margin: 0;
}

.modal-footer {
    background: #FEF2F2;
    padding: 16px;
    border-radius: 8px;
    border-left: 4px solid #DC2626;
    margin-top: 20px;
}

.modal-footer p {
    color: #DC2626;
    font-size: 14px;
    font-weight: 600;
    margin: 0;
    text-align: center;
}

/* Анимации для появления элементов */
.step-item,
.benefit-item-card,
.scenario-card,
.ingredient-card,
.review-item-card {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* FAQ Styles */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 24px;
}

.faq-item-card.active .faq-answer {
    padding: 0 24px 24px;
}

.faq-indicator {
    transition: transform 0.3s ease;
}

.faq-item-card.active .faq-indicator {
    transform: rotate(45deg);
}