/* Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

/* CSS Variables for Theme */
:root {
    --color-gold: #FFB70D;
    --color-gold-hover: #d4a337;
    --color-dark: #333333;
    --color-footer-bg: #201E18;
    --color-text-gray: #9CA3AF;
    --color-text-gray-light: rgba(255, 255, 255, 0.55);
    --color-bg-gray: #F9FAFB;
    --font-inter: 'Inter', sans-serif;
}

/* Reset & Basics */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-inter);
    color: var(--color-dark);
    background-color: #FFFFFF;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    display: block;
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--color-dark);
    line-height: 1.2;
}

.text-gold { color: var(--color-gold); }
.text-center { text-align: center; }

/* Header & Navigation */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #fff;
    z-index: 50;
    height: 80px;
}

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

.logo img {
    height: 40px;
}

.nav-desktop {
    display: flex;
    align-items: center;
    gap: 48px;
    height: 100%;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 40px;
    height: 100%;
}

.nav-link {
    color: var(--color-dark);
    font-weight: 700;
    font-size: 16px;
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--color-gold);
}

.nav-link.active {
    color: var(--color-gold);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 25px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--color-gold);
}

.header-right {
    display: flex;
    align-items: center;
}

.tkb-dropdown-container {
    position: relative;
    display: inline-block;
}

.tkb-badge {
    border: 1px solid var(--color-gold);
    border-radius: 6px;
    padding: 8px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    background-color: #fff;
    transition: background-color 0.2s;
}

.tkb-badge span {
    color: var(--color-gold);
    font-weight: 700;
    font-size: 14px;
}

.tkb-badge img {
    width: 12px;
    height: 12px;
    transition: transform 0.2s;
}

.tkb-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    display: none;
    flex-direction: column;
    padding: 0;
    z-index: 100;
    overflow: hidden;
}

/* Invisible bridge to prevent hover loss */
.tkb-dropdown-container::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    height: 10px;
}

.tkb-dropdown-menu.show {
    display: flex;
}

.tkb-dropdown-item {
    padding: 10px 0;
    font-size: 14px;
    color: var(--color-dark);
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.2s, color 0.2s;
}

.tkb-dropdown-item:hover,
.tkb-dropdown-item.selected {
    background-color:  rgba(255, 183, 13, 0.08);
    color: var(--color-gold);
}

/* Hover effects */
.tkb-dropdown-container:hover .tkb-badge {
    background-color:   rgba(255, 183, 13, 0.08);
    border-color:   rgba(255, 183, 13, 0.08);
}

.tkb-dropdown-container:hover .tkb-dropdown-menu {
    display: flex;
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: #666;
}

.mobile-menu-btn svg {
    width: 24px;
    height: 24px;
}

.mobile-menu {
    display: none;
    background-color: #fff;
    border-bottom: 1px solid var(--color-gold);
}

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

.mobile-menu nav {
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
}

.mobile-menu .nav-link {
    padding: 16px 20px;
    width: 100%;
}

.mobile-menu .nav-link.active {
    border-top: 2px solid var(--color-gold);
    border-bottom: 2px solid var(--color-gold);
}

.mobile-menu .nav-link.active::after {
    display: none;
}

.mobile-menu .tkb-dropdown-container {
    padding: 16px 20px;
}

/* Main Content Padding */
.main-content {
    padding-top: 80px;
}

/* Home - Hero Section */
.hero-section {
    position: relative;
    width: 100%;
    min-height: 640px;
    background-image: url('../img/home/mn_home_banner.png');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
}

.hero-content {
    max-width: 600px;
    margin-top: -60px;
}

.hero-title {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.hero-desc {
    font-size: 18px;
    color: var(--color-text-gray);
    margin-bottom: 40px;
    max-width: 500px;
}

.hero-btn {
    display: inline-block;
    transition: opacity 0.3s;
}

.hero-btn:hover {
    opacity: 0.9;
}

.hero-btn img {
    height: 56px;
}

/* Home - Advantages Section */
.advantages-section {
    padding: 80px 0;
    background-color: #fff;
}

.section-title {
    font-size: 30px;
    text-align: center;
    margin-bottom: 16px;
}

.section-desc {
    text-align: center;
    color: var(--color-text-gray);
    margin-bottom: 64px;
    font-size: 16px;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.advantage-card {
    background: rgba(255, 183, 13, 0.02);
    padding: 32px;
    border-radius: 16px;
    border: 1px solid #FFE4A1;
    text-align: center;
    transition: box-shadow 0.3s;
}

.advantage-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.advantage-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 24px;
}

.advantage-icon img {
    width: 64px;
    height: 64px;
}

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

.advantage-card p {
    color: var(--color-text-gray);
    font-size: 14px;
}

/* Home - Trust Section */
.trust-section {
    padding: 80px 0;
    background-color: #fff;
}

.trust-container {
    display: flex;
    gap: 48px;
    align-items: center;
}

.trust-left {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.trust-title {
    font-size: 30px;
    margin-bottom: 24px;
    line-height: 1.4;
}

.trust-desc {
    color: var(--color-text-gray);
    margin-bottom: 48px;
    max-width: 450px;
}

.trust-stats {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.stat-card {
    flex: 1;
    min-width: 200px;
    border: 1px solid rgba(255, 183, 13, 0.24);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    background: rgba(255, 183, 13, 0.02);
}

.stat-card img {
    object-fit: contain;
    display: block;
}
.stat-card > div {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.stat-value {
    font-size: 24px;
    font-weight: 700;
}

.stat-label {
    color: var(--color-text-gray);
    font-size: 14px;
}

.trust-right {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.testimonial-card {
    background-color: var(--color-bg-gray);
    padding: 24px;
    border-radius: 16px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
}

.testimonial-content {
    flex: 1;
}

.testimonial-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.testimonial-name {
    font-weight: 700;
}

.testimonial-stars {
    display: flex;
}

.testimonial-text {
    color: var(--color-text-gray);
    font-size: 14px;
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: #fff;
    padding: 80px 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 48px 80px;
}

.footer-item {
    display: flex;
    align-items: flex-start;
    gap: 24px;
}

.footer-ic-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-info h4 {
    color: #fff;
    font-size: 14px;
    margin-bottom: 4px;
}

.footer-info p {
    color: var(--color-text-gray-light);
    font-size: 12px;
    line-height: 1.6;
}

.footer-copyright {
    margin-top: 80px;
    text-align: center;
    color: rgba(255, 255, 255, 0.22);
    font-size: 10px;
    letter-spacing: 1px;
    text-transform: uppercase;
}



/* Product Showcase */
.product-showcase {
    padding: 80px 0;
    background-color: #fff;
    overflow: hidden;
}

.product-showcase .section-title {
    font-size: 36px;
    margin-bottom: 60px;
    color: var(--color-dark);
}

.showcase-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    position: relative;
    min-height: 560px;
}

.showcase-column {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 540px; /* Slight inset from 560px to match design */
    width: 320px;
    flex-shrink: 0;
    z-index: 20;
}

.product-card {
    position: relative;
    background: #FFFEFC;
    border: 1px solid #FFB70D;
    box-shadow: 0px 0px 20px 0px rgba(255, 183, 13, 0.16);
    border-radius: 12px;
    padding: 32px 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    min-height: 180px;
    transition: box-shadow 0.3s;
}


.product-card:hover {
    box-shadow: 0 8px 24px rgba(230, 179, 62, 0.15);
}

.product-card img {
    margin-bottom: 20px;
}

.product-card span {
    font-weight: 700;
    font-size: 16px;
    color: var(--color-dark);
}

.showcase-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    pointer-events: none;
    display: flex;
    justify-content: center;
    align-items: center;
}

.showcase-glow {
    position: absolute;
    width: 500px;
    height: 500px;
    background-color: rgba(230, 179, 62, 0.15);
    border-radius: 50%;
    filter: blur(80px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.showcase-center img {
    position: relative;
    z-index: 10;
    display: block;
    max-width: none;
}

/* Product Steps */
.steps-section {
    padding: 80px 0;
    background-color: #fff;
}

.steps-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.step-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 25%;
}

.step-icon-wrapper {
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.step-item h3 {
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--color-dark);
}

.step-item p {
    color: var(--color-text-gray);
    font-size: 12px;
    line-height: 1.6;
}

.step-arrow {
    margin-bottom: 64px;
}

/* Product Risk */
.risk-section {
    padding: 80px 0;
    background-color: #fff;
}

.risk-box {
    background-color: #fff;
    padding: 40px 64px;
}

.risk-box h2 {
    font-size: 30px;
    text-align: center;
    margin-bottom: 48px;
    color: var(--color-dark);
}

.risk-content p {
    color: var(--color-text-gray);
    font-size: 14px;
    line-height: 1.8;
    margin-bottom: 24px;
}



/* About Hero Section */
.about-hero {
    position: relative;
    width: 100%;
    min-height: 600px;
    background-image: url('../img/about/mn_about_banner.png');
    background-size: cover;
    background-position: center center;
    display: flex;
    align-items: center;
}

.about-hero-content {
    position: relative;
    z-index: 10;
    max-width: 650px;
}

.about-title {
    font-size: 48px;
    margin-bottom: 24px;
    color: var(--color-dark);
}

.about-desc {
    font-size: 18px;
    color: var(--color-text-gray);
    line-height: 1.8;
}

/* Values Section */
.values-section {
    padding: 80px 0;
    background-color: #fff;
}

.values-section .section-title {
    font-size: 36px;
    margin-bottom: 80px;
    color: var(--color-dark);
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.value-card {
    background: rgba(255, 183, 13, 0.02);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 183, 13, 0.24);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: box-shadow 0.3s;
}

.value-card:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.value-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 32px;
}

.value-card h3 {
    font-size: 24px;
    margin-bottom: 16px;
    color: var(--color-dark);
}

.value-card p {
    color: var(--color-text-gray);
    font-size: 14px;
    line-height: 1.6;
}

/* ==========================================
   Responsive Rules
   ========================================== */

@media (max-width: 1024px) {
    .showcase-container {
        flex-direction: column;
        gap: 32px;
        min-height: auto;
    }
    .showcase-center {
        position: relative;
        top: 0;
        left: 0;
        transform: none;
        order: -1;
        width: 100%;
        margin-bottom: 20px;
    }
    .showcase-center img {
        width: 100%;
        max-width: 320px;
        margin: 0 auto;
    }
    .showcase-column {
        flex-direction: column;
        gap: 16px;
        height: auto;
        width: 100%;
    }
    .product-card {
        min-height: auto;
        padding: 20px;
    }
    .steps-container {
        flex-direction: column;
        gap: 32px;
    }
    .step-arrow {
        display: block;
        margin: 0 auto;
    }
    .step-arrow img { width: 24px; height: auto; }
    
    .showcase-glow { display: none; }
    .product-showcase { background-color: transparent; padding-top: 40px; }
}

@media (max-width: 768px) {
    .nav-desktop { display: none; }
    .mobile-menu-btn { display: block; }

    /* Home Hero */
    .hero-section {
        min-height: 240px;
        background-image: url('../img/mobile/mn_home_banner.png');
        background-position: center right;
        background-size: cover;
        display: flex;
        align-items: center;
    }
    .hero-title { font-size: 18px; text-align: left; margin-bottom: 8px; width: 65%; }
    .hero-desc { font-size: 11px; text-align: left; margin-bottom: 12px; width: 60%; line-height: 1.4; color: rgba(51, 51, 51, 0.7); }
    .hero-content { margin-top: 0; padding-left: 0; display: flex; flex-direction: column; align-items: flex-start; width: 100%; }
    .hero-btn img { height: 32px; }

    /* About Hero */
    .about-hero {
        min-height: 240px;
        background-image: url('../img/mobile/mn_about_banner.png');
        background-position: center right;
        background-size: cover;
        display: flex;
        align-items: center;
    }
    .about-title { font-size: 16px; text-align: left; margin-bottom: 8px; width: 65%; }
    .about-desc { font-size: 11px; text-align: left; width: 60%; line-height: 1.4; color: rgba(51, 51, 51, 0.7); }
    .about-hero-content { display: flex; flex-direction: column; align-items: flex-start; width: 100%; }

    /* Grid & Layout Adjustments */
    .advantages-grid, .values-grid { grid-template-columns: 1fr; gap: 16px; }
    .advantage-card, .value-card { padding: 20px; }
    .advantage-card h3, .value-card h3 { font-size: 14px; margin-bottom: 8px; }
    .advantage-card p, .value-card p { font-size: 11px; }
    .advantage-icon img, .value-icon-wrapper img { width: 40px; height: 40px; }

    .section-title, 
    .product-showcase .section-title, 
    .values-section .section-title { font-size: 18px; margin-bottom: 8px; }
    .section-desc { font-size: 11px; margin-bottom: 32px; }

    .trust-container { flex-direction: column; gap: 32px; }
    .trust-title { font-size: 18px; text-align: center; }
    .trust-desc { font-size: 11px; text-align: center; margin-inline: auto; max-width: 100%; margin-bottom: 24px; }
    .trust-stats { justify-content: center; }
    .stat-card { padding: 16px; min-width: 140px; }
    .stat-value { font-size: 16px; }
    .stat-label { font-size: 10px; }

    .testimonial-card { padding: 16px; gap: 12px; }
    .testimonial-avatar { width: 32px; height: 32px; }
    .testimonial-name { font-size: 13px; }
    .testimonial-text { font-size: 11px; }

    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-info h4 { font-size: 12px; }
    .footer-info p { font-size: 10px; }
    .risk-box { padding: 32px 20px; }
    .risk-box h2 { font-size: 18px; margin-bottom: 24px; }
    .risk-content p { font-size: 11px; margin-bottom: 16px; }

    /* Nav & Badge */
    .mobile-menu .nav-link { font-size: 14px; padding: 12px 20px; }
    .tkb-badge span { font-size: 12px; }
    .tkb-dropdown-item { font-size: 12px; }

    /* Product Page Specifics */
    .product-card span { font-size: 13px; }
    .step-item h3 { font-size: 14px; }
    .step-item p { font-size: 11px; }
}
