/* ==============================================================================
   HONG KONG HUISHENG INTERNATIONAL LIMITED
   Corporate Website — Regional Trade & Logistics
   Prefix: hs-
   Fonts: LINE Seed Sans (body), The Comeback Font (headings)
   Colors: Dark Green #0F4C3A, Emerald #10B981, Navy #0F2744, Gold #B8860B
   ============================================================================== */

/* ==================== FONT FACE ==================== */
@font-face {
    font-family: 'LINE Seed Sans';
    src: url('/LINESeedSans_Rg.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'LINE Seed Sans';
    src: url('/LINESeedSans_Bd.otf') format('opentype');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'The Comeback Font';
    src: url('/The Comeback Font.otf') format('opentype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

/* ==================== CSS VARIABLES ==================== */
:root {
    --hs-dark-green: #0F4C3A;
    --hs-emerald: #10B981;
    --hs-navy: #0F2744;
    --hs-gold: #B8860B;
    --hs-cream: #F7F5F0;
    --hs-white: #FFFFFF;
    --hs-graphite: #2C2C2C;
    --hs-grey: #6C757D;
    --hs-light-grey: #E8E6E1;
    
    --hs-font-body: 'LINE Seed Sans', sans-serif;
    --hs-font-heading: 'The Comeback Font', serif;
    
    --hs-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --hs-radius: 16px;
    --hs-radius-sm: 12px;
}

/* ==================== RESET & BASE ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

body {
    font-family: var(--hs-font-body);
    color: var(--hs-graphite);
    background: var(--hs-cream);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--hs-font-heading);
    font-weight: 400;
    line-height: 1.1;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--hs-transition);
}

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

/* ==================== HEADER ==================== */
.hs-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(247, 245, 240, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    z-index: 1000;
    border-bottom: 1px solid rgba(15, 76, 58, 0.08);
}

.hs-header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 1.25rem 3rem;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 2rem;
}

/* Navigation (Left) */
.hs-header__nav {
    display: flex;
    gap: 0.75rem;
}

.hs-header__link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.25rem;
    background: var(--hs-white);
    border: 1px solid var(--hs-light-grey);
    border-radius: 50px;
    font-family: var(--hs-font-body);
    font-size: 0.85rem;
    font-weight: 400;
    color: var(--hs-graphite);
    transition: var(--hs-transition);
}

.hs-header__link i {
    color: var(--hs-dark-green);
    font-size: 0.9rem;
}

.hs-header__link:hover {
    background: var(--hs-dark-green);
    color: var(--hs-white);
    border-color: var(--hs-dark-green);
    transform: translateY(-2px);
}

.hs-header__link:hover i {
    color: var(--hs-emerald);
}

/* Logo (Center) */
.hs-header__logo {
    justify-self: center;
}

.hs-header__logo img {
    height: 55px;
    width: auto;
}

/* Actions (Right) */
.hs-header__actions {
    justify-self: end;
    display: flex;
    gap: 1rem;
}

.hs-header__cta {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.75rem;
    background: var(--hs-graphite);
    color: var(--hs-white);
    border-radius: 50px;
    font-family: var(--hs-font-body);
    font-size: 0.85rem;
    font-weight: 700;
    transition: var(--hs-transition);
}

.hs-header__cta:hover {
    background: var(--hs-dark-green);
    transform: translateY(-2px);
}

.hs-header__cta i {
    transition: transform 0.3s ease;
}

.hs-header__cta:hover i {
    transform: translateX(4px);
}

/* Mobile Burger (Hidden on Desktop) */
.hs-header__burger {
    display: none;
    width: 48px;
    height: 48px;
    background: var(--hs-white);
    border: 1px solid var(--hs-light-grey);
    border-radius: 50%;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    transition: var(--hs-transition);
}

.hs-header__burger i {
    color: var(--hs-dark-green);
    font-size: 1.1rem;
    transition: transform 0.3s ease;
}

.hs-header__burger:hover {
    background: var(--hs-dark-green);
}

.hs-header__burger:hover i {
    color: var(--hs-white);
}

.hs-header__burger.is-active i {
    transform: rotate(180deg);
}

/* ==================== MOBILE MENU ==================== */
.hs-mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--hs-navy);
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.hs-mobile-menu.is-open {
    transform: translateX(0);
}

.hs-mobile-menu::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(16, 185, 129, 0.05) 0%, transparent 50%),
        linear-gradient(225deg, rgba(184, 134, 11, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hs-mobile-menu__content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 2rem 3rem;
    max-width: 500px;
}

.hs-mobile-menu__nav {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.hs-mobile-menu__link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    font-family: var(--hs-font-heading);
    font-size: 2rem;
    color: var(--hs-white);
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0;
    transform: translateX(-30px);
    transition: all 0.4s ease;
}

.hs-mobile-menu.is-open .hs-mobile-menu__link {
    opacity: 1;
    transform: translateX(0);
}

.hs-mobile-menu__link:nth-child(1) { transition-delay: 0.1s; }
.hs-mobile-menu__link:nth-child(2) { transition-delay: 0.15s; }
.hs-mobile-menu__link:nth-child(3) { transition-delay: 0.2s; }
.hs-mobile-menu__link:nth-child(4) { transition-delay: 0.25s; }

.hs-mobile-menu__link i {
    width: 50px;
    height: 50px;
    background: rgba(16, 185, 129, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--hs-emerald);
    font-size: 1.25rem;
    flex-shrink: 0;
}

.hs-mobile-menu__link:hover {
    color: var(--hs-emerald);
    padding-left: 1rem;
}

.hs-mobile-menu__footer {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hs-mobile-menu__email {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.hs-mobile-menu__email i {
    color: var(--hs-emerald);
}

.hs-mobile-menu__email:hover {
    color: var(--hs-emerald);
}

/* ==================== HERO SECTION ==================== */
.hs-hero {
    position: relative;
    min-height: 100vh;
    padding: 120px 3rem 80px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
}

/* Hero Background */
.hs-hero__bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hs-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(15, 39, 68, 0.85) 0%,
        rgba(15, 76, 58, 0.75) 50%,
        rgba(15, 39, 68, 0.9) 100%
    );
}

/* Hero Container */
.hs-hero__container {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Trust Badge (Top Left) */
.hs-hero__trust {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    max-width: 400px;
}

.hs-hero__trust-avatars {
    display: flex;
    flex-shrink: 0;
}

.hs-hero__avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid var(--hs-white);
    margin-left: -10px;
}

.hs-hero__avatar:first-child {
    margin-left: 0;
}

.hs-hero__avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hs-hero__trust-text {
    font-family: var(--hs-font-body);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.5;
}

/* Social Links (Top Right) */
.hs-hero__social {
    position: absolute;
    top: 0;
    right: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.hs-hero__social-link {
    padding: 0.6rem 1.25rem;
    background: var(--hs-white);
    color: var(--hs-graphite);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    transition: var(--hs-transition);
}

.hs-hero__social-link:hover {
    background: var(--hs-emerald);
    color: var(--hs-white);
    transform: translateX(-5px);
}

/* Main Content (Center Left) */
.hs-hero__content {
    max-width: 700px;
    margin-top: 4rem;
}

.hs-hero__label {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(16, 185, 129, 0.2);
    border: 1px solid var(--hs-emerald);
    border-radius: 50px;
    font-family: var(--hs-font-body);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--hs-emerald);
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.hs-hero__title {
    font-family: var(--hs-font-heading);
    font-size: 4.5rem;
    color: var(--hs-white);
    line-height: 1.05;
    margin-bottom: 2rem;
}

.hs-hero__title-accent {
    color: var(--hs-emerald);
    font-style: italic;
}

.hs-hero__subtitle {
    font-family: var(--hs-font-body);
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.7;
    margin-bottom: 3rem;
    max-width: 600px;
}

.hs-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 2.5rem;
    background: var(--hs-white);
    color: var(--hs-graphite);
    border-radius: 50px;
    font-family: var(--hs-font-body);
    font-size: 0.95rem;
    font-weight: 700;
    transition: var(--hs-transition);
}

.hs-hero__btn:hover {
    background: var(--hs-emerald);
    color: var(--hs-white);
    transform: translateY(-3px);
}

.hs-hero__btn i {
    transition: transform 0.3s ease;
}

.hs-hero__btn:hover i {
    transform: translateX(5px);
}

/* Floating Card (Right Side) */
.hs-hero__floating {
    position: absolute;
    right: 3rem;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
}

.hs-hero__floating-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 2.5rem;
    border-radius: var(--hs-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.hs-hero__floating-title {
    font-family: var(--hs-font-heading);
    font-size: 1.5rem;
    color: var(--hs-graphite);
    margin-bottom: 1rem;
}

.hs-hero__floating-text {
    font-family: var(--hs-font-body);
    font-size: 0.9rem;
    color: var(--hs-grey);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.hs-hero__floating-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid var(--hs-light-grey);
}

.hs-hero__stat {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.hs-hero__stat-value {
    font-family: var(--hs-font-heading);
    font-size: 2rem;
    color: var(--hs-dark-green);
    line-height: 1;
}

.hs-hero__stat-label {
    font-family: var(--hs-font-body);
    font-size: 0.75rem;
    color: var(--hs-grey);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Scroll Indicator (Bottom) */
.hs-hero__scroll {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 4rem;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    letter-spacing: 1px;
}

.hs-hero__scroll i {
    animation: scrollBounce 2s ease-in-out infinite;
}

@keyframes scrollBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(8px); }
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 1024px) {
    .hs-header__container {
        padding: 1rem 2rem;
    }
    
    .hs-header__nav {
        display: none;
    }
    
    .hs-header__actions {
        display: none;
    }
    
    .hs-header__burger {
        display: flex;
    }
    
    .hs-header__logo {
        justify-self: end;
    }
    
    .hs-hero {
        padding: 100px 2rem 60px;
    }
    
    .hs-hero__social {
        display: none;
    }
    
    .hs-hero__title {
        font-size: 3.5rem;
    }
    
    .hs-hero__floating {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        width: 100%;
        max-width: 400px;
        margin-top: 3rem;
    }
}

@media (max-width: 768px) {
    .hs-header__container {
        padding: 1rem 1.5rem;
    }
    
    .hs-header__logo img {
        height: 45px;
    }
    
    .hs-hero {
        padding: 90px 1.5rem 50px;
    }
    
    .hs-hero__trust {
        flex-direction: column;
        gap: 1rem;
    }
    
    .hs-hero__title {
        font-size: 2.5rem;
    }
    
    .hs-hero__subtitle {
        font-size: 1rem;
    }
    
    .hs-hero__btn {
        width: 100%;
        justify-content: center;
    }
    
    .hs-hero__floating-card {
        padding: 2rem;
    }
    
    .hs-mobile-menu__content {
        padding: 2rem 1.5rem;
    }
    
    .hs-mobile-menu__link {
        font-size: 1.5rem;
    }
    
    .hs-mobile-menu__link i {
        width: 45px;
        height: 45px;
    }
}