/* ====================== GLOBAL STYLES ====================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Segoe UI", sans-serif;
    background: #0f172a;
    color: #e2e8f0;
    line-height: 1.6;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

.h2-heading {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 40px;
    line-height: 48px;
    letter-spacing: 0;
    text-align: center;
    color: #001A21;
}

.h2-heading>span {
    font: inherit;
    line-height: inherit;
    font-weight: inherit !important;
    letter-spacing: inherit;
    color: inherit;
    text-align: inherit;
}

.h2-heading.h2-left {
    text-align: left;
}

@media (max-width: 768px) {
    .h2-heading {
        font-size: 24px;
        line-height: 32px;
        text-align: center;
        font-weight: 400;
    }
    .h3-heading {
        font-size: 20px !important;
        line-height: 34px !important;
        font-weight: 400 !important;
    }
}

.h3-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 32px;
    line-height: 40px;
    letter-spacing: 0;
    text-align: center;
    color: #212529;
}

.card {
    background: #ffffff;
    border-radius: 24px;
    padding: 32px;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    box-shadow: 0px 0px 2px 0px #21252933, 0px 2px 8px 0px #2125291A;
}

.card:hover {
    box-shadow: 0px 0px 4px 0px #21252933, 0px 6px 12px 0px #21252924;
}

.who {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 28px;
    line-height: 40px;
    letter-spacing: 0;
    color: #005C75;
    text-align: center;
}

@media (max-width: 768px) {
    .who {
        font-family: 'Inter', sans-serif;
        font-weight: 700;
        font-size: 18px;
        line-height: 28px;
        letter-spacing: 0;
        color: #005C75;
        text-align: center;
    }
}

.h2-heading span {
    font-weight: 500;
}

a {
    text-decoration: none;
    color: inherit;
}

.text-kyc {
    font-family: 'inter', sans-serif;
    font-weight: 300;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #183D26;
}

.text-tick {
    font-family: 'inter', sans-serif;
    font-weight: 500;
    font-size: 20px;
    line-height: 24px;
    letter-spacing: 0;
    color: #212529;
}

@media (max-width: 768px) {
    .text-kyc,
    .text-tick {
        font-size: 16px;
        line-height: 24px;
    }
    .text-content {
        font-size: 14px;
        line-height: 20px;
        font-weight: 400;
        color: #495057;
    }
}

.text-content {
    font-size: 16px;
    line-height: 20px;
    font-weight: 400;
    color: #495057;
}

img {
    max-width: 100%;
    display: block;
}

.text-teal-800 {
    color: #005C75;
}

.divider {
    width: 237px;
    height: 2px;
    background-color: #CFE9F0;
    border-radius: 9999px;
    margin: 16px auto 0;
    /* auto = căn giữa */
}


/* khi cần căn trái */

.divider--left {
    margin-left: 0;
    margin-right: 0;
}


/* tiêu đề CTA */

.cta-description {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0;
    color: #6C757D;
    text-align: center;
    max-width: 1112px;
    margin: 0 auto;
}

@media (max-width: 767px) {
    .cta-description {
        font-size: 16px;
        line-height: 24px;
    }
}

.text-heading {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: black;
    margin-bottom: 8px;
}

.description {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #6C757D;
}

.sub-description {
    font-family: Inter, sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #495057;
}

.text-heading-number {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 28px;
    letter-spacing: 0.4px;
    color: #212529;
    margin-bottom: 8px;
    text-align: center;
}

.left {
    text-align: left !important;
    color: #004050;
}

@media (max-width: 768px) {
    .left {
        text-align: center !important;
    }
}

.text-subtitle {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 400;
    line-height: 28px;
    letter-spacing: 0;
    color: #495057;
    /* var(--neutral-700) */
    max-width: 48rem;
    /* ~ max-w-3xl */
    margin-left: auto;
    margin-right: auto;
}

.about-remex {
    background: linear-gradient(135deg, #F9FAFB 0%, rgba(236, 253, 245, 0.3) 100%);
}

.card-soft {
    background: linear-gradient( 135deg, #F9FAFB 0%, rgba(236, 253, 245, 0.3) 100%);
    border: 1px solid #F3F4F6;
    border-radius: 24px;
    padding: 32px;
    transition: box-shadow 0.3s ease;
}

.card-soft:hover {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}

.info-row {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px 24px;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid #f1f3f5;
    box-shadow: 0px 1px 2px -1px rgba(0, 0, 0, 0.10), 0px 1px 3px 0px rgba(0, 0, 0, 0.10);
    transition: box-shadow 0.25s ease;
}

.info-row:hover {
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.12);
}


/*icons fontawesome*/

.icon-box {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: linear-gradient(135deg, #00BC7D 0%, #009689 100%);
    box-shadow: 0px 4px 6px 0px rgba(0, 188, 125, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 40px;
}

.icon-box img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}


/* link detail */

.link-detail {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0;
    color: #007592;
    text-decoration-line: underline;
    text-decoration-style: solid;
    text-decoration-thickness: auto;
    text-underline-offset: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: color 0.2s ease;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}

.link-detail:hover {
    color: #005f6f;
}

.text-teal-800 {
    --tw-text-opacity: 1;
    color: #005C75;
}


/*background cta*/

.section-gradient {
    background: linear-gradient( 135deg, #F9FAFB 0%, rgba(236, 253, 245, 0.3) 100%);
}


/*Các bước*/

.step-circle {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00BC7D 0%, #009689 100%);
    box-shadow: 0px 4px 6px 0px rgba(0, 188, 125, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 24px;
}

.step-circle span {
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}


/* ====================== HEADER ====================== */

.header {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(12px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 0;
}

.logo {
    font-size: 24px;
    font-weight: 900;
    color: #fff;
}

.nav-links a {
    margin-left: 32px;
    font-weight: 500;
    color: #cbd5e1;
    font-size: 15px;
}

.nav-links a:hover {
    color: #fff;
}

.btn-login {
    background: #10b981;
    color: #fff;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: 600;
}


/* ====================== HERO ====================== */

.hero {
    padding: 140px 0 100px;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 20px;
}

.hero h1 strong {
    background: linear-gradient(90deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.services h2 strong {
    background: linear-gradient(90deg, #60a5fa, #c084fc);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.2rem;
    color: #94a3b8;
    margin-bottom: 30px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-bottom: 40px;
}

.herotitle {
    font-family: Inter, sans-serif;
    font-weight: 700;
    font-size: 35px;
    line-height: 48px;
    letter-spacing: 0;
    color: #005C75;
}

.divider1 {
    width: 137px;
    height: 2px;
    background-color: #005C75;
    border-radius: 9999px;
    margin-bottom: 20px;
    /* margin: 16px auto 0; */
}

.btn-primary {
    background: #10b981;
    color: #fff;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
}

.btn-outline {
    background: transparent;
    border: 2px solid #10b981;
    color: #10b981;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
}

.stats {
    display: flex;
    gap: 50px;
}

.stat h3 {
    font-size: 2.8rem;
    color: #fff;
}

.stat p {
    color: #94a3b8;
    font-size: 0.95rem;
}

.hero-image {
    position: relative;
}

.profit-badge {
    position: absolute;
    top: 30px;
    right: -20px;
    background: #10b981;
    color: #fff;
    padding: 12px 20px;
    border-radius: 50px;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(16, 185, 129, 0.4);
}

.profit-badge .arrow {
    font-size: 1.4rem;
}


/* ====================== SECTION COMMON ====================== */

.section-title {
    text-align: center;
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #f7a058;
}

.section-subtitle {
    text-align: center;
    color: #94a3b8;
    max-width: 700px;
    margin: 0 auto 60px;
}


/* ====================== SERVICES ====================== */

.services {
    padding: 100px 0;
    background: white;
}

.service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    background: rgba(88, 39, 39, 0.164);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 40px 30px;
    text-align: center;
    transition: 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.service-card .icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #60a5fa, #c084fc);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    font-size: 2rem;
    color: #fff;
}

.services-text {
    color: #1e293b;
}


/* ====================== WHY CHOOSE ====================== */

.why-choose {
    padding: 120px 0;
    background: whitesmoke;
}

.why-choose h2,
.why-choose p,
.why-choose li {
    color: #0f172a;
}

.why-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.why-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.why-list {
    list-style: none;
    margin-top: 30px;
}

.why-list li {
    margin-bottom: 20px;
    font-size: 1.1rem;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.why-list i {
    color: #10b981;
    font-size: 1.3rem;
    margin-top: 4px;
}


/* ====================== HOW IT WORKS ====================== */

.how-it-works {
    padding: 120px 0;
    background: linear-gradient(to bottom, #0f172a, #1e293b);
}

.steps {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

.step {
    text-align: center;
    max-width: 300px;
}


/* ====================== STATS ====================== */

.stats-section {
    background: #0a1120;
    padding: 100px 0;
    text-align: center;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-top: 50px;
}

.stat-big h3 {
    font-size: 4rem;
    color: #10b981;
}

.stat-big p {
    color: #94a3b8;
}


/* ====================== TESTIMONIALS ====================== */

.testimonials {
    padding: 120px 0;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 30px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.stars {
    color: #fbbf24;
    margin-bottom: 15px;
}

.author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #8b5cf6;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    font-size: 1.1rem;
}

.avatar.purple {
    background: #8b5cf6;
}

.avatar.blue {
    background: #3b82f6;
}

.avatar.green {
    background: #10b981;
}


/* ====================== MOBILE APP ====================== */

.mobile-app {
    padding: 120px 0;
    background: #fff;
    color: #1e293b;
}

.app-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.app-content h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: #0f172a;
}

.app-features {
    list-style: none;
    margin: 30px 0;
}

.app-features li {
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 1.1rem;
}

.app-features i {
    color: #10b981;
}

.app-buttons img {
    height: 50px;
    margin-right: 15px;
}

.app-image img {
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}


/* ====================== CTA & FOOTER ====================== */

.cta {
    background: linear-gradient(135deg, #10b981, #059669);
    padding: 100px 0;
    text-align: center;
}

.cta h2 {
    font-size: 3rem;
    margin-bottom: 20px;
}

.btn-cta {
    background: #fff;
    color: #0f172a;
    padding: 16px 48px;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 600;
    margin-top: 20px;
    display: inline-block;
}

.footer {
    background: #020617;
    padding: 80px 0 40px;
    color: #94a3b8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: #fff;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-col a {
    display: block;
    margin-bottom: 12px;
    color: #94a3b8;
}

.footer-col a:hover {
    color: #fff;
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: #64748b;
}


/* ====================== RESPONSIVE ====================== */

@media (max-width: 992px) {
    .hero .container,
    .why-grid,
    .app-grid,
    .service-grid,
    .testimonial-grid,
    .stats-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
    .profit-badge {
        right: 10px;
    }
    .stats {
        gap: 30px;
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    .hero {
        padding-top: 100px;
    }
    .hero h1 {
        font-size: 3rem;
    }
}

@media (min-width: 768px) {
    .md\:text-6xl {
        font-size: 40px !important;
        line-height: 48px !important;
    }
}


/* ====================== SCROLL REVEAL ====================== */

.reveal {
    opacity: 0;
    transform: translateY(20px) scale(0.98);
    transition: opacity 700ms cubic-bezier(0.22, 1, 0.36, 1), transform 700ms cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.reveal.reveal-visible {
    opacity: 1;
    transform: translateY(0) scale(1);
}


/* directional variants */

.reveal[data-reveal-origin="left"] {
    transform: translateX(-30px) scale(0.98);
}

.reveal[data-reveal-origin="right"] {
    transform: translateX(30px) scale(0.98);
}

.reveal.reveal-visible[data-reveal-origin="left"],
.reveal.reveal-visible[data-reveal-origin="right"] {
    transform: translateX(0) scale(1);
}


/* small scale/zoom effect */

.reveal[data-reveal-scale="small"] {
    transform: translateY(12px) scale(0.96);
}

.reveal.reveal-visible[data-reveal-scale="small"] {
    transform: translateY(0) scale(1);
}


/* reduce motion fallback */

@media (prefers-reduced-motion: reduce) {
    .reveal {
        transition: none;
        transform: none;
        opacity: 1;
    }
}


/*css carousel*/

#prevBtn {
    left: -40px;
    background: transparent;
}

#nextBtn {
    right: -40px;
    background: transparent;
}

#logoTrack img {
    max-height: 40px;
    /* đồng đều chiều cao */
    max-width: 70%;
    /* quan trọng: logo dài không ăn hết item */
    object-fit: contain;
    margin: 0 auto;
    /* luôn có khoảng thở 2 bên */
}

@media (max-width: 480px) {
    #logoTrack img {
        max-width: 65%;
    }
}

@media (max-width: 768px) {
    .hero-content {
        padding-left: 16px;
        padding-right: 16px;
        text-align: center;
    }
    .hero-content h1 {
        font-size: 2rem;
        line-height: 1.25;
        margin-bottom: 1rem;
    }
    .hero-content p {
        font-size: 1rem;
        line-height: 1.6;
        margin-bottom: 1.5rem;
    }
    .hero-content>div:last-child {
        flex-direction: column;
        gap: 12px;
    }
    .hero-content button {
        width: 100%;
        height: 48px;
    }
}

.button-link {
    text-decoration: underline !important;
}