:root {
    --bg-color: #000000;
    --primary-gold: #D4AF37;
    --bright-gold: #FFD700;
    --soft-gold: #C5A028;
    --white: #FFFFFF;
    --gray-400: #9CA3AF;
    --gray-800: #1F2937;
    --gray-900: #111827;
    --aura-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    background-color: var(--bg-color);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, .logo-text {
    font-family: 'Outfit', sans-serif;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 2.5%;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
    flex-wrap: nowrap;
    gap: 0.5rem;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
    min-width: 0;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    flex-shrink: 0;
}

.logo-aura {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-top: 2px solid var(--primary-gold);
    border-right: 2px solid var(--primary-gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.2), inset 0 0 10px rgba(212, 175, 55, 0.15);
    position: relative;
    transform: rotate(-15deg);
}

.logo-aura::after {
    content: '';
    position: absolute;
    top: 2px;
    right: 2px;
    width: 6px;
    height: 6px;
    background: var(--white);
    border-radius: 50%;
    box-shadow: 0 0 8px #fff, 0 0 15px var(--primary-gold);
}

.logo-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 300;
    letter-spacing: 0.5px;
    color: #fff;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.chinese-text {
    color: var(--primary-gold);
    font-weight: 400;
    border-left: 1px solid rgba(255, 255, 255, 0.25);
    padding-left: 7px;
    margin-left: 7px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0.9rem;
    align-items: center;
    flex-shrink: 1;
    flex-wrap: nowrap;
    white-space: nowrap;
}

.nav-links a {
    text-decoration: none;
    color: var(--white);
    font-size: 0.82rem;
    font-weight: 400;
    transition: var(--transition-smooth);
    white-space: nowrap;
}

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

/* Region Switcher */
.region-selector {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 2px;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    height: 28px;
    flex-shrink: 0;
}

.region-pill {
    padding: 0 7px;
    height: 22px;
    border-radius: 50px;
    font-size: 0.6rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    color: var(--gray-400);
    font-weight: 800;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: center;
}

.region-pill:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.05);
}

.region-pill.active {
    background: var(--primary-gold);
    color: var(--bg-color);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.4);
}

/* Hamburger Menu Icon */
.menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 18px;
    cursor: pointer;
    z-index: 1001;
    margin-left: 1rem;
}

.menu-toggle .bar {
    height: 2px;
    width: 100%;
    background-color: var(--white);
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Partner Logo Floating Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.partner-logo {
    animation: float 3s ease-in-out infinite;
    animation-delay: var(--delay, 0s);
}

/* Mobile Responsive Navbar */
@media (max-width: 1024px) {
    .navbar {
        padding: 0.8rem 5%;
    }
    
    .nav-left {
        gap: 0.8rem;
    }

    .nav-links {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100vw !important;
        height: 100vh !important;
        background: #000000 !important; /* Force solid black */
        display: flex !important;
        flex-direction: column !important;
        justify-content: center !important;
        align-items: center !important;
        gap: 3rem !important;
        z-index: 9999 !important; /* Extreme priority */
        transform: translateX(100%);
        transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        list-style: none;
        margin: 0;
        padding: 0;
        visibility: hidden;
    }

    .nav-links.nav-active {
        transform: translateX(0);
        visibility: visible;
    }

    .menu-toggle {
        display: flex;
        z-index: 10000 !important; /* Above EVERYTHING */
    }

    .menu-toggle.is-active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.is-active .bar:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }

    .menu-toggle.is-active .bar:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
    
    .logo-text {
        font-size: 1.1rem;
    }
    
    .chinese-text {
        font-size: 0.9rem;
    }
    
    .region-selector {
        transform: scale(0.85);
        transform-origin: left center;
    }

    .nav-links a {
        font-size: 1.5rem !important;
        font-weight: 600;
        letter-spacing: 2px;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .chinese-text {
        display: none;
    }
    .logo-text {
        font-size: 1rem;
    }
    .region-selector {
        transform: scale(0.8);
    }
}

.login-btn {
    background: var(--primary-gold);
    color: var(--bg-color) !important;
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-weight: 600 !important;
    box-shadow: var(--aura-shadow);
}

.login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.6);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 10% 60px;
    position: relative;
    background: radial-gradient(circle at 70% 50%, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
    overflow: hidden;
}

.hero-content {
    max-width: 700px;
    z-index: 2;
}

.aura-subtitle {
    color: var(--primary-gold);
    font-size: 1rem;
    letter-spacing: 4px;
    margin-bottom: 1.5rem;
    font-weight: 600;
    display: block;
    opacity: 0.9;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 2rem;
}

.hero-title .highlight {
    display: block;
    background: linear-gradient(90deg, var(--primary-gold), #FFF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: clamp(1rem, 3vw, 1.25rem);
    color: var(--gray-400);
    margin-bottom: 3rem;
    max-width: 550px;
}

.cta-group {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

@media (max-width: 480px) {
    .cta-group {
        flex-direction: column;
        width: 100%;
    }
    .primary-btn, .secondary-btn {
        width: 100%;
        text-align: center;
    }
}

.primary-btn {
    background: var(--primary-gold);
    color: var(--bg-color);
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: var(--aura-shadow);
}

.primary-btn:hover {
    background: var(--bright-gold);
    transform: translateY(-3px);
}

.secondary-btn {
    background: transparent;
    color: var(--white);
    border: 1px solid var(--gray-800);
    padding: 1rem 2.5rem;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.secondary-btn:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.aura-sphere {
    position: absolute;
    right: -5%;
    top: 50%;
    transform: translateY(-50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 1;
    animation: pulseAura 8s infinite alternate;
}

@keyframes pulseAura {
    from { transform: translateY(-50%) scale(1); opacity: 0.5; }
    to { transform: translateY(-50%) scale(1.1); opacity: 0.8; }
}

/* SEO Audit Bar */
.seo-audit-bar {
    background: var(--gray-900);
    padding: 2rem 5%;
    border-bottom: 1px solid var(--gray-800);
}

.audit-container {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 2rem;
    border-radius: 50px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.audit-container label {
    font-weight: 600;
    white-space: nowrap;
    color: var(--primary-gold);
}

.audit-container input {
    flex: 1;
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1rem;
    outline: none;
}

.audit-btn {
    background: var(--primary-gold);
    color: var(--bg-color);
    border: none;
    padding: 0.7rem 2rem;
    border-radius: 30px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-smooth);
}

.audit-btn:hover {
    background: var(--bright-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Brand Wall - 3D Sphere */
.brand-wall {
    padding: 6rem 0 2rem 0; /* Reduced bottom padding to eliminate void */
    text-align: center;
    background: #000;
    overflow: hidden;
    position: relative;
}

.section-tag {
    font-size: 0.9rem;
    letter-spacing: 5px;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    opacity: 0.8;
}

.logo-sphere-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 480px; /* Reduced from 650px to remove void */
    margin: 2rem auto;
    perspective: 2000px; /* Stronger perspective */
    display: flex;
    justify-content: center;
    align-items: center;
}


/* Showcase / Multi-row Marquee */
.showcase {
    padding: 8rem 0;
    overflow: hidden;
    background: #000;
}

/* Section Header Base Styles (Unified Centering) */
.section-header {
    text-align: center;
    width: 100%;
    margin-bottom: 5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.section-tag {
    font-size: 0.9rem;
    letter-spacing: 5px;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
    display: block;
    text-align: center;
    text-transform: uppercase;
    opacity: 0.9;
}

.section-header h2 {
    font-size: 3.5rem;
    margin: 0 auto 1rem auto;
    width: 100%;
    background: linear-gradient(to right, #fff, var(--gray-400));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-header p {
    font-size: 1.2rem;
    color: var(--gray-400);
    max-width: 650px;
    margin: 0 auto;
    line-height: 1.6;
}

.showcase-container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    padding: 0 4%;
}

.portfolio-row-wrapper {
    display: flex;
    align-items: center;
    gap: 4rem;
    padding: 3rem 4%;
    background: rgba(10, 10, 10, 0.4);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.portfolio-row-wrapper:hover {
    border-color: rgba(212, 175, 55, 0.35);
    background: rgba(15, 15, 15, 0.85);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), inset 0 0 40px rgba(212, 175, 55, 0.04);
    transform: translateY(-5px);
}

.portfolio-row-info {
    flex: 0 0 260px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    z-index: 10;
}

.portfolio-row-badge {
    align-self: flex-start;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(184, 134, 11, 0.03));
    border: 1px solid rgba(212, 175, 55, 0.25);
    color: var(--bright-gold);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 12px;
    border-radius: 6px;
    letter-spacing: 2px;
    text-transform: uppercase;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.05);
}

.portfolio-row-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #FFFFFF;
    margin: 0.5rem 0 0 0;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #FFFFFF 30%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.portfolio-row-subtitle {
    font-size: 0.95rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.portfolio-row-wrapper .marquee-container {
    flex: 1;
    margin-top: 0;
    overflow: hidden;
    position: relative;
    /* Premium double-sided gradient fade mask to prevent hard clipping and create a luxury look */
    -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 80px, #000 calc(100% - 80px), transparent 100%);
    mask-image: linear-gradient(to right, transparent 0%, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.marquee-row {
    width: 100%;
    overflow: hidden;
    display: flex;
}

.marquee-track {
    display: flex;
    gap: 2rem;
    padding: 0.5rem 0;
    white-space: nowrap;
    width: max-content;
}

.marquee-left .marquee-track {
    animation: scrollLeft 40s linear infinite;
}

.marquee-right .marquee-track {
    animation: scrollRight 40s linear infinite;
}

/* Explicit custom widths/heights for different categories to add rich visual cadence */
#track-1 .work-item { height: 320px; width: auto; flex: 0 0 auto; }
#track-2 .work-item { height: 370px; width: auto; flex: 0 0 auto; } /* Menus vertical portrait cards */
#track-3 .work-item { height: 320px; width: auto; flex: 0 0 auto; }
#track-4 .work-item { height: 320px; width: auto; flex: 0 0 auto; }
#track-5 .work-item { height: 280px; width: auto; flex: 0 0 auto; } /* Landscape web banners & screens */

.work-item {
    background: #050505;
    border: 1px solid var(--gray-900);
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    min-width: 150px; /* Pre-render safety width */
}

.work-item-square {
    flex: 0 0 320px;
    height: 320px;
}

.work-item img {
    height: 100%;
    width: auto;
    object-fit: contain;
    display: block;
    opacity: 0.9;
    transition: transform 0.8s ease, opacity 0.5s ease;
}

.work-item span {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 2.5rem 1.5rem 1.5rem 1.5rem;
    background: linear-gradient(to top, rgba(0,0,0,1) 0%, rgba(0,0,0,0.8) 50%, transparent 100%);
    color: var(--white);
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    z-index: 10;
    pointer-events: none;
    text-align: left;
    transition: all 0.4s ease;
    white-space: normal; /* Force text to wrap inside dynamically-sized cards */
}

.work-item:hover span {
    color: var(--bright-gold);
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
}

.work-item:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.6), 0 0 25px rgba(212, 175, 55, 0.15);
}

.work-item:hover img {
    opacity: 1;
    transform: scale(1.05);
}

@keyframes scrollLeft {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

@keyframes scrollRight {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
}

.work-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: 1;
}

@keyframes scrollMarquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

@keyframes scan {
    0% { transform: translateY(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(100px); opacity: 0; }
}

/* Pricing */
.pricing {
    padding: 8rem 10%;
    text-align: center;
}

.pricing h2 {
    font-size: 3rem;
    margin-bottom: 4rem;
}

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

.price-card {
    background: rgba(15, 15, 20, 0.6);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    padding: 3rem 1.5rem;
    border-radius: 24px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: var(--transition-smooth);
    position: relative;
    display: flex;
    flex-direction: column;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.price-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.25), 0 0 20px rgba(212, 175, 55, 0.15);
}

.price-card.featured {
    border-color: rgba(212, 175, 55, 0.6);
    transform: scale(1.05);
    background: linear-gradient(145deg, rgba(20, 20, 25, 0.8), rgba(10, 10, 15, 0.9));
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 15px rgba(212, 175, 55, 0.1);
}

.price-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 45px rgba(212, 175, 55, 0.35), 0 0 25px rgba(212, 175, 55, 0.2);
}

.badge {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary-gold);
    color: var(--bg-color);
    padding: 0.4rem 1.5rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.price-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--gray-400);
}

.price {
    font-size: 2.6rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: nowrap;
    font-family: 'Outfit', sans-serif;
    color: #FFFFFF;
}

.price span, .price-card .price span {
    font-size: 0.72rem !important;
    color: var(--primary-gold) !important;
    font-weight: 700 !important;
    background: rgba(212, 175, 55, 0.16) !important;
    border: 1px solid rgba(212, 175, 55, 0.45) !important;
    padding: 4px 10px !important;
    border-radius: 50px !important;
    white-space: nowrap !important;
    letter-spacing: 0.5px !important;
    text-transform: uppercase !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    vertical-align: middle !important;
    box-shadow: 0 2px 8px rgba(212, 175, 55, 0.15) !important;
    margin-left: 2px !important;
}

.price-card ul {
    list-style: none;
    text-align: left;
    margin-bottom: 2.5rem;
    flex: 1;
}

.price-card li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 1rem;
    color: var(--gray-400);
    line-height: 1.5;
}

.price-card li span {
    display: block;
    flex: 1;
}

.price-card li::before {
    content: '✓';
    color: var(--primary-gold);
    font-weight: bold;
    flex-shrink: 0;
    margin-right: 0;
}

.price-card .whatsapp-btn {
    margin-top: auto !important;
}

@media (max-width: 480px) {
    .price {
        font-size: 2.1rem !important;
        gap: 6px !important;
    }
    .price span, .price-card .price span {
        font-size: 0.65rem !important;
        padding: 3px 8px !important;
    }
}


/* Pricing Layout */
.pricing-container {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 2.5rem;
    margin-bottom: 5rem;
    flex-wrap: wrap;
}

.pricing-category {
    flex: 1;
    min-width: 300px;
    max-width: 500px;
    text-align: left;
}

.pricing-category h3 {
    font-size: 1.2rem;
    color: var(--primary-gold);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    border-left: 3px solid var(--primary-gold);
    padding-left: 1rem;
}

/* Design Packages */
.design-packages {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.feature-card {
    background: rgba(10, 10, 10, 0.6);
    backdrop-filter: blur(15px);
    padding: 3.5rem 2.5rem;
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: radial-gradient(circle at top right, rgba(212, 175, 55, 0.08), transparent 60%);
    opacity: 0;
    transition: all 0.5s ease;
    pointer-events: none;
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card:hover {
    border-color: var(--bright-gold);
    transform: translateY(-12px);
    background: rgba(15, 15, 15, 0.85);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(212, 175, 55, 0.15);
}

.feature-card .feature-icon-container {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.08);
    border: 1px solid rgba(212, 175, 55, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    transition: all 0.4s ease;
    box-shadow: inset 0 0 10px rgba(212, 175, 55, 0.1);
}

.feature-card:hover .feature-icon-container {
    background: var(--primary-gold);
    border-color: var(--bright-gold);
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.feature-card .feature-icon {
    font-size: 1.8rem;
    line-height: 1;
    margin-bottom: 0;
    transition: all 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    filter: brightness(0);
}

.feature-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #FFFFFF;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.feature-card:hover h3 {
    color: var(--bright-gold);
}

.feature-card p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--gray-400);
    transition: all 0.3s ease;
}

.feature-card:hover p {
    color: #FFFFFF;
}

.feature-card .feature-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--primary-gold);
    font-size: 0.65rem;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 5px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.feature-card.premium-feature {
    border: 1px solid rgba(212, 175, 55, 0.45);
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.7), rgba(0, 0, 0, 0.9));
}

.feature-card.premium-feature::after {
    content: '';
    position: absolute;
    bottom: 0; right: 0; width: 80px; height: 80px;
    background: radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.15), transparent 70%);
    pointer-events: none;
}

.lock-tag {
    background: var(--primary-gold);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 50px;
    margin-left: 10px;
    vertical-align: middle;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
}

.package-item {
    background: rgba(255, 255, 255, 0.03);
    padding: 1.5rem 2rem;
    border-radius: 18px;
    border: 1px solid var(--gray-900);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: var(--transition-smooth);
    position: relative;
}

.pkg-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    flex: 1;
}

.qty {
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    display: block;
}

.pkg-features-mini {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pkg-features-mini li {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 0.3rem;
    letter-spacing: 0.5px;
}

.buy-btn-small {
    background: #2ecc71; /* 曜石綠 */
    color: #000;
    border: none;
    padding: 8px 20px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.2);
}

.buy-btn-small:hover {
    background: #27ae60;
    transform: scale(1.05);
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.4);
}

.package-item:hover {
    border-color: var(--primary-gold);
    transform: translateX(10px);
}

/* Payment Trust Bar Styles */
.payment-trust-bar {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid var(--gray-900);
    text-align: center;
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
}

.trust-icons img {
    height: 35px;
    opacity: 0.6;
    filter: grayscale(100%);
    transition: var(--transition-smooth);
}

.trust-icons img:hover {
    opacity: 1;
    filter: grayscale(0%);
    transform: scale(1.1);
}

.payment-trust-bar p {
    font-size: 0.85rem;
    color: var(--gray-700);
    letter-spacing: 1px;
}

.package-item.popular {
    border: 1px solid var(--primary-gold);
    background: linear-gradient(90deg, var(--gray-900), #0d0d0d);
}

.package-item .qty {
    font-size: 1.2rem;
    font-weight: 600;
}

.package-item .pkg-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-gold);
}

/* Analysis Services */
.analysis-services {
    background: rgba(255, 255, 255, 0.02);
    padding: 4rem;
    border-radius: 30px;
    border: 1px solid var(--gray-900);
    margin-top: 4rem;
}

.analysis-services h3 {
    margin-bottom: 3rem;
    font-size: 1.8rem;
}

.service-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.service-box {
    background: var(--bg-color);
    padding: 2.5rem;
    border-radius: 20px;
    border: 1px solid var(--gray-900);
    text-align: center;
}

.service-box h5 {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--primary-gold);
}

.platform-tags {
    display: flex;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.platform-tags span {
    background: var(--gray-900);
    padding: 0.4rem 1.2rem;
    border-radius: 50px;
    font-size: 0.85rem;
    border: 1px solid var(--gray-800);
}

.service-box.special {
    background: linear-gradient(145deg, #0a0a0a, #000);
    border: 1px dashed var(--primary-gold);
}

.whatsapp-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 1rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    margin-top: 1.5rem;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 10px rgba(37, 211, 102, 0.2);
}

.whatsapp-btn.secondary {
    background: transparent;
    border: 1px solid #25D366;
    color: #25D366;
    box-shadow: none;
}

.whatsapp-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.4);
    background: #20BA56;
    color: white;
}

.whatsapp-btn.secondary:hover {
    background: #25D366;
    color: white;
}

.pricing-note {
    margin-top: 3rem;
    color: var(--gray-800);
    font-size: 0.85rem;
    font-style: italic;
}

/* Features & Flow */
.features, .flow {
    padding: 8rem 10%;
    background: var(--bg-color);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature-item {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem 2rem;
    border-radius: 20px;
    border: 1px solid var(--gray-900);
    transition: var(--transition-smooth);
    text-align: left;
}

.feature-item:hover {
    border-color: var(--primary-gold);
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1.5rem;
}

.feature-item h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: var(--white);
}

.feature-item p {
    color: var(--gray-400);
    font-size: 0.95rem;
}

.flow-steps {
    display: flex;
    justify-content: space-between;
    gap: 2rem;
    margin-top: 4rem;
    position: relative;
}

.step {
    flex: 1;
    text-align: left;
    position: relative;
}

.step-num {
    font-size: 4rem;
    font-weight: 800;
    color: transparent;
    -webkit-text-stroke: 1px rgba(212, 175, 55, 0.3);
    margin-bottom: 1rem;
    line-height: 1;
}

.step h4 {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    color: var(--primary-gold);
}

.step p {
    color: var(--gray-400);
}

@media (max-width: 768px) {
    .flow-steps { flex-direction: column; }
}

footer {
    text-align: center;
    padding: 4rem;
    border-top: 1px solid var(--gray-900);
    color: var(--gray-800);
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .hero-title { font-size: 3rem; }
    .nav-links { display: none; }
    .hero { text-align: center; justify-content: center; padding: 0 5%; }
    .cta-group { justify-content: center; }
}

/* ============================================================
   AUTHENTICATION PAGES (Login/Register)
   ============================================================ */
.auth-body {
    background: #050505;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-x: hidden;
    position: relative;
    padding: 20px;
    cursor: pointer;
}

.auth-bg {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    pointer-events: none;
}

.auth-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 450px;
    animation: authCardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes authCardEntrance {
    from { opacity: 0; transform: scale(0.9) translateY(30px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.auth-card {
    background: rgba(10, 10, 10, 0.7);
    backdrop-filter: blur(25px) saturate(180%);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 32px;
    padding: 3.5rem;
    box-shadow: 0 40px 100px rgba(0, 0, 0, 0.8), 
                inset 0 0 20px rgba(212, 175, 55, 0.05);
    cursor: default;
}

.auth-header {
    text-align: center;
    margin-bottom: 3rem;
}

.auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
}

.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 14px;
    padding: 6px;
    margin-bottom: 2.5rem;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.tab-btn {
    flex: 1;
    padding: 12px;
    background: transparent;
    border: none;
    color: var(--gray-500);
    font-weight: 700;
    cursor: pointer;
    border-radius: 10px;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.tab-btn.active {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.input-group {
    margin-bottom: 1.8rem;
}

.input-group label {
    display: block;
    font-size: 0.8rem;
    color: var(--gray-400);
    margin-bottom: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.input-group input {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    border-radius: 14px;
    color: #fff;
    font-family: inherit;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.input-group input:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.auth-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    margin-bottom: 2.5rem;
}

.remember-me {
    color: var(--gray-500);
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.forgot-pass {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 600;
}

.auth-submit-btn {
    width: 100%;
    background: #2ecc71; /* 曜石綠 */
    color: #000;
    padding: 16px;
    border: none;
    border-radius: 14px;
    font-weight: 800;
    font-size: 1.05rem;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    margin-bottom: 2rem;
}

.auth-submit-btn:hover {
    background: #27ae60;
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 30px rgba(46, 204, 113, 0.4);
}

.auth-footer {
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 2rem;
}

.auth-footer p {
    font-size: 0.9rem;
    color: var(--gray-600);
    line-height: 1.5;
}

.auth-footer a {
    color: var(--primary-gold);
    text-decoration: none;
    font-weight: 700;
    border-bottom: 1px solid transparent;
    transition: all 0.3s ease;
}

.auth-footer a:hover {
    border-bottom-color: var(--primary-gold);
}

.input-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.logo-upload-zone {
    border: 1px dashed rgba(212, 175, 55, 0.3);
    background: rgba(255, 255, 255, 0.02);
    border-radius: 20px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logo-upload-zone:hover {
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.upload-scanner {
    position: absolute;
    top: -100%;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(transparent, rgba(212, 175, 55, 0.1), transparent);
    animation: authScan 4s linear infinite;
    pointer-events: none;
}

@keyframes authScan {
    0% { top: -100%; }
    100% { top: 100%; }
}

.upload-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.logo-upload-zone p {
    font-size: 0.85rem;
    color: var(--gray-500);
}

.preview-area {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.auth-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 14px 18px;
    border-radius: 14px;
    color: #fff;
    font-family: inherit;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23d4af37' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 18px;
    transition: all 0.3s ease;
}

.auth-select:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: rgba(212, 175, 55, 0.03);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.1);
}

.auth-select option {
    background: #111;
    color: #fff;
}
/* Landing Page Enhancements */
.latest-templates {
    padding: 100px 10%;
    background: #050505;
}

.template-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.showcase-card {
    background: #0f0f0f;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.05);
    transition: var(--transition-smooth);
    cursor: pointer;
}

.showcase-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-gold);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
}

.showcase-img {
    height: 380px;
    background-size: cover;
    background-position: center;
}

.showcase-info {
    padding: 20px;
}

.showcase-info h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.showcase-info p {
    color: var(--primary-gold);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
}

.stats-section {
    display: flex;
    justify-content: space-around;
    padding: 80px 10%;
    background: linear-gradient(180deg, #050505, #000);
    border-top: 1px solid rgba(255,255,255,0.05);
}

.stat-card {
    text-align: center;
}

.stat-num {
    font-family: 'Outfit';
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-gold);
    margin-bottom: 5px;
}

.stat-label {
    color: var(--gray-400);
    font-size: 0.9rem;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.navbar.scrolled {
    padding: 1rem 5%;
    background: rgba(0,0,0,0.95);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.sphere-logo {
    position: absolute;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 50%;
    padding: 10px;
    object-fit: contain;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: 0.3s;
}

.sphere-logo:hover {
    transform: scale(1.2) !important;
    z-index: 10;
}
/* Template Showcase Grid */
.template-showcase-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2.5rem;
    margin-top: 4rem;
}

.showcase-card {
    background: #080808;
    border: 1px solid var(--gray-900);
    border-radius: 24px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.5s var(--transition-bounce);
}

.showcase-card:hover {
    transform: translateY(-15px) scale(1.02);
    border-color: var(--primary-gold);
    box-shadow: 0 30px 60px rgba(0,0,0,0.6);
}

.showcase-img-wrapper {
    width: 100%;
    height: 400px;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.showcase-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 20px;
    padding: 10px;
    transition: transform 0.8s ease;
}

.showcase-card:hover .showcase-img-wrapper img {
    transform: scale(1.05);
}

.showcase-info {
    padding: 2rem;
    text-align: left;
    border-top: 1px solid var(--gray-900);
}

.showcase-info h4 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 0.5rem;
}

.showcase-info p {
    color: var(--primary-gold);
    font-size: 0.9rem;
    letter-spacing: 1px;
    text-transform: uppercase;
}
/* Pricing Tabs */
.pricing-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}
.pricing-tab {
    padding: 0.8rem 2rem;
    border-radius: 50px;
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--gray-800);
    color: var(--gray-400);
    cursor: pointer;
    font-weight: 700;
    transition: all 0.3s;
    font-family: 'Outfit', sans-serif;
    letter-spacing: 1px;
}
.pricing-tab:hover {
    border-color: var(--primary-gold);
    color: #fff;
}
.pricing-tab.active {
    background: var(--primary-gold);
    color: var(--bg-color);
    border-color: var(--primary-gold);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}
.pricing-panel {
    display: none;
    width: 100%;
}
.pricing-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Pricing Packages - Horizontal Strip Mode */
.design-packages {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 900px !important;
    margin: 0 auto;
}

.partner-logo-mini {
    flex: 0 0 auto;
    width: 200px; /* Increased from 140px */
    height: 120px; /* Increased from 90px */
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.partner-logo-mini img {
    width: 90%; /* Force fill */
    height: 90%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1); /* Brighter */
    transition: transform 0.4s;
}

.package-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 1.5rem 2.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    min-height: 100px;
    width: 100%;
}

.package-item:hover {
    background: rgba(255, 255, 255, 0.07);
    border-color: #D4AF37;
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.package-item.popular {
    border-color: #D4AF37;
    background: rgba(212, 175, 55, 0.05);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.1);
}

.package-item .badge {
    position: absolute;
    top: 0;
    right: 0;
    background: #D4AF37;
    color: #000;
    padding: 5px 20px;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    border-bottom-left-radius: 15px;
    letter-spacing: 1px;
}

.pkg-info {
    display: flex;
    align-items: center;
    gap: 3rem;
    flex: 1;
}

.pkg-info .qty {
    font-size: 1.6rem;
    font-weight: 800;
    color: #fff;
    min-width: 160px;
    letter-spacing: -0.5px;
}

.pkg-features-mini {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
    color: #9CA3AF;
    font-size: 0.95rem;
}

.pkg-features-mini li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pkg-action {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.pkg-price {
    font-size: 2rem;
    font-weight: 800;
    color: #D4AF37;
    font-family: 'Outfit', sans-serif;
    min-width: 120px;
    text-align: right;
}

.buy-btn-small {
    background: linear-gradient(135deg, #00D084 0%, #00B074 100%);
    color: #000;
    border: none;
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(0, 208, 132, 0.3);
}

.buy-btn-small:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0, 208, 132, 0.5);
}

@media (max-width: 768px) {
    .package-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1.5rem;
        padding: 2rem 1.5rem;
    }
    .pkg-info {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    .pkg-features-mini {
        flex-direction: column;
        gap: 0.5rem;
    }
    .pkg-action {
        width: 100%;
        justify-content: space-between;
    }
    .pkg-price {
        text-align: left;
    }
    .pricing-tab {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
    }
}

/* Why Us Section */
.why-us {
    padding: 8rem 5%;
    background: linear-gradient(to bottom, transparent, rgba(212, 175, 55, 0.03), transparent);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    max-width: 1200px;
    margin: 4rem auto 0;
}

.why-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s ease;
}

.why-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(212, 175, 55, 0.3);
    transform: translateY(-10px);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.3));
}

.why-item h4 {
    font-size: 1.4rem;
    color: #fff;
    margin-bottom: 1rem;
    font-weight: 700;
}

.why-item p {
    color: #9CA3AF;
    line-height: 1.6;
    font-size: 1rem;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    opacity: 0.8;
}
.footer-logo .logo-aura {
    width: 35px;
    height: 35px;
    background: radial-gradient(circle, #D4AF37 0%, transparent 70%);
    border-radius: 50%;
    filter: blur(5px);
}
/* --- Tech Title Glow Effect (Stabilized) --- */
.tech-title {
    color: #D4AF37; /* Base Gold */
    background: linear-gradient(90deg, #D4AF37, #FFF, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 800;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
    animation: techPulse 4s ease-in-out infinite;
    display: inline-block;
}

@keyframes techPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.9; transform: scale(1.02); }
}

.footer-logo .logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    letter-spacing: 2px;
}
/* --- 3D Logo Wall Effect (Stabilized & High-Fi) --- */
.logo-sphere-wrapper {
    position: relative;
    width: 100%;
    max-width: 1400px;
    height: 480px;
    margin: 2rem auto;
    perspective: 2000px;
    display: flex;
    justify-content: center;
    align-items: center;
    mask-image: linear-gradient(to right, transparent, black 15%, black 85%, transparent);
    overflow: hidden;
}

.logo-sphere {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    transform: rotateX(20deg) rotateY(-10deg);
    transform-style: preserve-3d;
}

.logo-wall-row {
    width: 100%;
    overflow: visible;
    will-change: transform;
}

.logo-wall-track {
    display: flex;
    gap: 3rem;
    width: max-content;
    animation: wallScroll linear infinite;
    animation-duration: inherit;
    animation-direction: inherit;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

@keyframes wallScroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-logo-mini {
    flex: 0 0 auto;
    width: 200px;
    height: 120px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    backdrop-filter: blur(10px);
}

.partner-logo-mini img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    filter: brightness(1.1) contrast(1.1);
    transition: transform 0.4s;
}

    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

/* Region/Language Selector */
.region-selector {
    display: flex !important;
    gap: 5px !important;
    border: 1px solid rgba(255,255,255,0.15) !important;
    padding: 2px !important;
    border-radius: 30px !important;
    background: rgba(0,0,0,0.4) !important;
    backdrop-filter: blur(5px) !important;
    margin-left: 20px !important;
    position: relative !important;
    z-index: 10005 !important;
    pointer-events: auto !important;
}
.region-pill {
    cursor: pointer !important;
    padding: 4px 10px !important;
    border-radius: 20px !important;
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    color: #888 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s !important;
    letter-spacing: 1px !important;
    position: relative !important;
    z-index: 10006 !important;
    pointer-events: auto !important;
}
.region-pill:hover { color: #fff !important; background: rgba(255,255,255,0.1) !important; }
.region-pill.active {
    background: #D4AF37 !important;
    color: #000 !important;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.5) !important;
}

/* Analytics & ROI Dashboard Styles */
.analytics-section {
    padding: 8rem 4% 6rem 4%;
    position: relative;
    z-index: 10;
}

.analytics-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: 1300px;
    margin: 0 auto;
}

.analytics-card {
    background: rgba(10, 10, 10, 0.5);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(212, 175, 55, 0.08);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.analytics-card:hover {
    border-color: rgba(212, 175, 55, 0.3);
    background: rgba(15, 15, 15, 0.85);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), inset 0 0 20px rgba(212, 175, 55, 0.03);
    transform: translateY(-5px);
}

.analytics-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.analytics-card-icon {
    font-size: 1.8rem;
    color: var(--primary-gold);
}

.analytics-card-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #FFFFFF;
    margin: 0;
    letter-spacing: 0.5px;
}

.table-wrapper {
    overflow-x: auto;
    width: 100%;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}

.analytics-table th {
    padding: 1rem 1.2rem;
    color: var(--gray-400);
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(212, 175, 55, 0.15);
}

.analytics-table td {
    padding: 1.2rem;
    color: var(--gray-300);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    transition: background 0.3s;
}

.analytics-table tbody tr:hover td {
    background: rgba(212, 175, 55, 0.02);
    color: #FFFFFF;
}

.gold-text {
    color: var(--bright-gold) !important;
    font-weight: 600;
}

.trend-badge {
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid rgba(212, 175, 55, 0.3);
    color: var(--bright-gold);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 2px 10px;
    border-radius: 6px;
    display: inline-block;
}

/* ROI Dashboard */
.roi-dashboard {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.roi-item {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

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

.roi-label {
    font-size: 0.95rem;
    color: var(--gray-300);
    font-weight: 500;
}

.roi-value {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--bright-gold);
}

.roi-bar-bg {
    width: 100%;
    height: 8px;
    background: #111;
    border-radius: 4px;
    overflow: hidden;
}

.roi-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, #b8860b 0%, #D4AF37 100%);
    border-radius: 4px;
    transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.roi-bar-fill.gold-fill {
    background: linear-gradient(90deg, #D4AF37 0%, #FFF 100%);
}

@media (max-width: 992px) {
    .analytics-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    .analytics-card {
        padding: 2rem;
    }

    /* Responsive Portfolio Section Layout */
    .portfolio-row-wrapper {
        flex-direction: column;
        align-items: stretch;
        gap: 2rem;
        padding: 2.5rem 5%;
    }
    .portfolio-row-info {
        flex: 0 0 auto;
        text-align: center;
        align-items: center;
    }
    .portfolio-row-badge {
        align-self: center;
    }
    .portfolio-row-wrapper .marquee-container {
        /* On small screens, keep a slightly smaller gradient fade to fit */
        -webkit-mask-image: linear-gradient(to right, transparent 0%, #000 40px, #000 calc(100% - 40px), transparent 100%);
        mask-image: linear-gradient(to right, transparent 0%, #000 40px, #000 calc(100% - 40px), transparent 100%);
    }
}

/* 全域導航列與地區選擇器極致層級加固，防止任何 Stacking Context 遮擋 */
.navbar, .top-nav {
    z-index: 25000 !important;
}
.region-selector {
    z-index: 30000 !important;
    pointer-events: auto !important;
    position: relative !important;
}
.region-pill {
    z-index: 30001 !important;
    pointer-events: auto !important;
    position: relative !important;
    cursor: pointer !important;
}


