@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: #1e3a8a;
    background-color: #ffffff;
}

.bg-second {
    background-color: #d3d1d13f !important;
}

.hero-section {
    min-height: 100vh;
    background-color: #d3d1d13f;
    background-image: url('../img/hero-bg.webp');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    text-align: center;
    position: relative;
}
.hero-wrapper {
    background-color: rgb(250, 250, 250);
    border-radius: 20px;
    position: relative;
    max-width: 70%;
    margin: 25px auto;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 5px 10px 15px rgba(0, 0, 0, 0.411);
}
.hero-logo{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.hero-logo video {
    border-radius: 10%;
    max-width: 300px;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.459);
}

 #gifFallback, #videoFallback{
    margin: 0 auto;
 }

.hero-title {
    font-size: 4rem;
    font-weight: 700;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    /* text-shadow: 0px 1px 10px rgba(0, 0, 0, 0.247); */
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #1d4ed8;
    font-weight: 400;
    /* text-shadow: 0px 2px 10px rgba(0, 0, 0, 0.39); */
}

.btn-hero {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border: none;
    color: white;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.3);
}

.btn-hero:hover {
    background: linear-gradient(135deg, #1d4ed8, #1e40af);
    box-shadow: 0 15px 35px rgba(59, 130, 246, 0.4);
    transform: translateY(-2px);
    color: white;
}

.section-padding {
    padding: 5rem 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e3a8a;
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.125rem;
    color: #64748b;
    line-height: 1.8;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    height: 100%;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 1rem;
}

.feature-text {
    color: #64748b;
    line-height: 1.6;
}

.benefits-container {
    max-width: 800px;
    margin: 0 auto;
}

.benefit-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
    padding: 0 1rem;
}

.benefit-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    width: 60px;
    text-align: center;
}

.benefit-content {
    flex: 1;
}

.benefit-title {
    font-size: 1.35rem;
    font-weight: 600;
    color: #1e3a8a;
    margin-bottom: 0.75rem;
}

.benefit-text {
    color: #64748b;
    line-height: 1.7;
    font-size: 1.05rem;
}

.benefits-simple-container {
    max-width: 700px;
    margin: 0 auto;
}

.benefit-simple {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 1.75rem;
    padding: 0.75rem 1rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-simple:hover {
    transform: translateX(5px);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.1);
}

.bullet {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    border-radius: 50%;
    flex-shrink: 0;
}

.benefit-simple p {
    color: #1e3a8a;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0;
}

.target-card {
    background: white;
    padding: 2rem;
    border-radius: 16px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
    height: 100%;
    transition: all 0.3s ease;
}

.target-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.15);
}

.target-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.target-text {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.cta-section {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    padding: 5rem 0;
    text-align: center;
}

.cta-title {
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin-bottom: 2rem;
    line-height: 1.4;
}

.btn-cta {
    background: white;
    color: #1d4ed8;
    border: none;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.btn-cta:hover {
    background: #f8fafc;
    color: #1e40af;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(255, 255, 255, 0.2);
}

.footer {
    background: #f8fafc;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
}

.footer-text {
    color: #64748b;
    margin: 0;
}

.bg-light {
    background-color: #f8fafc !important;
}

.bg-red {
    background-color: #ffcccc;
}

.bg-yellow {
    background-color: #ffffcc;
}

.bg-green {
    background-color: #ccffcc;
}
.reviews-section {
    padding-bottom: 60px;
}
.reviews-title {
    text-align: center;
    margin: 40px 0;
}
.reviews-divider {
    width: 100px;
    height: 3px;
    background: #498a2d;
    margin: 25px auto;
}

.carousel-image {
    position: relative;
    height: 100%;
    width: 33%;
}
.carousel-indicators {
    margin-bottom: -2rem;
}
.carousel-control-prev {
    margin-left: -10rem;
}
.carousel-control-next {
    margin-right: -10rem;
}
.video-fallback,
.gif-fallback {
    display: none;
    max-width: 300px;
    border-radius: 10%;
    box-shadow: 0px 15px 30px rgba(0, 0, 0, 0.459);
}
.play-button {
    display: none;
    margin: 15px auto;
}
.table-section {
    padding-top: 50px;
    padding-bottom: 30px;
}

.table-title {
    text-align: center;
    margin-bottom: 50px;
}

.alternative-table {
    height: 300px;
    overflow: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.alternative-table table {
    width: 100%;
    border-collapse: collapse;
    table-layout: fixed;
}

.alternative-table thead th {
    position: sticky;
    top: 0;
    background: rgb(243, 188, 5);
    font-weight: bold;
    text-align: left;
    padding: 12px 15px;
    font-size: 14px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    z-index: 10;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
}

.alternative-table tbody td {
    text-align: left;
    padding: 10px 15px;
    font-size: 14px;
    vertical-align: middle;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #eee;
}

.alternative-table tbody tr:nth-child(even) {
    background: #f8f9fa;
}

.alternative-table tbody tr:hover {
    background: #e9ecef;
}

.month {
    background-color: rgb(202, 201, 201) !important;
    font-weight: 700;
}

.alternative-table::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

.alternative-table::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 4px;
}

.alternative-table::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 4px;
}

.alternative-table::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

.alternative-table th:nth-child(1),
.alternative-table td:nth-child(1) {
    width: 60px; /* для номера */
}

.alternative-table th:nth-child(2),
.alternative-table td:nth-child(2) {
    width: 40%; /* для результата */
}

.alternative-table th:nth-child(3),
.alternative-table td:nth-child(3) {
    width: 20%; /* для коэффициентов */
}

.alternative-table th:nth-child(4),
.alternative-table td:nth-child(4) {
    width: 20%; /* для счета */
}

@media (max-width: 1600px) {
    .carousel-control-next {
        margin-right: 0;
        background-color: rgb(255, 255, 255);
        width: 10%;
    }
    .carousel-control-prev {
        margin-left: 0;
        background-color: rgb(255, 255, 255);
        width: 10%;
    }
}
@media (max-width: 1000px) {
    .carousel-image {
        width: 32%;
    }
    .carousel-control-next {
        margin-right: 1rem;
    }
    /* .carousel-control-next,
    .carousel-control-prev {
        display: none;
    } */
}
@media (max-width: 768px) {
    .carousel-control-next {
        margin-right: 0;
    }
    .hero-section {
        background-attachment: scroll;
    }
    .hero-title {
        font-size: 2.5rem;
    }
    .hero-logo video,
    #gifFallback,
    #videoFallback {
        max-width: 150px;
    }
    .hero-subtitle {
        font-size: 1.25rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-title {
        font-size: 1.5rem;
    }

    .section-padding {
        padding: 3rem 0;
    }

    .feature-card,
    .target-card {
        margin-bottom: 2rem;
    }

    .benefit-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .benefit-icon {
        width: 100%;
    }

    .benefit-simple {
        padding: 1rem;
    }
}
