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

ul {
    list-style: none;
}

a {
    text-decoration: none;
}

.main-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 5%;
    background-color: #fff;
    position: sticky;
    top: 0;
    z-index: 1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.logo-img {
    height: 32px;
    cursor: pointer;
}

.main-nav {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: center;
    margin-left: 40px;
}

.main-nav ul {
    display: flex;
    align-items: center;
}

.main-nav ul li {
    margin: 0 15px;
}

.main-nav ul li a {
    color: #111;
    font-weight: 500;
    font-size: 16px;
    transition: all .3s ease;
}

.main-nav ul li a:hover {
    color: #820ad1;
}

.main-nav .btn-purple {
    background-color: #820ad1;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all .3s ease;
}

.btn-purple:hover {
    background-color: #9f33d5;
}

.btn-gray {
    background-color: #f5f5f5;
    color: #111;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    margin-right: 10px;
}

.btn-gray:hover {
    background-color: #eee;
}

.fa-magnifying-glass {
    color: #820ad1;
    font-size: 18px;
}

.menu-toggle,
.menu-close {
    display: none;
    background: none;
    border: none;
    color: #820ad1;
    font-size: 24px;
    cursor: pointer;
}

.menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 40px;
}

.main-header .menu-toggle {
    display: none;
}

.main-section {
    background-color: #f5f5f5;
    padding: 100px 5%;
    text-align: center;
}

.hero h1 {
    font-size: 48px;
    margin-bottom: 40px;
    color: #111;
}

.hero-input {
    display: flex;
    justify-content: center;
    gap: 20px;
    max-width: 600px;
    margin: 0 auto;
}

.hero input {
    flex: 1;
    padding: 15px;
    border: 1px solid #ccc;
    border-radius: 30px;
    font-size: 16px;
}

.hero button {
    border: none;
    cursor: pointer;
    background-color: #820ad1;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all .3s ease;
}

.card-section {
    display: flex;
    align-items: center;
    padding: 100px 5%;
    background-color: #fff;
}

.nubank-card {
    background: linear-gradient(135deg, #820ad1, #9f33d5);
    color: #fff;
    padding: 20px;
    border-radius: 15px;
    width: 300px;
    height: 180px;
    position: relative;
    margin-right: 50px;
}

.chip-card {
    width: 40px;
    height: 30px;
    background-color: #ffd700;
    border-radius: 5px;
    margin-bottom: 20px;
}

.number-card {
    font-size: 18px;
    margin-bottom: 20px;
}

.info-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-card h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.text-card p {
    font-size: 18px;
    margin-bottom: 20px;
}

.text-card ul li {
    margin-bottom: 10px;
}

.text-card ul li i {
    color: #820ad1;
    margin-right: 10px;
}

.text-card .btn-purple {
    border: none;
    cursor: pointer;
    background-color: #820ad1;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all .3s ease;
    display: inline-block;
    margin-top: 30px;
}

.btn-purple:hover {
    background-color: #9f33d5;
}

.third-section {
    padding: 100px 5%;
    background-color: #f5f5f5;
    text-align: center;
}

.third-section h2 {
    font-size: 36px;
    margin-bottom: 40px;
}

.carousel {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    padding: 20px 0;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.carousel::-webkit-scrollbar {
    display: none;
}

.carousel-item {
    min-width: 300px;
    background: #fff;
    padding: 20px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    text-align: left;
    flex-shrink: 0;
}

.carousel-item img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.carousel-item h3 {
    margin-bottom: 10px;
}

.carousel-item p {
    margin-bottom: 15px;
    color: #666;
}

.fourth-section {
    padding: 100px 5%;
    background-color: #fff;
    display: block;
}

.fourth-section .fourth-text-content {
    max-width: 800px;
    margin: 0 auto;
}

.fourth-section p {
    font-size: 20px;
    color: #444;
    margin-bottom: 30px;
}

.fourth-section .security-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    transition: color 0.3s;
}

.fourth-section .security-item:hover {
    color: #820ad1;
}

.fourth-section .security-item span {
    font-weight: 500;
    font-size: 18px;
}

.fourth-section .security-item i {
    color: #820ad1;
    font-size: 14px;
}

.fourth-section .btn-purple {
    display: inline-block;
    margin-top: 40px;
    border: none;
    cursor: pointer;
    background-color: #820ad1;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all .3s ease;
}

.fourth-section .btn-purple:hover {
    background-color: #9f33d5;
}

.fifth-section {
    padding: 100px 5%;
    background-color: #f5f5f5;
    display: flex;
    align-items: center;
}

.info-card {
    flex: 1;
    margin-right: 50px;
}

.info-card .btn-purple {
    border: none;
    cursor: pointer;
    background-color: #820ad1;
    color: #fff;
    padding: 12px 24px;
    border-radius: 30px;
    font-weight: 600;
    transition: all .3s ease;
}

.info-card .btn-purple:hover {
    background-color: #9f33d5;
}

.fifth-section .info-card h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.fifth-section .carousel {
    flex: 1;
}

.main-footer {
    background-color: #111;
    color: #fff;
    padding: 50px 5%;
}

.top-footer {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
}

.footer-links h3 {
    margin-bottom: 10px;
    color: #fff;
}

.footer-links a {
    display: block;
    color: #ccc;
    margin-bottom: 5px;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #820ad1;
}

.bottom-footer {
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
    color: #ccc;
}

@media (max-width: 1024px) {
    .main-header {
        padding: 15px 3%;
    }

    .menu-toggle {
        display: block !important;
    }

    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: #fff;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-left: 0;
        transition: 0.4s ease;
        z-index: 1000;
    }

    .main-nav.active {
        right: 0;
    }

    .menu-close {
        display: block;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
        align-items: center;
    }

    .main-nav ul li {
        margin: 0;
    }

    .main-nav ul li a {
        font-size: 22px;
    }

    .main-nav ul:last-child {
        margin-top: 30px;
    }

    .main-nav .btn-purple,
    .btn-gray {
        width: 80%;
        text-align: center;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .main-header {
        padding: 10px 3%;
    }

    .logo-img {
        height: 28px;
    }

    .main-nav ul:first-child {
        display: none;
    }

    .main-nav {
        margin-left: 0;
        justify-content: center;
        align-items: center;
    }

    .main-nav ul:last-child {
        flex-direction: column;
        align-items: center;
    }

    .main-nav ul li {
        margin: 0;
    }

    .btn-gray,
    .btn-purple {
        padding: 8px 15px;
        font-size: 14px;
    }

    .fa-magnifying-glass {
        font-size: 16px;
    }

    .main-section {
        padding: 60px 3%;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 30px;
    }

    .hero-input {
        flex-direction: column;
        gap: 15px;
        max-width: 90%;
    }

    .hero input {
        padding: 12px;
        font-size: 14px;
    }

    .hero button {
        padding: 12px 20px;
        font-size: 14px;
    }

    .card-section {
        flex-direction: column;
        text-align: center;
        padding: 60px 3%;
    }

    .nubank-card {
        margin-right: 0;
        margin-bottom: 30px;
        width: 90%;
        max-width: 300px;
    }

    .text-card h2 {
        font-size: 28px;
    }

    .text-card p {
        font-size: 16px;
    }

    .text-card ul li {
        font-size: 15px;
    }

    .third-section {
        padding: 60px 3%;
    }

    .third-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }

    .carousel-item {
        min-width: 80%;
        margin-right: 10px;
    }

    .fourth-section {
        flex-direction: column;
        padding: 60px 3%;
    }

    .fifth-section {
        flex-direction: column;
        padding: 60px 3%;
    }

    .fifth-section .info-card {
        margin-right: 0;
        margin-bottom: 30px;
        text-align: center;
    }

    .fifth-section .info-card h2 {
        font-size: 28px;
    }

    .top-footer {
        flex-direction: column;
        align-items: center;
    }

    .footer-links {
        margin-bottom: 20px;
        text-align: center;
    }

    .footer-links h3 {
        font-size: 18px;
    }

    .footer-links a {
        font-size: 14px;
    }

    .bottom-footer {
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .carousel-item {
        min-width: 95%;
    }
}