* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
    font-family: Arial, Helvetica, sans-serif; 
}

body { 
    position: relative;
    text-align: center;
}

main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    margin-top: 100px;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* Header Styles */
header nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    padding: 20px 150px;
}

header nav .links a {
    transition: filter 0.3s ease;
    font-size: 18px;
    text-decoration: none;
    color: #6B7280;
}

header nav .links a:nth-child(2), 
header nav .links a:nth-child(3), 
header nav .links a:nth-child(4) {
    margin-left: 50px;
}

header nav .links a:hover {
    color: black;
}

/* Overview Section */
.overview {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.overview h1 {
    color: #111827;
    font-size: 3.75rem;
    font-weight: 800;
}

.overview p {
    margin-top: 10px;
    max-width: 760px;
    color: #6B7280;
    font-size: 1.25rem;
}

.overview-cta {
    margin-top: 25px;
    display: flex;
    justify-content: center;
}

.tg-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color: #0088cc;
    color: #ffffff;
    text-decoration: none;
    border: none;
    border-radius: 50px;
    padding: 18px 35px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 4px 15px rgba(0, 136, 204, 0.3);
    text-align: center;
}

.tg-button:hover {
    background-color: #0077b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 136, 204, 0.4);
}

.tg-button:active {
    transform: translateY(0);
}

.tg-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    vertical-align: middle;
}

/* Advantages Section - ПОЛНОСТЬЮ ИСПРАВЛЕНО */
.advantages {
    width: 100%;
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding-bottom: 50px;
    text-align: center;
}

.advantages h2 {
    color: #111827;
    font-size: 1.875rem;
    font-weight: 800;
}

.advantages p {
    font-size: 1.25rem;
    margin-top: 5px;
    color: #6B7280;
}

.advantage-list {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin-top: 50px;
    gap: 20px;
}

.advantage-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: calc(25% - 15px);
    box-sizing: border-box;
}

.advantage-icon {
    width: 50px;
    height: 40px;
    margin-bottom: 15px;
    flex-shrink: 0;
}

.advantage-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.advantage-name {
    color: #111827;
    font-weight: bold;
    line-height: 1.5rem;
    font-size: 1.125rem;
    margin-bottom: 5px;
}

.advantage-description {
    font-size: 1rem;
    line-height: 1.5;
    word-wrap: break-word;
}

/* How It Works Section */
.how-it-works {
    width: 100%;
    background-color: #F9FAFB;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
    text-align: center;
}

.how-it-works .header h1 {
    color: #16A34A;
    font-weight: 800;
}

.how-it-works .header p {
    margin-top: 10px;
}

.cards-column {
    display: flex;
    flex-direction: column;
    gap: 30px;
    align-items: center;
    margin-top: 30px;
}

.card-row {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.card {
    width: 400px;
    height: 180px;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
}

.card:nth-child(n+2) {
    margin-left: 15px;
}

.card-header {
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-header img {
    width: 32px;
    height: 32px;
}

.card-header p {
    margin-left: 10px;
    font-weight: bold;
    font-size: 20px;
}

.card-body {
    margin-top: 20px;
    color: #6B7280;
}

.card-body span {
    font-weight: bolder;
    color: black;
}

/* In Action Section */
.in-action {
    background-color: white;
    padding: 50px 0;
    text-align: center;
}

.in-action .header h1 {
    font-size: 25px;
}

.in-action .header p {
    margin-top: 10px;
    color: #6B7280;
}

.screenshot-row {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.screenshot-card {
    width: 450px;
    display: flex;
    flex-direction: column;
    text-align: center;
}

.screenshot-card:nth-child(n+2) {
    margin-left: 30px;
}

.screenshot-card img {
    border-radius: 5px;
}

.screenshot-card .card-body {
    margin-top: 10px;
}

.screenshot-card .card-body h1 {
    font-weight: 800;
    font-size: 20px;
}

.screenshot-card .card-body p {
    margin-top: 10px;
}

.screenshot-card .card-body p span {
    font-weight: bold;
}

/* Signup Updates Section */
.signup-updates {
    background-color: #15803D;
    width: 100%;
    padding: 75px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.signup-updates h1 {
    font-size: 2.25rem;
    line-height: 2.5rem;
    font-weight: 800;
    color: white;
}

.signup-updates p {
    margin-top: 15px;
    color: #BBF7D0;
}

/* Footer */
footer {
    background-color: #F9FAFB;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 0px;
}

footer p {
    font-size: 1rem;
    line-height: 1.5rem;
    color: #9CA3AF;
}

footer .social-media-links {
    display: flex;
    margin-top: 30px;
}

/* Cookies Request */
.cookies-request {
    position: fixed;
    right: 15px;
    bottom: 15px;
    display: none;
    width: 700px;
    background-color: white;
    padding: 25px;
    border-radius: 5px;
    box-shadow: 10px 10px 11px -12px rgba(0, 0, 0, 0.75);
    border: 1px solid #ccc;
    align-items: center;
}

.cookies-request .request-info {
    display: flex;
    flex-direction: column;
}

.cookies-request .request-info .request-header {
    color: black;
    font-weight: bold;
}

.cookies-request .request-info .request-text {
    margin-top: 10px;
    font-size: 14px;
}

.cookies-request .request-buttons {
    display: flex;
    flex-direction: column;
    margin-left: 30px;
}

.cookies-request .request-buttons button {
    width: 160px;
    padding: 8px;
    border-radius: 5px;
    border: 0;
    background-color: #16A34A;
    color: white;
    font-weight: bold;
    cursor: pointer;
}

.cookies-request .request-buttons button:hover {
    background-color: #15803D;
}

.cookies-request .request-buttons button:nth-child(2) {
    margin-top: 10px;
}

/* Mobile Responsive - ПОЛНОСТЬЮ ИСПРАВЛЕНО */
@media (max-width: 1024px) {
    header nav {
        flex-direction: column;
        align-items: center;
        padding: 20px;
    }
    
    header nav .links {
        margin-top: 20px;
        justify-content: center;
    }
    
    header nav .links a:nth-child(n+2) {
        margin-left: 50px;
    }
    
    .overview h1 {
        font-size: 20px;
    }
    
    .overview p {
        font-size: 15px;
        padding: 10px;
    }
    
    .advantages h2 {
        font-size: 19px;
    }
    
    .advantages p {
        font-size: 15px;
    }
    
    /* ИСПРАВЛЕНО для мобильных */
    .advantage-list {
        flex-direction: column;
        align-items: center;
    }
    
    .advantage-block {
        width: 100%;
        max-width: 500px;
        margin-bottom: 30px;
    }
    
    .advantage-icon {
        margin-bottom: 15px;
    }
    
    .how-it-works {
        padding: 30px 10px;
    }
    
    .how-it-works .header h1 {
        font-size: 26px;
    }
    
    .cards-column .card-row {
        flex-direction: column;
    }
    
    .card {
        width: 100%;
        max-width: 300px;
    }
    
    .card:nth-child(n+2) {
        margin-left: 0;
        margin-top: 20px;
    }
    
    .in-action {
        padding: 50px 20px;
    }
    
    .in-action .header p {
        word-break: break-all;
    }
    
    .screenshot-row {
        flex-direction: column;
        align-items: center;
    }
    
    .screenshot-card {
        width: 300px;
    }
    
    .screenshot-card:nth-child(n+2) {
        margin-top: 30px;
        margin-left: 0;
    }
    
    .signup-updates h1 {
        font-size: 20px;
        line-height: 2rem;
    }
    
    .cookies-request {
        width: 300px;
    }
    
    .cookies-request .request-buttons {
        margin-left: 0;
        margin-top: 30px;
    }
}
.tg-icon {
    width: 24px;
    height: 24px;
    fill: currentColor; /* Будет того же цвета, что и текст кнопки */
    vertical-align: middle;
}