/* css/styles.css */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Bai Jamjuree', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #0085D3 0%, #000000 100%);
    color: white;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Enable smooth scrolling for in-page links */
html {
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
    backdrop-filter: blur(6px);
    padding: 11px 0 0 0;
}

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

.logo-circle {
    width: 70px;
    height: 70px;
    border: 2px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 15px;
    color: white;
    letter-spacing: -0.5px;
}

/* Nav links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-link,
.nav-link-cta {
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    transition: opacity 0.3s ease;
}

.nav-link {
    color: white;
}

.nav-link:hover {
    opacity: 0.8;
}

.nav-link-cta {
    background: white;
    color: #0085D3;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.nav-link-cta:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(255, 255, 255, 0.3);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
}

.nav-links.active {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    padding: 20px;
    border-radius: 8px;
}

/* Hero Section */
.hero {
    padding: 80px 0 20px;
    position: relative;
}

.hero-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 80px;
}

.hero-title {
    font-size: 48px;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 24px;
    color: white;
}

.hero-subtitle {
    font-size: 16px;
    font-weight: 300;
    line-height: 1.6;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.9);
}

.hero-buttons {
    display: inline-flex;
    gap: 16px;
    margin-bottom: 16px;
}

.btn {
    padding: 12px 24px;
    border: none;
    border-radius: 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background: white;
    color: #0085D3;
}

.btn-primary:hover {
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.btn-secondary {
    background: rgba(0, 0, 0, 0.9);
    color: white;
    border: 1px solid rgba(0, 0, 0, 0.9);
}

.btn-secondary:hover {
    color: rgba(100, 98, 98, 0.9);
}

.hero-note {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* Hero Visual - Org Chart */
.hero-visual {
    display: flex;
    justify-content: center;
    margin-top: 60px;
}

.org-chart {
    position: relative;
    background-color: #ffffff;
    background-image: radial-gradient(circle, #cccccc 1.2px, transparent 1.4px);
    background-size: 20px 20px;
    border-radius: 16px;
    padding: 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    max-width: 800px;
    width: 100%;
}

.org-chart .devicon {
    position: absolute;
    width: 160px;
    left: -80px;
    top: 21px;
}

.infoorg {
    color: black;
    position: absolute;
    right: 5px;
    font-size: 10px;
    top: 10px;
    text-align: center;
}

.infoorg span {
    display: block;
    background-color: #ffee95;
    color: black;
    margin-bottom: 7px;
    padding: 5px;
    border-radius: 5px;
}

.org-chart-top {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

.org-chart-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
}

.profile-card {
    text-align: center;
    flex: 1;
}

.profile-card.manager {
    position: relative;
}

.profile-card.manager::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    height: 20px;
    background: #ddd;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 7px;
    margin: 0 auto 12px;
    position: relative;
    border: 2px solid #93b3c5;
    font-size: 4vw;
}

.iconmanager,
.iconuser {
    position: absolute;
    font-size: 35px;
}

.iconuser {
    font-size: 37px;
}

.profile-avatar.yellow {
    background: #ffee95;
}

.profile-avatar.blue {
    background: #69c7ff;
}

.profile-info .profile-name {
    font-size: 12px;
    font-weight: 500;
    color: #666;
}

/* Cashback Section */
.cashback-section {
    padding: 80px 0;
    /*
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    */
    margin: 0px 0;
}

.cashback-section .container {
    padding: 0 150px;
}

@media (max-width: 900px) {
  .cashback-section .container {
    padding: 0 30px;
    text-align: center;
  }
}

.cashback-card {
    display: flex;
    align-items: center;
    gap: 40px;
    background: linear-gradient(180deg, #D0E8F9 0%, #BED3FE 90%, #7DFAA6 93%, #E5FA4F 100%);
    border-radius: 20px;
    padding: 40px;
    backdrop-filter: blur(20px);
    flex-wrap: wrap;
    text-align: center;
}

.cashback-icon {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    background: linear-gradient(180deg, #343C54 0%, #7385BA 100%);
    border-radius: 20%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 70px;
    padding-right: 20px;
}

.dollar-sign {
    font-size: 160px;
    font-weight: 700;
    color: #D0E8F9;
    font-style: italic;
}

.cashback-content {
    flex: 1;
    text-align: left;
}

@media (max-width: 900px) {
    .cashback-icon {
        width: 100px;
        height: 100px;
        border-radius: 20%;
        margin: 0px;
        padding-right: 20px;
    }

    .dollar-sign {
        font-size: 60px;
    }
}



@media (max-width: 900px) {
.cashback-content {
    text-align: center;
}
}

.cashback-title {
    font-size: 40px;
    font-weight: 700;
    margin-bottom: 8px;
    color: black;
}

.cashback-subtitle {
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 16px;
    color: black;
}

.cashback-description {
    font-size: 14px;
    line-height: 1.6;
    color: #484848;
}

/* Trusted By Section */
.trusted-by {
    padding: 80px 0;
    text-align: center;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.section-subtitle {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 48px;
    color: rgba(255, 255, 255, 0.8);
}

/* Swiper container for Trusted By */
.trusted-swiper {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* allow arrows to sit outside */
    /* padding: 0 56px; */
    /* space so logos don't touch arrows */
}

/* logos */
.logo-item {
    opacity: 1;
    transition: opacity 0.3s ease;
}

.logo-item:hover {
    opacity: 1;
}

.logo-item img {
    height: 100px;
    width: 100px;
    margin: 0 8px;
}

/* arrows outside + spaced; using real icons */
.trusted-swiper .swiper-button-prev,
.trusted-swiper .swiper-button-next {
    color: #ffffff;
    top: 50%;
    /* transform: translateY(-50%); */
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.trusted-swiper .swiper-button-prev {
    left: 8px;
}

.trusted-swiper .swiper-button-next {
    right: 8px;
}

.trusted-swiper .swiper-button-prev:hover,
.trusted-swiper .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Hide default Swiper pseudo arrows (we use Font Awesome icons) */
.swiper-button-prev::after,
.swiper-button-next::after {
    display: none;
}

/* Ensure slides center nicely */
.trusted-swiper .swiper-slide {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Technologies Section */
.technologies {
    padding: 80px 0;
    text-align: center;
}

.tech-grid {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-top: 48px;
}

.tech-row {
    display: flex;
    justify-content: center;
    gap: 32px;
    flex-wrap: wrap;
}

.tech-item {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.tech-item img {
    width: 63px;
    /* height: 63px; */
}

.tech-item:hover {
    transform: translateY(-4px) scale(1.05);
}

/* Team Members Section (now slider) */
.team-members {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.3);
}

/* Clip content to slider viewport so only visible slides show */
.team-swiper {
    position: relative;
    overflow: hidden;
    width: 100%;
    /* key: hide off-screen slides */
    /* padding: 0 40px; */
    /* breathing space from arrows */
}

/* Force wrapper to flex (overrides previous grid), keep spacing */
.team-swiper .swiper-wrapper,
.team-swiper .team-grid {
    display: flex !important;
    gap: 16px;
    margin-bottom: 48px;
}

/* Slides keep your card look; width controlled by Swiper */
.team-swiper .swiper-slide.team-member {
    /* height: auto; */
    /* flex: 0 0 auto; */
}

.team-member {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    height: auto;
}

.team-member:hover {
    transform: translateY(-4px);
    background: rgba(255, 255, 255, 0.1);
}

.member-avatar img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.team-member:hover .member-avatar img {
    transform: scale(1.1);
}

.member-name {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
    color: white;
}

.member-role {
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 8px;
    color: #0085D3;
}

.member-skills {
    font-size: 12px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.8);
}

.member-company {
    font-size: 10px;
    margin-bottom: 8px;
    color: rgba(255, 255, 255, 0.6);
}

.company-logo img {
    height: 30px;
    /*width: 100px;*/
}

.hire-cta {
    text-align: center;
}

/* Team arrows (inside edges) */
.team-swiper .swiper-button-prev,
.team-swiper .swiper-button-next {
    color: #ffffff;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(6px);
    position: absolute;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: none;
    cursor: pointer;
    z-index: 10;
}

.team-swiper .swiper-button-prev {
    left: 8px;
}

.team-swiper .swiper-button-next {
    right: 8px;
}

.team-swiper .swiper-button-prev:hover,
.team-swiper .swiper-button-next:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Launch Section */
.launch-scale {
    padding: 80px 0;
    background: rgba(0, 0, 0, 0.5);
}

.launch-content {
    text-align: left;
    margin-bottom: 48px;
    max-width: 400px;
    float: left;
    margin-top: 60px;
}

.launch-cards {
    display: flex;
    flex-direction: column;
    gap: 40px;
    margin-left: auto;
    max-width: 400px;
}

.launch-card {
    background: #00B6FF;
    border-radius: 16px;
    padding: 24px;
    display: flex;
    align-items: flex-start;
    gap: 16px;
    position: relative;
}

.card-emoji {
    font-size: 60px;
    position: absolute;
    top: -50px;
    right: 16px;
}

.card-content {
    flex: 1;
}

.card-content .card-title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: white;
}

.card-content .card-description {
    font-size: 14px;
    line-height: 1.5;
    color: white;
}

/* Pricing Section */
.pricing {
    padding: 80px 0;
    text-align: center;
}

.pricing-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 48px;
}

.pricing-card {
    background: white;
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.pricing-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.pricing-card.featured {
    /* border: 2px solid #0085D3; */
}

.pricing-card .card-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: #333;
}

.card-price {
    font-size: 32px;
    font-weight: 700;
    color: #0085D3;
    margin-bottom: 24px;
}

.pricing-card .card-description {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 24px;
    color: #666;
}

.card-note {
    font-size: 12px;
    line-height: 1.5;
    color: #999;
    margin-bottom: 24px;
}

.pricing-card .btn {
    margin-top: auto;
}

/* Final CTA Section */
.final-cta {
    position: relative;
    padding: 80px 0;
    text-align: center;
    background: rgba(0, 0, 0, 0.3);
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 16px;
    color: white;
}

.cta-subtitle {
    font-size: 16px;
    font-weight: 300;
    margin-bottom: 32px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 600px;
    margin: 0 auto 32px;
}

/* Footer */
.footer {
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

.footer-text p {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
}

.rmoteLogo2 {
    width: 193px;
    height: 39px;
    position: absolute;
    bottom: 15px;
    right: 10px;
    background-color: #ffffff;
    text-align: center;
    color: #0085D3;
    font-weight: bold;
}

/* ========== Floating Circles Background ========== */
.bubble-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: -1;
}

.bubble {
    position: absolute;
    bottom: -150px;
    background: rgba(255, 255, 255, 0.50);
    border-radius: 50%;
    animation: floatUp linear infinite;
}

@keyframes floatUp {
    0% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }

    50% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(-110vh) scale(1);
        opacity: 0;
    }
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-content,
.hero-visual,
.cashback-card,
.team-member,
.launch-card,
.pricing-card {
    animation: fadeInUp 0.6s ease-out;
}

/* Ripple + scroll indicator (shared) */
.ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple-animation 0.6s linear;
    pointer-events: none;
}

@keyframes ripple-animation {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

.scroll-indicator {
    position: fixed;
    top: 0;
    left: 0;
    height: 4px;
    background: linear-gradient(90deg, #0085D3, #00B6FF);
    z-index: 1000;
    transition: width 0.3s ease;
}

/* Modal for external links */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    backdrop-filter: blur(10px);
    background-color: #00000066;
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 2000;
}

.modal-overlay.open {
    display: flex;
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 800px;
    height: 90%;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.modal-content iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.modal-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: none;
    font-size: 24px;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    line-height: 1;
    text-align: center;
    z-index: 10;
}

@media (max-width: 640px) {
    .rmoteLogo2 {
        width: 100%;
        height: 40px;
        position: absolute;
        bottom: 0;
        right: 15px;
        background-color: white;
    }
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 200px;
    }

    .org-chart {
        padding: 24px;
    }

    .org-chart-bottom {
        flex-wrap: wrap;
        justify-content: center;
    }

    .cashback-card {
        flex-direction: column;
        text-align: center;
    }

    .tech-row {
        gap: 16px;
    }

    .team-swiper {
        padding: 0 28px;
    }

    .pricing-cards {
        grid-template-columns: 1fr;
    }

    .nav-link {
        font-size: 12px;
    }

    .section-title {
        font-size: 28px;
    }

    .cta-title {
        font-size: 28px;
    }

    .launch-content {
        float: none;
        text-align: center;
        margin: 0 auto 48px;
        max-width: 100%;
        margin-top: 0;
    }

    .launch-cards {
        margin-left: 0;
        max-width: 100%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero {
        padding: 40px 0 80px;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-subtitle {
        font-size: 14px;
    }

    .org-chart-bottom {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .profile-avatar {
        width: 40px;
        height: 40px;
    }

    .profile-name {
        font-size: 10px;
    }
}

.cashback-gradient {
  background: linear-gradient(120deg, #79DEDA 0%, #394972 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-fill-color: transparent;
}



@media (max-width: 900px) {
  .hide-mobile {
    display: none !important;
  }
}