/* ============================================
   静昀科技 - 日式侘寂风格
   色系：米白#F5F0EB + 炭灰#3C3C3C + 金色#C4A35A
   ============================================ */

:root {
    --bg-warm: #F5F0EB;
    --bg-soft: #FAFAF5;
    --bg-card: #FFFFFF;
    --text-primary: #3C3C3C;
    --text-deep: #2D2D2D;
    --text-secondary: #6B6B6B;
    --text-muted: #999999;
    --accent-gold: #C4A35A;
    --accent-gold-light: #D4B86A;
    --accent-green: #4A6741;
    --border-light: rgba(60,60,60,0.1);
    --border-lighter: rgba(60,60,60,0.06);
    --shadow-soft: 0 2px 20px rgba(60,60,60,0.06);
    --shadow-card: 0 1px 12px rgba(60,60,60,0.04);
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --font-serif: 'Noto Serif SC', 'Songti SC', 'SimSun', serif;
    --font-sans: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    --max-width: 1200px;
    --header-height: 72px;
    --transition: 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-serif);
    background: var(--bg-warm);
    color: var(--text-primary);
    line-height: 1.8;
    font-size: 16px;
    min-height: 100vh;
}

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

a:hover {
    color: var(--accent-gold);
}

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

/* ---- Header ---- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(245,240,235,0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all var(--transition);
}

.site-header.scrolled {
    box-shadow: 0 1px 0 var(--border-light);
}

.header-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 40px;
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.header-line {
    height: 1px;
    background: var(--border-light);
}

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

.logo-icon {
    width: 36px;
    height: 36px;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: var(--text-deep);
    letter-spacing: 2px;
}

.main-nav {
    display: flex;
    gap: 36px;
}

.nav-link {
    font-size: 15px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    position: relative;
    padding: 4px 0;
}

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

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

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

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.menu-bar {
    display: block;
    width: 22px;
    height: 1.5px;
    background: var(--text-primary);
    transition: all var(--transition);
}

.menu-toggle.active .menu-bar:nth-child(1) {
    transform: rotate(45deg) translate(4.5px, 4.5px);
}

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

.menu-toggle.active .menu-bar:nth-child(3) {
    transform: rotate(-45deg) translate(4.5px, -4.5px);
}

/* Mobile nav overlay */
.mobile-nav-overlay {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(245,240,235,0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: none;
    opacity: 0;
    transition: opacity var(--transition);
}

.mobile-nav-overlay.active {
    display: flex;
    opacity: 1;
}

.mobile-nav {
    width: 100%;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.mobile-nav-link {
    font-size: 18px;
    color: var(--text-secondary);
    padding: 20px 0;
    border-bottom: 1px solid var(--border-light);
    letter-spacing: 2px;
}

.mobile-nav-link.active {
    color: var(--text-deep);
}

/* ---- Main ---- */
.site-main {
    padding-top: var(--header-height);
    min-height: calc(100vh - 300px);
}

/* ---- Hero ---- */
.hero {
    padding: 100px 40px 80px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-warm) 100%);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(196,163,90,0.06) 0%, transparent 70%);
    pointer-events: none;
}

.hero-label {
    display: inline-block;
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--accent-gold);
    text-transform: uppercase;
    margin-bottom: 24px;
    position: relative;
}

.hero-title {
    font-size: 48px;
    font-weight: 600;
    color: var(--text-deep);
    line-height: 1.3;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 400;
}

.hero-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ---- Buttons ---- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 32px;
    font-family: var(--font-serif);
    font-size: 14px;
    letter-spacing: 1px;
    border: 1px solid var(--border-light);
    background: transparent;
    color: var(--text-primary);
    cursor: pointer;
    transition: all var(--transition);
    min-width: 140px;
}

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

.btn-primary {
    background: var(--text-deep);
    color: var(--bg-warm);
    border-color: var(--text-deep);
}

.btn-primary:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    color: #fff;
}

.btn-gold {
    background: var(--accent-gold);
    color: #fff;
    border-color: var(--accent-gold);
}

.btn-gold:hover {
    background: var(--accent-gold-light);
    border-color: var(--accent-gold-light);
    color: #fff;
}

.btn-sm {
    padding: 8px 20px;
    font-size: 13px;
    min-width: auto;
}

.btn-lg {
    padding: 16px 40px;
    font-size: 15px;
}

/* ---- Sections ---- */
.section {
    padding: 80px 40px;
}

.section-alt {
    background: var(--bg-soft);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-label {
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--accent-gold);
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-deep);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-desc {
    font-size: 16px;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

.section-line {
    width: 40px;
    height: 1px;
    background: var(--accent-gold);
    margin: 20px auto 0;
}

/* ---- Container ---- */
.container {
    max-width: var(--max-width);
    margin: 0 auto;
}

/* ---- Product Grid ---- */
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.product-card {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255,255,255,0.9);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(60,60,60,0.08);
    transition: all 0.3s ease;
}
.product-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(196,163,90,0.15);
}

.card-image {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}
.card-image-icon { width: 80px; height: 80px; }
.card-image-icon svg { width: 100%; height: 100%; }
.card-sales {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 20px;
    backdrop-filter: blur(8px);
}

.card-body {
    padding: 20px;
}
.card-body h3 {
    font-size: 17px;
    font-weight: 600;
    color: #3C3C3C;
    margin-bottom: 8px;
}
.card-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.card-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 16px;
}
.card-rating .stars { color: #C4A35A; font-size: 14px; }
.card-rating .rating-count { font-size: 12px; color: #999; }

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid rgba(60,60,60,0.06);
}
.card-price {
    font-size: 24px;
    font-weight: 700;
    color: #C4A35A;
}
.card-price small { font-size: 14px; }
.card-btn {
    padding: 8px 20px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    background: #3C3C3C;
    color: #F5F0EB;
    transition: all 0.3s;
}
.product-card:hover .card-btn {
    background: #C4A35A;
    color: #fff;
}

/* ---- Legacy Product Card Classes (backward compat) ---- */
.product-card-image {
    width: 100%;
    height: 160px;
    border: 1px solid var(--border-lighter);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.product-card-image svg {
    width: 64px;
    height: 64px;
    opacity: 0.8;
}

.product-card-name {
    font-size: 16px;
    font-weight: 500;
    color: var(--text-deep);
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.product-card-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 16px;
    flex-grow: 1;
}

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

.product-card-price {
    font-size: 20px;
    font-weight: 600;
    color: var(--accent-gold);
}

.product-card-price small {
    font-size: 12px;
    font-weight: 400;
    color: var(--text-muted);
}

.product-card-link {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 1px;
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 2px;
}

.product-card-link:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

.product-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}

.product-card-sales {
    font-size: 12px;
    color: var(--text-muted);
}

/* ---- Category Tabs ---- */
.category-tabs {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 8px 24px;
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--text-secondary);
    background: transparent;
    border: 1px solid var(--border-light);
    cursor: pointer;
    transition: all var(--transition);
    letter-spacing: 1px;
}

.category-tab:hover,
.category-tab.active {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
}

/* ---- Stars ---- */
.stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.star {
    font-size: 14px;
    line-height: 1;
}

.star.full {
    color: var(--accent-gold);
}

.star.half {
    color: var(--accent-gold);
    opacity: 0.6;
}

.star.empty {
    color: var(--border-light);
}

.rating-num {
    font-size: 13px;
    color: var(--text-secondary);
    margin-left: 6px;
}

/* ---- Features Grid ---- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 40px 28px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    transition: all var(--transition);
}

.feature-card:hover {
    border-color: rgba(196,163,90,0.2);
    box-shadow: var(--shadow-card);
}

.feature-icon {
    width: 48px;
    height: 48px;
    margin: 0 auto 20px;
}

.feature-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-deep);
    margin-bottom: 10px;
    letter-spacing: 1px;
}

.feature-desc {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---- Product Detail ---- */
.product-detail {
    padding: 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.product-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.product-image-box {
    width: 100%;
    aspect-ratio: 1;
    max-height: 480px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-image-box svg {
    width: 120px;
    height: 120px;
    opacity: 0.7;
}

.product-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.product-breadcrumb {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.product-breadcrumb a {
    color: var(--text-muted);
}

.product-breadcrumb a:hover {
    color: var(--accent-gold);
}

.product-name {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-deep);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.product-price-box {
    display: flex;
    align-items: baseline;
    gap: 12px;
    margin-bottom: 20px;
    padding: 16px 0;
    border-bottom: 1px solid var(--border-lighter);
}

.product-price-main {
    font-size: 32px;
    font-weight: 600;
    color: var(--accent-gold);
}

.product-price-unit {
    font-size: 14px;
    color: var(--text-muted);
}

.product-stats {
    display: flex;
    gap: 24px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--text-secondary);
}

.product-desc-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 24px;
}

.product-features {
    margin-bottom: 30px;
}

.product-features h3 {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-deep);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.product-feature-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.product-feature-list li {
    padding: 6px 16px;
    font-size: 13px;
    color: var(--text-secondary);
    border: 1px solid var(--border-light);
    letter-spacing: 0.5px;
}

.product-actions {
    display: flex;
    gap: 12px;
}

.product-quantity {
    display: flex;
    align-items: center;
    border: 1px solid var(--border-light);
}

.qty-btn {
    width: 36px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: none;
    font-size: 18px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: color var(--transition);
}

.qty-btn:hover {
    color: var(--accent-gold);
}

.qty-input {
    width: 48px;
    height: 40px;
    text-align: center;
    border: none;
    border-left: 1px solid var(--border-light);
    border-right: 1px solid var(--border-light);
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--text-primary);
    background: transparent;
    outline: none;
}

/* ---- Product Detail Sections ---- */
.product-detail-section {
    margin-bottom: 60px;
}

.product-detail-title {
    font-size: 20px;
    font-weight: 500;
    color: var(--text-deep);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-light);
    letter-spacing: 1px;
}

.product-detail-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
}

/* ---- Reviews ---- */
.review-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.review-item {
    padding: 24px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
}

.review-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.review-avatar {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 500;
    color: #fff;
}

.review-user {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-deep);
}

.review-time {
    font-size: 12px;
    color: var(--text-muted);
    margin-left: auto;
}

.review-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---- Order Page ---- */
.order-page {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.order-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-deep);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.order-product-summary {
    display: flex;
    gap: 24px;
    padding: 24px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    margin-bottom: 32px;
}

.order-product-image {
    width: 120px;
    height: 120px;
    border: 1px solid var(--border-lighter);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.order-product-image svg {
    width: 48px;
    height: 48px;
}

.order-product-info {
    flex: 1;
}

.order-product-name {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-deep);
    margin-bottom: 8px;
}

.order-product-price {
    font-size: 22px;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 8px;
}

.order-product-qty {
    font-size: 14px;
    color: var(--text-secondary);
}

.order-form {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 32px;
    margin-bottom: 32px;
}

.form-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-deep);
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-lighter);
    letter-spacing: 1px;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-label {
    font-size: 13px;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

.form-label .required {
    color: var(--accent-gold);
}

.form-input,
.form-select,
.form-textarea {
    padding: 10px 14px;
    font-family: var(--font-serif);
    font-size: 14px;
    color: var(--text-primary);
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    outline: none;
    transition: border-color var(--transition);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--accent-gold);
}

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

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpolyline points='2,4 6,8 10,4' stroke='%233C3C3C' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* ---- Order Summary ---- */
.order-summary {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    padding: 32px;
    margin-bottom: 32px;
}

.order-summary-row {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    font-size: 14px;
    color: var(--text-secondary);
}

.order-summary-row.total {
    border-top: 1px solid var(--border-light);
    margin-top: 12px;
    padding-top: 16px;
    font-size: 18px;
    font-weight: 600;
    color: var(--text-deep);
}

.order-summary-row.total .order-amount {
    color: var(--accent-gold);
    font-size: 24px;
}

.order-submit {
    text-align: center;
}

/* ---- Pay Page ---- */
.pay-page {
    padding: 60px 40px;
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pay-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
}

.pay-title {
    font-size: 24px;
    font-weight: 600;
    color: var(--text-deep);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.pay-order-no {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.pay-amount {
    font-size: 40px;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 40px;
}

.pay-amount small {
    font-size: 16px;
    font-weight: 400;
    color: var(--text-muted);
}

.pay-methods {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 32px;
}

.pay-method {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
    cursor: pointer;
    transition: all var(--transition);
}

.pay-method:hover,
.pay-method.active {
    border-color: var(--accent-gold);
}

.pay-method-radio {
    width: 18px;
    height: 18px;
    border: 1.5px solid var(--border-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.pay-method.active .pay-method-radio {
    border-color: var(--accent-gold);
}

.pay-method.active .pay-method-radio::after {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.pay-method-name {
    font-size: 15px;
    color: var(--text-primary);
}

.pay-qrcode {
    width: 200px;
    height: 200px;
    margin: 0 auto 24px;
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
}

.pay-qrcode-placeholder {
    font-size: 13px;
    color: var(--text-muted);
}

.pay-info {
    margin-top: 32px;
    padding: 20px;
    border: 1px solid var(--border-lighter);
    background: var(--bg-soft);
    text-align: left;
}

.pay-info p {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 6px;
}

.pay-info strong {
    color: var(--text-primary);
}

/* ---- About Page ---- */
.about-hero {
    padding: 80px 40px 60px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-warm) 100%);
}

.about-content {
    padding: 60px 40px;
    max-width: 900px;
    margin: 0 auto;
}

.about-section {
    margin-bottom: 60px;
}

.about-section-title {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-deep);
    margin-bottom: 20px;
    padding-left: 16px;
    border-left: 2px solid var(--accent-gold);
    letter-spacing: 1px;
}

.about-text {
    font-size: 15px;
    color: var(--text-secondary);
    line-height: 2;
}

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

.about-value-card {
    padding: 32px 24px;
    border: 1px solid var(--border-light);
    text-align: center;
    background: var(--bg-card);
}

.about-value-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-deep);
    margin-bottom: 8px;
}

.about-value-desc {
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.7;
}

.timeline {
    position: relative;
    padding-left: 32px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--border-light);
}

.timeline-item {
    position: relative;
    padding-bottom: 32px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -36px;
    top: 6px;
    width: 8px;
    height: 8px;
    background: var(--accent-gold);
    border-radius: 50%;
}

.timeline-year {
    font-size: 14px;
    color: var(--accent-gold);
    font-weight: 500;
    margin-bottom: 4px;
}

.timeline-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ---- Contact Page ---- */
.contact-page {
    padding: 60px 40px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-card {
    padding: 24px;
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
    background: var(--bg-card);
}

.contact-info-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 1px;
    margin-bottom: 6px;
}

.contact-info-value {
    font-size: 16px;
    color: var(--text-deep);
}

.contact-form .form-grid {
    gap: 16px;
}

/* ---- Privacy Page ---- */
.privacy-page {
    padding: 60px 40px;
    max-width: 800px;
    margin: 0 auto;
}

.privacy-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-deep);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.privacy-section {
    margin-bottom: 32px;
}

.privacy-section h3 {
    font-size: 18px;
    font-weight: 500;
    color: var(--text-deep);
    margin-bottom: 12px;
}

.privacy-section p {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 2;
}

/* ---- Testimonials ---- */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.testimonial-card {
    padding: 32px 24px;
    border: 1px solid var(--border-light);
    background: var(--bg-card);
}

.testimonial-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
}

.testimonial-text::before {
    content: '"';
    font-size: 28px;
    color: var(--accent-gold);
    opacity: 0.6;
    line-height: 1;
    display: block;
    margin-bottom: 8px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
}

.testimonial-avatar {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 500;
    color: #fff;
}

.testimonial-name {
    font-size: 14px;
    color: var(--text-deep);
    font-weight: 500;
}

.testimonial-role {
    font-size: 12px;
    color: var(--text-muted);
}

/* ---- Stats ---- */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    max-width: var(--max-width);
    margin: 0 auto;
    text-align: center;
}

.stat-item {
    padding: 32px 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: 600;
    color: var(--accent-gold);
    margin-bottom: 8px;
    line-height: 1;
}

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

/* ---- AI Chat Widget ---- */
.ai-chat-widget {
    position: fixed;
    bottom: 24px;
    right: 24px;
    z-index: 1001;
}

.ai-chat-bubble {
    width: 52px;
    height: 52px;
    background: var(--text-deep);
    color: var(--bg-warm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(60,60,60,0.15);
    transition: all var(--transition);
}

.ai-chat-bubble:hover {
    background: var(--accent-gold);
    transform: scale(1.05);
}

.ai-chat-bubble svg {
    width: 24px;
    height: 24px;
}

.ai-chat-panel {
    display: none;
    position: absolute;
    bottom: 64px;
    right: 0;
    width: 360px;
    max-height: 500px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    box-shadow: 0 8px 40px rgba(60,60,60,0.12);
    flex-direction: column;
}

.ai-chat-panel.active {
    display: flex;
}

.ai-chat-header {
    padding: 16px 20px;
    border-bottom: 1px solid var(--border-lighter);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-deep);
}

.ai-chat-close {
    background: none;
    border: none;
    font-size: 20px;
    color: var(--text-muted);
    cursor: pointer;
    line-height: 1;
}

.ai-chat-body {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    max-height: 340px;
}

.ai-msg {
    margin-bottom: 12px;
    max-width: 85%;
}

.ai-msg.bot {
    margin-right: auto;
}

.ai-msg.user {
    margin-left: auto;
}

.ai-msg p {
    padding: 10px 14px;
    font-size: 13px;
    line-height: 1.6;
}

.ai-msg.bot p {
    background: var(--bg-soft);
    color: var(--text-secondary);
}

.ai-msg.user p {
    background: var(--text-deep);
    color: var(--bg-warm);
}

.ai-chat-input {
    padding: 12px 16px;
    border-top: 1px solid var(--border-lighter);
    display: flex;
    gap: 8px;
}

.ai-chat-input input {
    flex: 1;
    padding: 8px 12px;
    font-family: var(--font-serif);
    font-size: 13px;
    border: 1px solid var(--border-light);
    background: var(--bg-soft);
    outline: none;
    color: var(--text-primary);
}

.ai-chat-input input:focus {
    border-color: var(--accent-gold);
}

.ai-chat-input button {
    padding: 8px 16px;
    font-family: var(--font-serif);
    font-size: 13px;
    background: var(--text-deep);
    color: var(--bg-warm);
    border: none;
    cursor: pointer;
    transition: background var(--transition);
}

.ai-chat-input button:hover {
    background: var(--accent-gold);
}

/* ---- Back to Top ---- */
.back-to-top {
    position: fixed;
    bottom: 90px;
    right: 28px;
    width: 40px;
    height: 40px;
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition);
    z-index: 1001;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    border-color: var(--accent-gold);
    color: var(--accent-gold);
}

.back-to-top svg {
    width: 18px;
    height: 18px;
}

/* ---- Page Hero (reusable) ---- */
.page-hero {
    padding: 60px 40px 40px;
    text-align: center;
    background: linear-gradient(180deg, var(--bg-soft) 0%, var(--bg-warm) 100%);
}

.page-hero-title {
    font-size: 32px;
    font-weight: 600;
    color: var(--text-deep);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.page-hero-desc {
    font-size: 16px;
    color: var(--text-secondary);
}

/* ---- Fade In Animation ---- */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.fade-in-delay-1 { transition-delay: 0.1s; }
.fade-in-delay-2 { transition-delay: 0.2s; }
.fade-in-delay-3 { transition-delay: 0.3s; }
.fade-in-delay-4 { transition-delay: 0.4s; }

/* ---- CTA Section ---- */
.cta-section {
    padding: 80px 40px;
    text-align: center;
    background: var(--bg-soft);
    border-top: 1px solid var(--border-lighter);
    border-bottom: 1px solid var(--border-lighter);
}

.cta-title {
    font-size: 28px;
    font-weight: 600;
    color: var(--text-deep);
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.cta-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

/* ---- Responsive ---- */
@media (max-width: 1200px) {
    .container { max-width: 960px; }
    .product-grid { grid-template-columns: repeat(3, 1fr); }
    .hero-title { font-size: 2.2rem; }
}

@media (max-width: 1024px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-values {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    :root {
        --header-height: 60px;
    }

    .header-inner {
        padding: 0 20px;
    }

    .main-nav {
        display: none;
    }

    .menu-toggle {
        display: flex;
    }

    .hero {
        padding: 60px 20px 50px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-subtitle {
        font-size: 15px;
    }

    .section {
        padding: 50px 20px;
    }

    .section-title {
        font-size: 24px;
    }

    .product-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .product-detail-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .product-detail {
        padding: 20px;
    }

    .product-name {
        font-size: 22px;
    }

    .product-price-main {
        font-size: 26px;
    }

    .product-actions {
        flex-direction: column;
    }

    .product-actions .btn {
        width: 100%;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .testimonials-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-values {
        grid-template-columns: 1fr;
    }

    .order-page {
        padding: 20px;
    }

    .order-product-summary {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .form-grid {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pay-page {
        padding: 40px 20px;
    }

    .pay-amount {
        font-size: 32px;
    }

    .ai-chat-panel {
        width: calc(100vw - 32px);
        right: -8px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .category-tabs {
        gap: 6px;
    }

    .category-tab {
        padding: 6px 16px;
        font-size: 13px;
    }

    .page-hero {
        padding: 40px 20px 30px;
    }

    .page-hero-title {
        font-size: 24px;
    }

    .privacy-page {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 26px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .hero-actions .btn {
        width: 100%;
        max-width: 280px;
    }

    .stat-number {
        font-size: 28px;
    }
}

/* ---- Footer ---- */
.site-footer {
    background: var(--bg-soft);
    border-top: 1px solid var(--border-light);
}

.footer-inner {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 40px 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo-icon {
    width: 32px;
    height: 32px;
}

.footer-logo-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-deep);
    letter-spacing: 2px;
}

.footer-desc {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.7;
}

.footer-contact-item {
    font-size: 13px;
    color: var(--text-muted);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-title {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-deep);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.footer-links a {
    font-size: 13px;
    color: var(--text-secondary);
}

.footer-links a:hover {
    color: var(--accent-gold);
}

.footer-line {
    height: 1px;
    background: var(--border-light);
    margin-bottom: 20px;
}

.footer-bottom-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom-inner p {
    font-size: 12px;
    color: var(--text-muted);
}

.footer-bottom-inner a {
    color: var(--text-muted);
}

.footer-bottom-inner a:hover {
    color: var(--accent-gold);
}
