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

:root {
    --primary-green: #4CAF50;
    --primary-blue: #2196F3;
    --light-blue: #E3F2FD;
    --white: #FFFFFF;
    --orange: #FF9800;
    --text-dark: #333333;
    --text-light: #666666;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 30px rgba(0, 0, 0, 0.15);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft YaHei', sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 15px 0;
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-img {
    height: 130px;
    width: auto;
    object-fit: contain;
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-green);
}

.btn-merchant {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 10px 25px;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-merchant:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 650px;
    padding: 100px 0;
    overflow: hidden;
    background-image: url('Logo/SenangGowebsitebackground.png');
    background-size: 130%;
    background-position: center;
    background-repeat: no-repeat;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.waves {
    display: none;
}

.cityscape {
    display: none;
}

.location-pin {
    display: none;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.hero-left {
    animation: fadeInLeft 1s;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.btn-primary {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    box-shadow: var(--shadow);
    white-space: nowrap;
    min-width: 140px;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-download {
    background: var(--white);
    color: var(--text-dark);
    border: 2px solid var(--text-light);
    padding: 15px 40px;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s;
    white-space: nowrap;
    min-width: 160px;
}

.btn-download:hover {
    border-color: var(--primary-green);
    color: var(--primary-green);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.apple-icon {
    font-size: 20px;
}

.hero-right {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 1s;
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.mascot-container {
    position: relative;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.mascot-img {
    width: 155%;
    height: 155%;
    object-fit: contain;
    animation: bounce 2.5s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-8px) rotate(-2deg); }
    75% { transform: translateY(-8px) rotate(2deg); }
}

/* Advantages Section */
.advantages {
    padding: 80px 0;
    background: var(--white);
    background-image: url('Logo/SenangGowebsitebackground2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.section-title {
    text-align: center;
    font-size: 42px;
    font-weight: bold;
    margin-bottom: 60px;
    color: var(--text-dark);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.advantage-card {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 60px 30px;
    min-height: 380px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    box-sizing: border-box;
}

.advantage-card-1 {
    background-image: url('Logo/UI1.png');
    background-size: 130% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.6);
}

.advantage-card-2 {
    background-image: url('Logo/UI2.png');
    background-size: 130% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.6);
}

.advantage-card-3 {
    background-image: url('Logo/UI3.png');
    background-size: 90% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.6);
}

.advantage-card-4 {
    background-image: url('Logo/UI4.png');
    background-size: 76% auto;
    background-position: center bottom;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.6);
}

.advantage-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.advantage-icon {
    font-size: 60px;
    margin-bottom: 20px;
}

.advantage-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    margin-top: 0;
    color: var(--text-dark);
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.advantage-card p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 20px;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.advantage-mascot {
    font-size: 80px;
    opacity: 0.3;
    position: absolute;
    bottom: -20px;
    right: -20px;
}

/* Platform Functions Section */
.platform-functions {
    padding: 80px 0;
    background-image: url('Logo/SenangGowebsitebackground2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f8ff;
}

.functions-grid {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 40px;
    position: relative;
    max-width: 100%;
}

.function-image {
    flex-shrink: 0;
    width: 400px;
    height: auto;
    margin-left: -230px;
}

.function-bg-img {
    width: 100%;
    height: auto;
    object-fit: contain;
}

.function-card-single {
    background: rgba(255, 255, 255, 0.6);
    border-radius: 20px;
    padding: 60px 40px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    align-items: stretch;
    gap: 40px;
    flex-shrink: 0;
    width: calc(100% - 170px - 40px);
    max-width: calc(100% - 170px - 40px);
    box-sizing: border-box;
}

.function-item {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    min-width: 0;
    word-wrap: break-word;
}

.function-item:not(:last-child)::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 80%;
    background-color: rgba(0, 0, 0, 0.1);
}

.function-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.function-icon {
    font-size: 80px;
    margin-bottom: 25px;
}

.function-card h3,
.function-item h3 {
    font-size: 28px;
    margin-bottom: 20px;
    margin-top: 0;
    color: var(--text-dark);
}

.function-card p,
.function-item p {
    color: var(--text-light);
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.8;
}

.function-mascot {
    font-size: 100px;
    opacity: 0.2;
    position: absolute;
    bottom: -30px;
    right: -30px;
}

.btn-function {
    background: var(--primary-green);
    color: var(--white);
    border: none;
    padding: 12px 35px;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    position: relative;
    z-index: 1;
    white-space: nowrap;
    min-width: 120px;
}

.btn-function:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

/* Footer */
.footer {
    background-image: url('Logo/photo_2026-01-04_02-08-08.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-color: #f0f8ff;
    color: var(--text-dark);
    padding: 60px 0 30px;
    position: relative;
    overflow: hidden;
}

.footer-mascot {
    display: none;
}

@keyframes wave-hand {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(20deg); }
    75% { transform: rotate(-20deg); }
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    position: relative;
    z-index: 1;
}

.footer-column h4 {
    font-size: 20px;
    margin-bottom: 20px;
    color: var(--text-dark);
}

.footer-column ul {
    list-style: none;
}

.footer-column ul li {
    margin-bottom: 12px;
}

.footer-column ul li a {
    color: var(--text-dark);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: var(--primary-green);
}

.social-icons {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.social-icons a {
    font-size: 24px;
    text-decoration: none;
    color: var(--text-dark);
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid var(--text-dark);
    border-radius: 8px;
    transition: all 0.3s;
}

.social-icons a:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
    transform: translateY(-2px);
}

.email {
    color: var(--text-dark);
    font-size: 14px;
}

.download-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-download-store {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-dark);
    border: 2px solid rgba(0, 0, 0, 0.3);
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-download-store:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    transform: translateY(-2px);
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 20px;
    flex-shrink: 0;
}

.lang-switcher button {
    background: transparent;
    border: 2px solid var(--text-dark);
    color: var(--text-dark);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    min-width: 45px;
    text-align: center;
    white-space: nowrap;
}

.lang-switcher button:hover {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

.lang-switcher button.active {
    background: var(--primary-green);
    border-color: var(--primary-green);
    color: var(--white);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-dark);
    padding: 5px;
    z-index: 1001;
}

.mobile-menu-toggle:focus {
    outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }

    /* Header Mobile */
    .header .container {
        flex-wrap: wrap;
        position: relative;
    }

    .logo-img {
        height: 90px;
    }

    .mobile-menu-toggle {
        display: block;
    }

    .nav {
        display: none;
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        margin-top: 15px;
        padding: 15px 0;
        border-top: 1px solid rgba(0, 0, 0, 0.1);
    }

    .nav.active {
        display: flex;
    }

    .nav a {
        width: 100%;
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 16px;
    }

    .btn-merchant {
        width: 100%;
        padding: 12px 20px;
        font-size: 16px;
        margin-top: 10px;
        text-align: center;
    }
    
    .lang-switcher {
        margin-left: 0;
        margin-top: 10px;
        width: 100%;
        justify-content: flex-start;
    }
    
    .lang-switcher button {
        min-width: 45px;
        padding: 8px 12px;
        font-size: 14px;
    }

    /* Hero Section Mobile */
    .hero {
        min-height: 500px;
        padding: 60px 0;
        background-size: cover;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

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

    .hero-subtitle {
        font-size: 16px;
        margin-bottom: 30px;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 15px;
    }

    .btn-primary,
    .btn-download {
        width: 100%;
        padding: 14px 30px;
        font-size: 16px;
        justify-content: center;
    }

    .mascot-container {
        width: 250px;
        height: 250px;
        margin: 0 auto;
    }

    /* Sections Mobile */
    .advantages,
    .platform-functions {
        padding: 50px 0;
    }

    .section-title {
        font-size: 32px;
        margin-bottom: 40px;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .advantage-card {
        padding: 40px 20px;
        min-height: 300px;
        background-size: contain !important;
        background-position: center bottom !important;
    }

    .advantage-card-1 {
        background-size: contain !important;
        background-position: center bottom !important;
    }

    .advantage-card-2 {
        background-size: contain !important;
        background-position: center bottom !important;
    }

    .advantage-card-3 {
        background-size: contain !important;
        background-position: center bottom !important;
    }

    .advantage-card-4 {
        background-size: contain !important;
        background-position: center bottom !important;
    }

    .advantage-card h3 {
        font-size: 20px;
    }

    .advantage-card p {
        font-size: 14px;
    }

    /* Functions Grid Mobile */
    .functions-grid {
        flex-direction: column;
        gap: 30px;
    }

    .function-image {
        width: 100%;
        margin-left: 0;
        order: -1;
    }

    .function-card-single {
        flex-direction: column;
        width: 100%;
        max-width: 100%;
        padding: 40px 20px;
        gap: 30px;
    }

    .function-item {
        padding-bottom: 30px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    }

    .function-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .function-item:not(:last-child)::after {
        display: none;
    }

    .function-item h3 {
        font-size: 22px;
    }

    .function-item p {
        font-size: 14px;
    }

    .btn-function {
        width: 100%;
    }

    /* Footer Mobile */
    .footer {
        padding: 40px 0 20px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .footer-column h4 {
        font-size: 18px;
        margin-bottom: 15px;
    }

    .footer-column ul li {
        margin-bottom: 10px;
    }

    .social-icons {
        gap: 10px;
    }

    .social-icons a {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}

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

    .logo-img {
        height: 70px;
    }

    .hero {
        min-height: 450px;
        padding: 40px 0;
    }

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

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

    .mascot-container {
        width: 200px;
        height: 200px;
    }

    .section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }

    .advantages,
    .platform-functions {
        padding: 40px 0;
    }

    .advantage-card {
        padding: 30px 15px;
        min-height: 280px;
        background-size: contain !important;
        background-position: center bottom !important;
    }

    .advantage-card-1,
    .advantage-card-2,
    .advantage-card-3,
    .advantage-card-4 {
        background-size: contain !important;
        background-position: center bottom !important;
    }

    .advantage-card h3 {
        font-size: 18px;
    }

    .advantage-card p {
        font-size: 13px;
    }

    .function-card-single {
        padding: 30px 15px;
    }

    .function-item h3 {
        font-size: 20px;
    }

    .function-item p {
        font-size: 13px;
    }

    .btn-primary,
    .btn-download,
    .btn-function,
    .btn-merchant {
        font-size: 15px;
        padding: 12px 25px;
    }
}

/* FAQ Page Mobile Styles */
@media (max-width: 768px) {
    .faq-content {
        padding: 50px 15px;
        margin-top: 20px;
        margin-bottom: 20px;
        border-radius: 15px;
    }

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

    .faq-question {
        padding: 15px;
        font-size: 18px;
    }

    .faq-answer {
        padding: 15px;
        font-size: 15px;
    }
}

@media (max-width: 480px) {
    .faq-content {
        padding: 30px 12px;
        margin-top: 15px;
        margin-bottom: 15px;
    }

    .faq-content h1 {
        font-size: 26px;
        margin-bottom: 25px;
    }

    .faq-question {
        padding: 12px;
        font-size: 16px;
    }

    .faq-answer {
        padding: 12px;
        font-size: 14px;
        line-height: 1.6;
    }
}

