@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;500;700&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    margin: 0;
    color: #050F19;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 80px;
    border-bottom: 1px solid #EAECEF;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-main {
    color: #0052FF;
    font-weight: 700;
    font-size: 24px;
}

.logo-sub {
    font-weight: 700;
    font-size: 16px;
    margin-left: 8px;
    align-self: flex-end;
    padding-bottom: 2px;
}

nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

nav li {
    margin: 0 16px;
}

nav a {
    text-decoration: none;
    color: #050F19;
    font-weight: 500;
    font-size: 16px;
}

.sign-in-btn {
    background-color: #0052FF;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    font-weight: 500;
    text-decoration: none;
    font-size: 14px;
}

main {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.hero {
    text-align: center;
    padding: 80px 20px;
}

.hero h1 {
    font-size: 56px;
    font-weight: 500;
    margin-top: 0;
    margin-bottom: 40px;
    line-height: 1.2;
}

.search-container {
    position: relative;
    width: 100%;
    max-width: 580px;
    margin: 0 auto 24px;
}

.search-container input {
    width: 100%;
    padding: 18px 50px 18px 20px;
    border-radius: 4px;
    border: 1px solid #D6D9DC;
    font-size: 16px;
    box-sizing: border-box;
}

.search-container input::placeholder {
    color: #5B616E;
    opacity: 1;
}

.search-container input:focus {
    outline: none;
    border-color: #0052FF;
    box-shadow: 0 0 0 4px rgba(0, 82, 255, 0.2);
}


.search-container .search-icon {
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    stroke: #5B616E;
}

.actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.actions .btn-primary {
    padding: 15px 25px;
    font-size: 16px;
    font-weight: 700;
    text-decoration: none;
    border-radius: 4px;
    background-color: #0052FF;
    color: white;
    display: inline-block;
}

.top-articles {
    width: 100%;
    max-width: 1160px;
    padding: 60px 80px;
    box-sizing: border-box;
}

.top-articles h2 {
    font-size: 40px;
    font-weight: 500;
    margin-bottom: 40px;
    text-align: center;
}

.articles-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;
}

.column h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 24px;
    border-bottom: 2px solid #EAECEF;
    padding-bottom: 16px;
}

.column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.column li {
    margin-bottom: 24px;
}

.column a {
    text-decoration: none;
    color: #050F19;
    font-size: 16px;
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    line-height: 1.5;
}

.column a:hover {
    color: #0052FF;
}

.column a::after {
    content: '›';
    font-size: 24px;
    color: #6A737D;
}

.help-by-topic {
    width: 100%;
    max-width: 1160px;
    padding: 60px 80px;
    box-sizing: border-box;
}

.help-by-topic h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #050F19;
}

.topic-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
    gap: 24px;
}

.topic-card {
    background-color: white;
    border-radius: 8px;
    border: 1px solid #EAECEF;
    padding: 24px;
    text-align: center;
    text-decoration: none;
    color: #050F19;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.topic-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.topic-card img {
    height: 48px;
    margin-bottom: 16px;
}

.topic-card span {
    font-size: 16px;
    font-weight: 500;
    line-height: 1.5;
}

.help-by-product {
    width: 100%;
    max-width: 1160px;
    padding: 60px 80px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.help-by-product h2 {
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 40px;
    color: #050F19;
}

.product-carousel-container {
    width: 100%;
    overflow: hidden;
}

.product-carousel-track {
    display: flex;
    gap: 24px;
    transition: transform 0.5s ease-in-out;
}

.product-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 32px;
}

.carousel-button {
    background-color: #F4F5F7;
    border: 1px solid #EAECEF;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    font-size: 20px;
    color: #5B616E;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.carousel-dots {
    display: flex;
    margin: 0 16px;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #D6D9DC;
    border: none;
    padding: 0;
    margin: 0 4px;
    cursor: pointer;
}

.dot.active {
    background-color: #5B616E;
}

.promo-cards {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    width: 100%;
    max-width: 1160px;
    padding: 60px 80px;
    box-sizing: border-box;
}

.promo-card {
    background-color: #F4F5F7;
    border-radius: 8px;
    padding: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: #050F19;
    transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.promo-card:hover {
    box-shadow: 0 8px 16px rgba(0,0,0,0.1);
    transform: translateY(-4px);
}

.promo-text h3 {
    font-size: 18px;
    font-weight: 500;
    margin: 0 0 8px 0;
}

.promo-text span {
    color: #0052FF;
    font-weight: 500;
}

.promo-card img {
    height: 64px;
}

@media (max-width: 768px) {
    header {
        padding: 20px;
        flex-direction: column;
        gap: 20px;
    }

    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .articles-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .top-articles {
        padding: 40px 20px;
    }
    .promo-cards {
        grid-template-columns: 1fr;
    }
}

footer {
    background-color: #FFFFFF;
    padding: 60px 80px;
    border-top: 1px solid #EAECEF;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
    width: 100%;
    max-width: 1160px;
    margin: 0 auto;
}

.footer-main {
    flex-basis: 20%;
    min-width: 200px;
}

.footer-logo {
    color: #0052FF;
    font-weight: 700;
    font-size: 24px;
    text-decoration: none;
    display: block;
    margin-bottom: 24px;
}

.copyright {
    color: #5B616E;
    font-size: 14px;
    margin: 0 0 24px 0;
}

.social-links a {
    color: #5B616E;
    text-decoration: none;
    font-size: 14px;
}

.social-links a:not(:last-child)::after {
    content: ' • ';
    margin: 0 4px;
    color: #5B616E;
    text-decoration: none;
}

.footer-links {
    display: flex;
    flex-basis: 75%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-column h4 {
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 24px 0;
    color: #050F19;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column li {
    margin-bottom: 16px;
}

.footer-column a {
    color: #5B616E;
    text-decoration: none;
    font-size: 14px;
}

.footer-column a:hover {
    color: #0052FF;
}

.footer-column .sub-heading {
    margin-top: 32px;
}

@media (max-width: 992px) {
    .footer-container {
        flex-direction: column;
    }
}

.chat-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 56px;
    height: 56px;
    background-color: #0052FF;
    border-radius: 50%;
    border: none;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.2s ease-in-out;
}

.chat-fab:hover {
    transform: scale(1.05);
} 