/* Global design variables (Consistent with laozhou.hk) */
:root {
    --bg-main: #ffffff;
    --bg-section-alt: #f8f9fa;
    --bg-card: #ffffff;
    --bg-card-hover: #ffffff;
    --accent: #ff630e;
    --accent-hover: #ff7c2b;
    --accent-glow: rgba(255, 99, 14, 0.15);
    --text-primary: #130f40; /* Dark Navy headings */
    --text-secondary: #696969; /* Grey body text */
    --text-muted: #8e8e93;
    --border-color: rgba(19, 15, 64, 0.08);
    --border-hover: rgba(255, 99, 14, 0.4);
    --gradient-hero: linear-gradient(135deg, rgba(19, 15, 64, 0.95) 0%, rgba(14, 10, 56, 0.95) 100%);
    --gradient-accent: linear-gradient(135deg, #ff630e 0%, #ff8f43 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 24px rgba(19, 15, 64, 0.06);
    --shadow-lg: 0 16px 40px rgba(19, 15, 64, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-sans: 'Inter', 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-main);
    color: var(--text-secondary);
    font-family: var(--font-sans);
    line-height: 1.6;
    overflow-x: hidden;
}

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

ul {
    list-style: none;
}

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

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: 0.5em;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; position: relative; padding-bottom: 0.5em; }
h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background: var(--gradient-accent);
    border-radius: 2px;
}
h2.text-center::after {
    left: 50%;
    transform: translateX(-50%);
}
h3 { font-size: 1.4rem; }
p { color: var(--text-secondary); margin-bottom: 1em; }

/* Main Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

/* Header & Navbar */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition);
}

.site-header.scrolled {
    box-shadow: var(--shadow-md);
    background-color: #ffffff;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

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

.logo-text {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-primary);
}

.nav-menu {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-secondary);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.active {
    color: var(--accent);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: var(--transition);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Dropdown menu */
.nav-item-dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(15px);
    width: 260px;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow-lg);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.nav-item-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.dropdown-item {
    font-size: 0.9rem;
    padding: 8px 12px;
    border-radius: 8px;
    color: var(--text-secondary);
    display: block;
    font-weight: 500;
}

.dropdown-item:hover {
    background-color: rgba(255, 99, 14, 0.05);
    color: var(--accent);
    padding-left: 16px;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero-section {
    padding: 180px 0 100px 0;
    background: var(--gradient-hero);
    position: relative;
    overflow: hidden;
    color: #ffffff;
}

.hero-section h1, .hero-section p {
    color: #ffffff;
}

.hero-section h2::after {
    background: #ffffff;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.hero-tagline {
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--accent);
    font-weight: 700;
    margin-bottom: 12px;
    display: block;
}

.hero-title {
    font-size: 3.5rem;
    letter-spacing: -1px;
    margin-bottom: 24px;
}

.hero-desc {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
}

/* Section Common styling */
.section {
    padding: 80px 0;
}

.section-title-wrap {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 56px auto;
}

.section-subtitle {
    font-size: 0.95rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 8px;
    display: block;
}

.section-desc {
    color: var(--text-secondary);
}

/* Cards & Grid Layouts */
.grid-4 {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

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

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

.feature-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--accent);
    margin-bottom: 20px;
}

/* Catalog Card styling */
.catalog-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.catalog-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.catalog-img-wrap {
    height: 200px;
    overflow: hidden;
    position: relative;
    border-bottom: 1px solid var(--border-color);
}

.catalog-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.catalog-card:hover .catalog-img {
    transform: scale(1.08);
}

.catalog-body {
    padding: 24px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.catalog-tag {
    align-self: flex-start;
    background-color: rgba(255, 99, 14, 0.08);
    color: var(--accent);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    margin-bottom: 12px;
}

.catalog-title {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.catalog-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
    flex-grow: 1;
}

.catalog-meta {
    border-top: 1px solid var(--border-color);
    padding-top: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.catalog-price {
    font-weight: 700;
    color: var(--accent);
}

.catalog-qty {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Category Detail Pages CSS */
.category-hero {
    padding: 160px 0 60px 0;
    background: var(--bg-section-alt);
    border-bottom: 1px solid var(--border-color);
}

.bread-crumbs {
    display: flex;
    gap: 8px;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.bread-crumbs a:hover {
    color: var(--accent);
}

.bread-divider {
    color: var(--text-muted);
}

.category-title {
    font-size: 3rem;
    margin-bottom: 16px;
}

.category-details-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 48px;
    padding: 60px 0;
}

@media (max-width: 991px) {
    .category-details-grid {
        grid-template-columns: 1fr;
    }
}

.category-content-wrap {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.rich-text {
    font-size: 1.05rem;
    line-height: 1.75;
    color: var(--text-secondary);
}

.rich-text p {
    margin-bottom: 1.5em;
}

.rich-text h3 {
    margin-top: 1.5em;
    margin-bottom: 0.75em;
    color: var(--text-primary);
}

/* Pricing Interactive Widgets */
.pricing-widget-wrap {
    position: sticky;
    top: 100px;
}

.pricing-widget {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-md);
    border-radius: 24px;
    padding: 32px;
}

.pricing-widget:hover {
    border-color: var(--accent);
    box-shadow: var(--shadow-lg);
}

.widget-title {
    font-size: 1.4rem;
    text-align: center;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-color);
}

.plan-select-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    margin-bottom: 24px;
}

.plan-option {
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 16px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--bg-section-alt);
}

.plan-option:hover {
    border-color: var(--accent);
    background-color: rgba(255, 99, 14, 0.02);
}

.plan-option.selected {
    border-color: var(--accent);
    background-color: rgba(255, 99, 14, 0.08);
    box-shadow: 0 4px 12px rgba(255, 99, 14, 0.08);
}

.plan-qty {
    font-weight: 700;
    color: var(--text-primary);
}

.plan-price {
    color: var(--accent);
    font-weight: 700;
    font-size: 1.15rem;
}

.widget-specs {
    margin-bottom: 30px;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 0.95rem;
}

.spec-label {
    color: var(--text-secondary);
}

.spec-value {
    font-weight: 600;
    color: var(--text-primary);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 28px;
    border-radius: 8px;
    font-weight: 700;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    outline: none;
}

.btn-primary {
    background: var(--gradient-accent);
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(255, 99, 14, 0.35);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 99, 14, 0.5);
    color: #ffffff;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--border-color);
    color: var(--text-primary);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background-color: rgba(255, 99, 14, 0.02);
    color: var(--accent);
}

.btn-buy {
    background-color: #27ae60;
    color: #ffffff;
    box-shadow: 0 4px 14px rgba(39, 174, 96, 0.35);
}

.btn-buy:hover {
    background-color: #219653;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(39, 174, 96, 0.5);
    color: #ffffff;
}

/* FAQs Accordion styling */
.faq-accordion {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 16px;
}

.faq-item {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.faq-item:hover {
    border-color: var(--accent);
}

.faq-header {
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-weight: 700;
    color: var(--text-primary);
}

.faq-icon {
    font-size: 1.1rem;
    transition: var(--transition);
    color: var(--accent);
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-content {
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
    color: var(--text-secondary);
}

.faq-item.active .faq-content {
    padding: 0 24px 24px 24px;
    max-height: 500px;
}

/* Contact Us Section styling */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 48px;
}

@media (max-width: 768px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }
}

.contact-info-wrap {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact-info-card {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 24px;
    display: flex;
    gap: 16px;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.info-icon {
    font-size: 1.8rem;
    color: var(--accent);
    background-color: rgba(255, 99, 14, 0.06);
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.info-title {
    font-size: 0.85rem;
    color: var(--text-muted);
    text-transform: uppercase;
}

.info-text {
    font-weight: 700;
    color: var(--text-primary);
}

.contact-form-wrap {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 20px;
    padding: 40px;
    box-shadow: var(--shadow-sm);
}

.form-group {
    margin-bottom: 20px;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
}

.form-control {
    width: 100%;
    background-color: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 12px 16px;
    color: var(--text-primary);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-control:focus {
    border-color: var(--accent);
    outline: none;
    box-shadow: 0 0 0 3px rgba(255, 99, 14, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer styling (Consistent with laozhou.hk #0e0a38) */
.site-footer {
    background-color: #0e0a38;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 80px 0 40px 0;
    color: rgba(255, 255, 255, 0.7);
}

.site-footer h4, .site-footer .logo-text {
    color: #ffffff;
}

.site-footer p {
    color: rgba(255, 255, 255, 0.7);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1.5fr;
    gap: 48px;
    margin-bottom: 60px;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
}

.footer-brand h3 {
    margin-bottom: 16px;
}

.footer-links-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
}

.footer-link {
    color: rgba(255, 255, 255, 0.7);
}

.footer-link:hover {
    color: #ffffff;
    padding-left: 4px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.85rem;
}

@media (max-width: 600px) {
    .footer-bottom {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}

/* Mobile responsive navigation overrides */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        right: 0;
        bottom: 0;
        width: 100%;
        height: calc(100vh - 80px);
        background-color: #ffffff;
        flex-direction: column;
        align-items: center;
        padding: 40px 24px;
        transition: var(--transition);
        z-index: 999;
        box-shadow: var(--shadow-md);
    }
    .nav-menu.active {
        left: 0;
    }
    .dropdown-menu {
        position: static;
        transform: none;
        opacity: 1;
        visibility: visible;
        box-shadow: none;
        background-color: rgba(0, 0, 0, 0.02);
        width: 100%;
        margin-top: 10px;
        display: none;
    }
    .nav-item-dropdown.active .dropdown-menu {
        display: grid;
    }
}
