:root {
    --primary: #002D72;
    --accent: #0072bc;
    --gold: #FFB800;
    --dark: #1a1a2e;
    --light: #f8f9fa;
    --border: #e2e8f0;
    --text-main: #1e293b;
    --text-muted: #64748b;
    --success: #10b981;
    --line-green: #06C755;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Noto Sans TC', sans-serif;
    background: #ffffff;
    color: var(--text-main);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.top-bar {
    background: #002d72;
    border-bottom: 1px solid var(--border);
    color: #ffffff;
    font-size: 13px;
    padding: 8px 0;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.top-social {
    display: flex;
    gap: 15px;
}

.top-social a {
    color: rgba(255, 255, 255, 0.85);
    margin-left: 0;
    font-size: 15px;
    transition: 0.3s;
}

.top-social a:hover {
    color: white;
    transform: translateY(-2px);
}

.top-bar a {
    color: #ffffff;
    margin-left: 15px;
}

.top-bar a:hover {
    color: #ffffff;
}

.header {
    background: white;
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 100;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
}

.logo {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
}

.logo img {
    height: 40px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    color: var(--text-main);
    font-weight: 500;
    transition: 0.2s;
}

.nav a:hover {
    color: var(--accent);
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.phone-link {
    display: flex;
    align-items: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 10px 22px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
}

.mobile-action-btn {
    display: none;
}

/* Page Banner - Clean Version */
.page-banner {
    background: #f8fafc;
    border-bottom: 1px solid var(--border);
    padding: 60px 0;
    text-align: center;
}

.page-banner h1 {
    font-size: 32px;
    color: var(--primary);
    font-weight: 700;
    margin-bottom: 12px;
}

.page-banner p {
    color: var(--text-muted);
    font-size: 16px;
}

/* Tabs & Filters */
.tab-nav {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 10px 24px;
    background: white;
    border: 1px solid var(--border);
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted);
    transition: 0.2s;
}

.tab-btn:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.tab-btn.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

/* Products Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 25px;
}

.product-card {
    background: white;
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--accent);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.product-img {
    position: relative;
    aspect-ratio: 5/3;
    background: #f1f5f9;
}

.product-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 17px;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 12px;
    line-height: 1.4;
}

.product-specs {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.spec-tag {
    background: #f1f5f9;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
    color: var(--text-muted);
}

.product-price {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid #f1f5f9;
    padding-top: 15px;
    margin-top: auto;
}

.deposit {
    font-size: 12px;
    color: var(--text-muted);
}

.deposit strong {
    color: var(--accent);
    font-size: 16px;
    font-weight: 700;
}

.btn-book {
    background: var(--primary);
    color: white;
    padding: 8px 18px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 600;
}

/* FAQ Section */
.faq-section {
    padding: 60px 0 100px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    padding: 24px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: var(--text-main);
    font-size: 17px;
    transition: 0.2s;
}

.faq-question:hover {
    color: var(--accent);
}

.faq-question::after {
    content: '↓';
    font-size: 18px;
    color: var(--text-muted);
    transition: 0.3s;
}

.faq-item.active .faq-question::after {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 24px;
}

.faq-answer p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.8;
}

/* Footer Items */
.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 25px;
}

.footer-social a {
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-radius: 50%;
    font-size: 20px;
    transition: 0.3s;
    margin-left: 0 !important;
    /* Reset potential top-bar margin */
}

.footer-social a:hover {
    transform: translateY(-5px);
    background: var(--accent);
}

.footer-social a.social-line:hover {
    background: #06C755;
}

.footer-social a.social-fb:hover {
    background: #1877F2;
}

.footer-social a.social-ig:hover {
    background: #E4405F;
}

.footer {
    background: #0f172a;
    color: white;
    padding: 80px 0 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 60px;
}

.footer-links h4,
.footer-contact h4 {
    color: white;
    margin-bottom: 25px;
    font-size: 18px;
}

.footer-links a,
.footer-contact a {
    color: #94a3b8;
    display: block;
    margin-bottom: 12px;
    font-size: 14px;
    padding-left: 10px;
    /* Indentation */
    transition: 0.3s;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: white;
    padding-left: 25px;
    /* Subtle hover effect */
}

.footer-contact i {
    width: 20px;
    margin-right: 8px;
    text-align: center;
}

.footer-contact a i.fa-line {
    color: #ffffff;
    font-size: 16px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 45, 114, 0.75), rgba(15, 23, 42, 0.85)), url('../images/hero_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    /* Parallax effect */
    color: white;
    padding: 120px 0;
    position: relative;
    overflow: hidden;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 650px;
}

.hero-content h1 {
    font-size: 48px;
    line-height: 1.2;
    margin-bottom: 24px;
    font-weight: 700;
}

.hero-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 40px;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* Stats Section */
.stats {
    background: #f1f5f9;
    padding: 80px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    text-align: center;
}

.stat-item {
    background: white;
    padding: 35px 20px;
    border-radius: 16px;
    box-shadow: 0 4px 15px rgba(0, 45, 114, 0.05);
    transition: 0.3s;
    border: 1px solid rgba(226, 232, 240, 0.8);
}

.stat-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 45, 114, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: #eff6ff;
    color: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    border-radius: 50%;
    margin: 0 auto 20px;
}

.stat-number {
    font-size: 38px;
    font-weight: 700;
    color: var(--primary);
    line-height: 1;
}

.stat-number span {
    font-size: 20px;
}

.stat-label {
    font-size: 15px;
    color: var(--text-main);
    font-weight: 700;
    margin: 12px 0 8px;
}

.stat-desc {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Products Section */
.products-section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 15px;
}

/* Steps Section */
.steps-section {
    padding: 80px 0;
    background: #f8fafc;
}

.steps-image-container {
    max-width: 1000px;
    margin: 0 auto;
    background: white;
    padding: 20px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
}

.steps-image-container img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
}

/* Main Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
    transition: 0.3s;
    cursor: pointer;
    border: none;
    text-decoration: none !important;
    font-size: 16px;
}

.btn-primary {
    background: var(--gold) !important;
    color: white !important;
}

.btn-primary:hover {
    background: #e6a700 !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 184, 0, 0.3);
}

.hero .hero-buttons .btn-line,
.btn-line {
    background: #06C755 !important;
    color: white !important;
}

.hero .hero-buttons .btn-line:hover,
.btn-line:hover {
    background: #05b34c !important;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(6, 199, 85, 0.3);
}

.line-icon {
    font-size: 20px;
    display: inline-block;
}

.line-icon-small {
    font-size: 16px;
}

/* Float Button */
.float-line {
    position: fixed;
    bottom: 25px;
    right: 25px;
    z-index: 1000;
}

.float-line a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #06C755 !important;
    color: white !important;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: 0.3s;
    text-decoration: none !important;
}

.float-line a:hover {
    transform: translateY(-5px);
    background: #05b34c !important;
    box-shadow: 0 8px 25px rgba(6, 199, 85, 0.4);
}

/* Mobile Toggle & Menu */
.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-toggle span {
    width: 24px;
    height: 2px;
    background: var(--primary);
    transition: 0.3s;
}

.mobile-menu {
    position: fixed;
    top: 0;
    right: -300px;
    width: 300px;
    height: 100vh;
    background: white;
    z-index: 2000;
    transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
    padding: 30px;
    display: flex;
    flex-direction: column;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.close-menu {
    font-size: 30px;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--text-muted);
}

.mobile-nav {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mobile-nav a {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-main);
}

.mobile-nav hr {
    border: none;
    border-top: 1px solid var(--border);
    margin: 10px 0;
}

.mobile-auth {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1999;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
    backdrop-filter: blur(3px);
}

.menu-backdrop.active {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {

    .nav,
    .phone-link,
    .top-bar,
    .top-social {
        display: none;
    }

    .header .container {
        position: relative;
        justify-content: space-between;
    }

    .logo {
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        z-index: 2;
    }

    .mobile-toggle {
        display: flex;
        z-index: 3;
    }

    .mobile-action-btn {
        display: flex;
        align-items: center;
        justify-content: center;
        color: #1a1a2e;
        /* Dark Black/Navy */
        font-size: 22px;
        transition: 0.3s;
    }

    .header-actions {
        gap: 15px;
    }

    .hero {
        padding: 80px 0;
        text-align: center;
        background-attachment: scroll;
        /* Fixed doesn't work well on mobile */
        background-position: 70% center;
        /* Adjust to show more of the laptop if needed */
    }

    .hero-content h1 {
        font-size: 32px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-buttons {
        justify-content: center;
        flex-direction: column;
        align-items: stretch;
        max-width: 300px;
        margin: 0 auto;
    }

    .hero-buttons .btn {
        width: 100%;
    }

    .stats {
        padding: 30px 0;
    }

    .products-section {
        padding: 10px 0;
    }

    .section-header {
        margin-bottom: 12px;
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
    }

    .stat-item {
        padding: 25px 10px;
        border-radius: 12px;
    }

    .stat-icon {
        width: 48px;
        height: 48px;
        font-size: 20px;
        margin-bottom: 10px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-number span {
        font-size: 14px;
    }

    .stat-label {
        font-size: 13px;
        margin: 8px 0 0;
    }

    .stat-desc {
        display: none;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .page-banner {
        padding: 40px 0;
    }

    .page-banner h1 {
        font-size: 26px;
    }

    .products-grid {
        grid-template-columns: 1fr;
    }

    .products-section {
        padding: 20px 0;
    }

    .section-header {
        margin-bottom: 15px;
    }

    .section-header h2 {
        font-size: 24px;
        margin: 0 0 5px 0;
        /* Reset all margins, only bottom 5px */
    }

    .section-header p {
        font-size: 14px;
        margin: 0;
    }

    .tab-nav {
        margin-bottom: 20px;
        gap: 8px;
    }

    .tab-btn {
        padding: 8px 16px;
        font-size: 13px;
    }

    .steps-section {
        padding: 40px 0;
    }

    .steps-image-container {
        padding: 10px;
    }
}