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

:root {
    --primary-green: #5a6d4c;
    --dark-gray: #2a2a2a;
    --medium-gray: #4a4a4a;
    --light-gray: #f5f5f5;
    --white: #ffffff;
    --border-color: #e0e0e0;
    --success-color: #5a6d4c;
    --danger-color: #d32f2f;
    --warning-color: #f57c00;
    
    /* Admin Modern Tech Theme */
    --admin-bg-dark: #1e2522;
    --admin-bg-darker: #151817;
    --admin-sidebar-bg: rgba(30, 37, 34, 0.95);
    --admin-card-bg: rgba(255, 255, 255, 0.05);
    --admin-card-border: rgba(255, 255, 255, 0.1);
    --admin-text-primary: #e8eae9;
    --admin-text-secondary: #a8aca9;
    --admin-accent-green: #6b8e5f;
    --admin-accent-gold: #d4a857;
    --admin-gunmetal: #3a4542;
    --admin-glass-bg: rgba(255, 255, 255, 0.08);
    --admin-glass-border: rgba(255, 255, 255, 0.15);
    
    /* Spacing & Sizing */
    --admin-icon-size: 20px;
    --admin-spacing-xs: 8px;
    --admin-spacing-sm: 12px;
    --admin-spacing-md: 20px;
    --admin-spacing-lg: 32px;
    
    /* Motion */
    --admin-transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
    --admin-transition-smooth: 250ms cubic-bezier(0.4, 0, 0.2, 1);
    --admin-transition-spring: 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Microsoft JhengHei', 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--dark-gray);
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    min-height: 100vh;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(90, 109, 76, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(42, 42, 42, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0;
    position: relative;
    z-index: 1;
}

.main-header {
    background: var(--white);
    padding: 60px 40px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
}

.main-header h1 {
    color: var(--dark-gray);
    font-size: 2.8em;
    margin-bottom: 10px;
    font-weight: 700;
    letter-spacing: 2px;
}

.main-header p {
    color: var(--medium-gray);
    font-size: 1.1em;
    font-weight: 300;
}

.welcome-section {
    text-align: center;
    margin: 80px 40px 60px;
    color: var(--dark-gray);
}

.welcome-section h2 {
    font-size: 2.8em;
    margin-bottom: 15px;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-green) 0%, var(--dark-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 1px;
    animation: fadeInUp 0.8s ease-out;
}

.welcome-section p {
    color: var(--medium-gray);
    font-size: 1.2em;
    animation: fadeInUp 1s ease-out;
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin: 40px;
    padding: 0 20px;
}

.service-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 60px 40px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.1),
        0 1px 8px rgba(0, 0, 0, 0.05);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-green), var(--dark-gray));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(90, 109, 76, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(90, 109, 76, 0.2),
        0 10px 20px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(90, 109, 76, 0.1);
    border-color: rgba(90, 109, 76, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover::after {
    opacity: 1;
}

.service-card .icon {
    font-size: 4em;
    margin-bottom: 25px;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.service-card:hover .icon {
    transform: scale(1.1) rotateY(10deg);
    filter: drop-shadow(0 8px 16px rgba(90, 109, 76, 0.3));
}

.service-card h3 {
    color: var(--dark-gray);
    margin-bottom: 15px;
    font-size: 1.8em;
    font-weight: 700;
    position: relative;
    z-index: 1;
    transition: color 0.3s ease;
}

.service-card:hover h3 {
    color: var(--primary-green);
}

.service-card p {
    color: var(--medium-gray);
    font-size: 1.05em;
    line-height: 1.8;
    position: relative;
    z-index: 1;
}

.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px;
    position: relative;
    z-index: 1;
}

.login-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 60px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 24px;
    width: 100%;
    max-width: 480px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.15),
        0 10px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 1px rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.6s ease-out;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, transparent, var(--primary-green), transparent) 1;
    padding-bottom: 25px;
}

.login-header h1 {
    color: var(--dark-gray);
    font-size: 2em;
    margin-bottom: 10px;
    font-weight: 700;
}

.login-header h2 {
    color: var(--medium-gray);
    font-size: 1.1em;
    font-weight: 400;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--dark-gray);
    font-size: 0.95em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 16px 18px;
    border: 2px solid rgba(90, 109, 76, 0.2);
    border-radius: 12px;
    font-size: 1em;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-green);
    background: rgba(255, 255, 255, 1);
    box-shadow: 
        0 4px 12px rgba(90, 109, 76, 0.15),
        0 0 0 3px rgba(90, 109, 76, 0.1);
    transform: translateY(-2px);
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 12px;
    font-size: 1em;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    font-weight: 600;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-green) 0%, #4a5d3c 100%);
    color: var(--white);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(90, 109, 76, 0.4);
}

.btn-secondary {
    background: var(--medium-gray);
    color: var(--white);
}

.btn-secondary:hover {
    background: var(--dark-gray);
}

.btn-success {
    background: var(--success-color);
    color: var(--white);
}

.btn-success:hover {
    background: #4a5d3c;
}

.btn-danger {
    background: var(--danger-color);
    color: var(--white);
}

.btn-danger:hover {
    background: #b71c1c;
}

.btn-block {
    width: 100%;
}

.alert {
    padding: 16px 20px;
    border-radius: 0;
    margin-bottom: 25px;
    border-left: 4px solid;
}

.alert-error {
    background: #ffebee;
    color: #c62828;
    border-left-color: #c62828;
}

.alert-success {
    background: #f1f8e9;
    color: #33691e;
    border-left-color: #558b2f;
}

.alert-warning {
    background: #fff3e0;
    color: #e65100;
    border-left-color: #f57c00;
}

.login-footer {
    text-align: center;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
}

.login-footer a {
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
}

.login-footer a:hover {
    text-decoration: underline;
}

.login-info {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--medium-gray);
    font-size: 0.9em;
}

.admin-header {
    background: var(--dark-gray);
    padding: 20px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--white);
}

.admin-header h1 {
    color: var(--white);
    font-size: 1.5em;
    font-weight: 700;
    letter-spacing: 1px;
}

.user-info {
    margin-right: 20px;
    color: var(--white);
}

.user-info small {
    color: #ccc;
    margin-left: 8px;
}

.admin-container {
    display: flex;
    min-height: calc(100vh - 70px);
}

.admin-sidebar {
    width: 260px;
    background: var(--medium-gray);
    color: var(--white);
}

.sidebar-nav {
    padding: 0;
}

.nav-item {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: var(--white);
    text-decoration: none;
    transition: background 0.3s;
    border-left: 3px solid transparent;
}

.nav-item:hover,
.nav-item.active {
    background: var(--dark-gray);
    border-left-color: var(--primary-green);
}

.nav-item span {
    margin-right: 12px;
    font-size: 1.2em;
}

.nav-item .badge {
    margin-left: auto;
    background: var(--danger-color);
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75em;
    font-weight: 700;
}

.admin-main {
    flex: 1;
    padding: 40px;
    background: var(--light-gray);
}

.page-header {
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--primary-green);
}

.page-header h1 {
    font-size: 2.2em;
    color: var(--dark-gray);
    margin-bottom: 8px;
    font-weight: 700;
}

.page-header p {
    color: var(--medium-gray);
    font-size: 1.05em;
}

/* Legacy stats-grid removed - using glassmorphism version below */

.quick-actions h2 {
    margin-bottom: 25px;
    color: var(--dark-gray);
    font-weight: 700;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 20px;
}

.action-btn {
    background: var(--white);
    padding: 35px 25px;
    border: 1px solid var(--border-color);
    text-align: center;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all 0.3s;
}

.action-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
    border-color: var(--primary-green);
}

.action-btn span {
    font-size: 2.5em;
    display: block;
    margin-bottom: 15px;
}

.action-btn p {
    font-weight: 600;
    font-size: 0.95em;
}

.main-footer {
    text-align: center;
    padding: 30px;
    color: var(--medium-gray);
    background: var(--white);
    border-top: 1px solid var(--border-color);
    margin-top: 60px;
}

.table-container {
    background: var(--white);
    padding: 30px;
    border: 1px solid var(--border-color);
    margin-bottom: 30px;
}

.table-container h2 {
    margin-bottom: 25px;
    color: var(--dark-gray);
    font-weight: 700;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--light-gray);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

table th {
    background: var(--light-gray);
    font-weight: 700;
    color: var(--dark-gray);
    text-transform: uppercase;
    font-size: 0.85em;
    letter-spacing: 0.5px;
}

/* 後台管理表格表頭強制覆蓋 */
table.admin-table thead th {
    background: #e8eae9 !important;
    color: #2a2a2a !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    padding: 16px 12px !important;
}

table tr:hover {
    background: #fafafa;
}

table tr:last-child td {
    border-bottom: none;
}

.warranty-result {
    background: var(--white);
    padding: 40px;
    border: 1px solid var(--border-color);
    max-width: 700px;
    margin: 40px auto;
}

.product-image {
    text-align: center;
    margin-bottom: 40px;
    padding: 30px;
    background: var(--light-gray);
}

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

.warranty-info {
    margin: 30px 0;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

.info-row:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 700;
    color: var(--medium-gray);
    font-size: 0.95em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    color: var(--dark-gray);
    font-weight: 600;
}

.warranty-status {
    padding: 25px;
    margin-top: 30px;
    text-align: center;
    font-weight: 700;
    font-size: 1.1em;
    border-left: 4px solid;
}

.warranty-status.active {
    background: #f1f8e9;
    color: #33691e;
    border-left-color: #558b2f;
}

.warranty-status.expired {
    background: #ffebee;
    color: #c62828;
    border-left-color: #c62828;
}

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

/* 導覽列樣式 */
.main-navbar {
    background: var(--primary-green);
    border-bottom: 3px solid var(--dark-gray);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 40px;
}

.navbar-logo img {
    height: 70px;
    width: auto;
}

.navbar-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-link {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95em;
    padding: 8px 16px;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.nav-link:hover {
    background: rgba(255,255,255,0.15);
    transform: translateY(-2px);
}

.nav-link-line {
    background: var(--dark-gray);
    color: #00c300;
    font-weight: 600;
}

.nav-link-line:hover {
    background: rgba(0,0,0,0.3);
    transform: translateY(-2px);
}

/* 漢堡選單按鈕 */
.hamburger-menu {
    display: none;
    flex-direction: column;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    transition: all 0.3s ease;
}

.hamburger-menu span {
    width: 28px;
    height: 3px;
    background: var(--white);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.hamburger-menu.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* 遮罩層 */
.navbar-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.navbar-overlay.active {
    display: block;
    opacity: 1;
}

/* Logo 樣式 */
.main-logo {
    max-width: 350px;
    height: auto;
    margin-bottom: 20px;
}

.login-logo {
    max-width: 280px;
    height: auto;
    margin-bottom: 20px;
}

.admin-logo {
    height: 45px;
    width: auto;
    margin-right: 15px;
}

.system-title {
    font-size: 1.2em;
    font-weight: 600;
    color: var(--dark-gray);
}

.header-left {
    display: flex;
    align-items: center;
}

/* 頁尾樣式 */
.main-footer {
    background: var(--dark-gray);
    color: var(--white);
    padding: 50px 40px 30px;
    margin-top: 80px;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
}

.footer-contact {
    margin-bottom: 30px;
}

.footer-contact h3 {
    color: var(--primary-green);
    font-size: 1.8em;
    margin-bottom: 20px;
    font-weight: 600;
}

.footer-contact h4 {
    color: var(--white);
    font-size: 1.3em;
    margin-bottom: 10px;
    font-weight: 500;
}

.contact-info {
    line-height: 1.8;
}

.address {
    color: #cccccc;
    margin-bottom: 15px;
}

.contact-details {
    margin-top: 15px;
}

.contact-details p {
    margin: 5px 0;
}

.contact-details a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.contact-details a:hover {
    color: var(--primary-green);
}

.footer-copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999999;
    font-size: 0.9em;
}

/* 響應式設計 */
@media (max-width: 768px) {
    .navbar-container {
        padding: 15px 20px;
    }
    
    /* 顯示漢堡選單按鈕 */
    .hamburger-menu {
        display: flex;
    }
    
    /* 隱藏並準備側邊滑出 */
    .navbar-links {
        position: fixed;
        top: 0;
        right: -100%;
        height: 100vh;
        width: 280px;
        background: var(--primary-green);
        flex-direction: column;
        gap: 0;
        padding: 80px 0 20px 0;
        transition: right 0.3s ease;
        z-index: 1001;
        box-shadow: -5px 0 15px rgba(0,0,0,0.3);
    }
    
    /* 選單打開時 */
    .navbar-links.active {
        right: 0;
    }
    
    .nav-link {
        width: 100%;
        text-align: left;
        padding: 18px 30px;
        border-radius: 0;
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }
    
    .nav-link:hover {
        background: rgba(255,255,255,0.15);
        transform: none;
    }
    
    .nav-link-line {
        background: var(--dark-gray);
        border-bottom: none;
    }
    
    .main-logo {
        max-width: 250px;
    }
    
    .login-logo {
        max-width: 200px;
    }
    
    .admin-logo {
        height: 35px;
    }
    
    .main-footer {
        padding: 40px 20px 20px;
    }
}

/* ========================================
   Modern Admin Backend - Tech Design System
   ======================================== */

/* Admin Header - Dark Glass */
.admin-header {
    background: linear-gradient(135deg, var(--admin-bg-darker) 0%, var(--admin-bg-dark) 100%);
    padding: 18px 40px;
    border-bottom: 1px solid rgba(107, 142, 95, 0.2);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
    position: relative;
}

.admin-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--admin-accent-green), transparent);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.admin-logo {
    height: 45px;
    width: auto;
    filter: brightness(1.1);
}

.system-title {
    color: var(--admin-text-primary);
    font-size: 1.1em;
    font-weight: 600;
    letter-spacing: 1px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 25px;
}

.user-info {
    color: var(--admin-text-primary);
    font-size: 0.95em;
    margin-right: 0;
}

.user-info small {
    color: var(--admin-text-secondary);
    margin-left: 8px;
    font-weight: 400;
}

/* Admin Sidebar - Deep Glass Effect */
.admin-sidebar {
    width: 280px;
    min-width: 280px;
    flex-shrink: 0;
    background: var(--admin-sidebar-bg);
    backdrop-filter: blur(10px);
    border-right: 1px solid var(--admin-glass-border);
    box-shadow: 2px 0 30px rgba(0, 0, 0, 0.2);
    position: relative;
}

.admin-sidebar::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 1px;
    height: 100%;
    background: linear-gradient(180deg, transparent, var(--admin-accent-green), transparent);
}

.sidebar-nav {
    padding: 20px 0;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 15px 24px;
    color: var(--admin-text-secondary);
    text-decoration: none;
    transition: all var(--admin-transition-smooth);
    border-left: 3px solid transparent;
    position: relative;
    font-size: 0.95em;
    font-weight: 500;
}

.nav-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 0;
    background: linear-gradient(90deg, var(--admin-accent-green), transparent);
    transition: width var(--admin-transition-smooth);
}

.nav-item:hover {
    background: var(--admin-glass-bg);
    color: var(--admin-text-primary);
    border-left-color: var(--admin-accent-green);
}

.nav-item:hover::before {
    width: 100%;
}

.nav-item.active {
    background: var(--admin-glass-bg);
    color: var(--admin-text-primary);
    border-left-color: var(--admin-accent-green);
    box-shadow: inset 0 0 20px rgba(107, 142, 95, 0.1);
}

.nav-item i {
    width: var(--admin-icon-size);
    height: var(--admin-icon-size);
    stroke-width: 2;
    transition: all var(--admin-transition-smooth);
    flex-shrink: 0;
}

.nav-item:hover i,
.nav-item.active i {
    stroke: var(--admin-accent-green);
    filter: drop-shadow(0 0 8px rgba(107, 142, 95, 0.5));
}

.nav-item .badge {
    margin-left: auto;
    background: linear-gradient(135deg, #d32f2f, #c62828);
    padding: 3px 9px;
    border-radius: 10px;
    font-size: 0.7em;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(211, 47, 47, 0.4);
}

/* Navigation Groups - Collapsible */
.nav-group {
    margin: 8px 0;
}

.nav-group-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 24px;
    color: var(--admin-text-secondary);
    cursor: pointer;
    transition: all var(--admin-transition-smooth);
    border-left: 3px solid transparent;
    position: relative;
    font-size: 0.95em;
    font-weight: 600;
}

.nav-group-header:hover {
    background: var(--admin-glass-bg);
    color: var(--admin-text-primary);
    border-left-color: var(--admin-accent-green);
}

.nav-group-title {
    display: flex;
    align-items: center;
    gap: 14px;
}

.nav-group-title i {
    width: var(--admin-icon-size);
    height: var(--admin-icon-size);
    stroke-width: 2;
    transition: all var(--admin-transition-smooth);
    flex-shrink: 0;
}

.nav-group-header:hover .nav-group-title i {
    stroke: var(--admin-accent-green);
    filter: drop-shadow(0 0 8px rgba(107, 142, 95, 0.5));
}

.nav-group-icon {
    width: 18px;
    height: 18px;
    transition: transform var(--admin-transition-smooth);
    opacity: 0.6;
}

.nav-group.expanded .nav-group-icon {
    transform: rotate(180deg);
}

.nav-group-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.1);
}

.nav-group-content .nav-item {
    padding-left: 52px;
    font-size: 0.9em;
}

/* Admin Main Content Area */
.admin-main {
    flex: 1;
    padding: 40px;
    background: linear-gradient(135deg, #f5f7fa 0%, #e8edf2 100%);
    min-height: calc(100vh - 70px);
    position: relative;
}

.admin-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 10% 20%, rgba(107, 142, 95, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 90% 80%, rgba(58, 69, 66, 0.02) 0%, transparent 50%);
    pointer-events: none;
}

.page-header {
    margin-bottom: 35px;
    padding-bottom: 18px;
    border-bottom: 2px solid transparent;
    background: linear-gradient(90deg, var(--admin-accent-green), transparent) bottom / 100% 2px no-repeat;
    position: relative;
    z-index: 1;
}

.page-header h1 {
    font-size: 2.2em;
    color: var(--dark-gray);
    margin-bottom: 6px;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.page-header p {
    color: var(--medium-gray);
    font-size: 1em;
}

/* Stats Cards - Simple Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 45px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
    cursor: pointer;
}

.stat-card:hover {
    background: rgba(255, 255, 255, 1);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
    border-color: var(--admin-accent-green);
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 0 rgba(211, 47, 47, 0);
    }
    50% {
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08), 0 0 20px rgba(211, 47, 47, 0.3);
    }
}

.stat-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(107, 142, 95, 0.1), rgba(107, 142, 95, 0.05));
    border-radius: 16px;
    position: relative;
    flex-shrink: 0;
    transition: all var(--admin-transition-smooth);
}

.stat-icon::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 18px;
    padding: 2px;
    background: linear-gradient(135deg, var(--admin-accent-green), transparent);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity var(--admin-transition-smooth);
}

.stat-card:hover .stat-icon::before {
    opacity: 1;
}

.stat-icon i {
    width: 32px;
    height: 32px;
    stroke: var(--admin-accent-green);
    stroke-width: 2;
    filter: drop-shadow(0 2px 4px rgba(107, 142, 95, 0.2));
    transition: all var(--admin-transition-smooth);
}

.stat-card:hover .stat-icon i {
    transform: scale(1.1) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(107, 142, 95, 0.4));
}

.stat-info {
    flex: 1;
    position: relative;
    z-index: 1;
}

.stat-info h3 {
    color: var(--medium-gray);
    font-size: 0.8em;
    margin-bottom: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-number {
    font-size: 2.4em;
    font-weight: 700;
    color: var(--dark-gray);
    line-height: 1;
    background: linear-gradient(135deg, var(--dark-gray), var(--admin-accent-green));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Quick Actions */
.quick-actions {
    position: relative;
    z-index: 1;
}

.quick-actions h2 {
    margin-bottom: 25px;
    color: var(--dark-gray);
    font-weight: 700;
    font-size: 1.6em;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 20px;
}

.action-btn {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    padding: 40px 30px;
    border: 1px solid rgba(255, 255, 255, 0.6);
    border-radius: 16px;
    text-align: center;
    text-decoration: none;
    color: var(--dark-gray);
    transition: all var(--admin-transition-spring);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
}

.action-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(107, 142, 95, 0.08) 0%, transparent 70%);
    opacity: 0;
    transition: opacity var(--admin-transition-smooth);
}

.action-btn:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 12px 32px rgba(107, 142, 95, 0.2);
    border-color: rgba(107, 142, 95, 0.3);
}

.action-btn:hover::before {
    opacity: 1;
}

.action-btn i {
    width: 48px;
    height: 48px;
    stroke: var(--admin-accent-green);
    stroke-width: 2;
    margin: 0 auto 16px;
    transition: all var(--admin-transition-smooth);
    filter: drop-shadow(0 2px 4px rgba(107, 142, 95, 0.2));
}

.action-btn:hover i {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 4px 12px rgba(107, 142, 95, 0.4));
}

.action-btn p {
    font-weight: 600;
    font-size: 0.95em;
    position: relative;
    z-index: 1;
    color: var(--dark-gray);
}

/* Responsive Admin Layout */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

@media (max-width: 968px) {
    .admin-container {
        flex-direction: column !important;
    }
    
    .admin-sidebar {
        width: 100% !important;
        border-right: none !important;
        border-bottom: 1px solid var(--admin-glass-border) !important;
    }
    
    .action-grid {
        grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)) !important;
    }
    
    .admin-main {
        padding: 24px 16px !important;
    }
    
    .page-header h1 {
        font-size: 1.8em !important;
    }
    
    .stat-card {
        padding: 24px !important;
    }
    
    .action-btn {
        padding: 32px 20px !important;
    }
}

@media (max-width: 768px) {
    .admin-header {
        padding: 14px 20px !important;
    }
    
    .header-left {
        gap: 10px;
    }
    
    .admin-logo {
        height: 35px !important;
    }
    
    .system-title {
        font-size: 0.95em !important;
    }
    
    .stats-grid {
        gap: 12px !important;
    }
    
    .stat-icon {
        width: 52px !important;
        height: 52px !important;
    }
    
    .stat-icon i {
        width: 26px !important;
        height: 26px !important;
    }
    
    .stat-info h3 {
        font-size: 0.75em !important;
    }
    
    .stat-number {
        font-size: 2em !important;
    }
}

/* ================================
   產品類別管理頁面樣式
   ================================ */

/* 玻璃卡片 */
.glass-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 32px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.06),
        0 1px 3px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(90, 109, 76, 0.1);
    position: relative;
    overflow: hidden;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--admin-accent-green) 0%, 
        var(--admin-accent-gold) 50%, 
        var(--admin-accent-green) 100%);
    opacity: 0.8;
}

.card-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(90, 109, 76, 0.1);
}

.card-header i {
    width: 28px;
    height: 28px;
    stroke: var(--admin-accent-green);
    stroke-width: 2;
}

.card-header h2 {
    margin: 0;
    font-size: 1.4em;
    color: var(--admin-dark-ranger);
    font-weight: 700;
}

/* 現代表格 */
.table-responsive {
    overflow-x: auto;
    margin: 0 -32px;
    padding: 0 32px;
}

.modern-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
}

.modern-table thead th {
    background: linear-gradient(135deg, var(--admin-dark-ranger), var(--admin-gunmetal));
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9em;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none;
}

.modern-table thead th:first-child {
    border-radius: 10px 0 0 10px;
}

.modern-table thead th:last-child {
    border-radius: 0 10px 10px 0;
}

.modern-table tbody tr {
    background: rgba(255, 255, 255, 0.7);
    transition: all 0.3s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.modern-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.95);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(107, 142, 95, 0.15);
}

.modern-table tbody td {
    padding: 16px;
    border: none;
    color: var(--dark-gray);
}

.modern-table tbody td:first-child {
    border-radius: 10px 0 0 10px;
}

.modern-table tbody td:last-child {
    border-radius: 0 10px 10px 0;
}

/* 徽章樣式 */
.badge {
    display: inline-block;
    padding: 4px 12px;
    background: linear-gradient(135deg, var(--admin-accent-green), var(--admin-accent-gold));
    color: white;
    border-radius: 20px;
    font-size: 0.85em;
    font-weight: 600;
    box-shadow: 0 2px 6px rgba(107, 142, 95, 0.3);
}

.count-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    background: rgba(107, 142, 95, 0.1);
    color: var(--admin-accent-green);
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.count-badge i {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.text-muted {
    color: #666;
    font-size: 0.95em;
}

/* 操作按鈕 */
.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.btn-icon i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

.btn-icon:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-edit {
    background: linear-gradient(135deg, #4a90e2, #357abd);
}

.btn-edit i {
    stroke: white;
}

.btn-edit:hover {
    background: linear-gradient(135deg, #357abd, #2868a8);
}

.btn-delete {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
}

.btn-delete i {
    stroke: white;
}

.btn-delete:hover {
    background: linear-gradient(135deg, #c0392b, #a93226);
}

.btn-disabled {
    background: rgba(200, 200, 200, 0.5);
    cursor: not-allowed;
    opacity: 0.6;
}

.btn-disabled i {
    stroke: #999;
}

.btn-disabled:hover {
    transform: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

/* 模態框樣式 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(30, 37, 34, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    position: relative;
    animation: slideUp 0.3s ease;
}

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

.glass-modal {
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    padding: 36px;
    border-radius: 20px;
    min-width: 500px;
    max-width: 90vw;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.5) inset;
    border: 2px solid rgba(107, 142, 95, 0.2);
}

/* 自定義彈窗滾動條樣式 */
.glass-modal::-webkit-scrollbar {
    width: 8px;
}

.glass-modal::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.glass-modal::-webkit-scrollbar-thumb {
    background: linear-gradient(135deg, var(--admin-accent-green), var(--admin-accent-gold));
    border-radius: 10px;
}

.glass-modal::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(135deg, #6b8e5f, #c19a4a);
}

.modal-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 28px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(107, 142, 95, 0.15);
}

.modal-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: linear-gradient(135deg, var(--admin-accent-green), var(--admin-accent-gold));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(107, 142, 95, 0.3);
}

.modal-icon i {
    width: 26px;
    height: 26px;
    stroke: white;
    stroke-width: 2.5;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.6em;
    color: var(--admin-dark-ranger);
    font-weight: 700;
}

.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 28px;
    padding-top: 20px;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.modal-actions .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
}

.modal-actions .btn i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* 空狀態 */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: #999;
}

.empty-state i {
    width: 64px;
    height: 64px;
    stroke: #ddd;
    stroke-width: 1.5;
    margin-bottom: 20px;
}

.empty-state p {
    font-size: 1.1em;
    margin: 0;
}

/* 表單增強 */
.glass-card .form-group {
    margin-bottom: 20px;
}

.glass-card .form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--admin-dark-ranger);
    font-weight: 600;
    font-size: 0.95em;
}

.glass-card .form-group input,
.glass-card .form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid rgba(90, 109, 76, 0.15);
    border-radius: 10px;
    font-size: 1em;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.8);
}

.glass-card .form-group input:focus,
.glass-card .form-group textarea:focus {
    outline: none;
    border-color: var(--admin-accent-green);
    box-shadow: 0 0 0 4px rgba(107, 142, 95, 0.1);
    background: white;
}

.glass-card .btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    background: linear-gradient(135deg, var(--admin-accent-green), var(--admin-accent-gold));
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(107, 142, 95, 0.3);
}

.glass-card .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(107, 142, 95, 0.4);
}

.glass-card .btn-primary i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* ================================
   搜尋表單樣式
   ================================ */

.search-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
}

.form-actions {
    display: flex;
    gap: 12px;
    padding-top: 12px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: rgba(200, 200, 200, 0.3);
    color: var(--dark-gray);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    font-weight: 600;
    font-size: 1em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
}

.btn-secondary:hover {
    background: rgba(200, 200, 200, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.btn-secondary i {
    width: 18px;
    height: 18px;
    stroke-width: 2;
}

/* 狀態徽章 */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.9em;
    font-weight: 600;
}

.status-badge i {
    width: 16px;
    height: 16px;
    stroke-width: 2;
}

.status-active {
    background: rgba(52, 168, 83, 0.1);
    color: #34a853;
}

.status-active i {
    stroke: #34a853;
}

.status-expired {
    background: rgba(234, 67, 53, 0.1);
    color: #ea4335;
}

.status-expired i {
    stroke: #ea4335;
}

/* Code 標籤樣式 */
.modern-table code {
    background: rgba(107, 142, 95, 0.1);
    color: var(--admin-accent-green);
    padding: 4px 8px;
    border-radius: 4px;
    font-family: 'Courier New', monospace;
    font-size: 0.9em;
    font-weight: 600;
}

/* ========================================
   HOME PAGE MODERN DESIGN
   ======================================== */

/* Home Page Background */
body.home-page {
    background: linear-gradient(135deg, #1e2522 0%, #2f3d31 50%, #1e2522 100%);
    min-height: 100vh;
}

body.home-page::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(212, 168, 87, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 142, 95, 0.1) 0%, transparent 50%);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 100px 20px 80px;
    text-align: center;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -50%;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(212, 168, 87, 0.2) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; transform: translateX(-50%) scale(1); }
    50% { opacity: 0.8; transform: translateX(-50%) scale(1.1); }
}

.hero-content {
    position: relative;
    z-index: 2;
}

.hero-logo {
    margin-bottom: 30px;
}

.large-logo {
    width: 320px;
    height: auto;
    max-width: 90vw;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
    animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 15px;
    letter-spacing: 2px;
    text-shadow: 0 2px 20px rgba(212, 168, 87, 0.4);
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--admin-accent-gold);
    margin-bottom: 30px;
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.hero-line {
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--admin-accent-gold), transparent);
    margin: 0 auto;
}

/* Services Section */
.services-section {
    padding: 60px 20px 100px;
    position: relative;
    z-index: 2;
}

.service-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Glass Service Card */
.glass-service-card {
    position: relative;
    padding: 50px 40px;
    background: var(--admin-glass-bg);
    border: 1px solid var(--admin-glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    text-decoration: none;
    color: var(--admin-text-primary);
    transition: all var(--admin-transition-smooth);
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.glass-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--admin-accent-gold), transparent);
    opacity: 0;
    transition: opacity var(--admin-transition-smooth);
}

.card-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(212, 168, 87, 0.1) 0%, transparent 60%);
    opacity: 0;
    transition: opacity var(--admin-transition-smooth);
}

.glass-service-card:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 87, 0.3);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 40px rgba(212, 168, 87, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.glass-service-card:hover::before {
    opacity: 1;
}

.glass-service-card:hover .card-glow {
    opacity: 1;
}

.glass-service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, var(--admin-accent-gold), rgba(212, 168, 87, 0.7));
}

.glass-service-card:hover .card-arrow {
    transform: translateX(5px);
    opacity: 1;
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, rgba(107, 142, 95, 0.8), rgba(90, 109, 76, 0.6));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.3),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    transition: all var(--admin-transition-spring);
}

.service-icon i {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
}

.glass-service-card h3 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #ffffff;
}

.glass-service-card p {
    font-size: 1rem;
    color: var(--admin-text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    opacity: 0.6;
    transition: all var(--admin-transition-smooth);
}

.card-arrow i {
    width: 20px;
    height: 20px;
    stroke: var(--admin-accent-gold);
    stroke-width: 2.5;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 60px 20px 40px;
    }
    
    .large-logo {
        width: 240px;
    }
    
    .hero-title {
        font-size: 1.8rem;
    }
    
    .hero-subtitle {
        font-size: 0.9rem;
    }
    
    .service-grid-modern {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .glass-service-card {
        padding: 40px 30px;
    }
}

/* ========================================
   WARRANTY INFO PAGE
   ======================================== */

body.warranty-info-page {
    background: linear-gradient(135deg, #1e2522 0%, #2f3d31 50%, #1e2522 100%);
    min-height: 100vh;
}

body.warranty-info-page::before {
    background: 
        radial-gradient(circle at 20% 20%, rgba(212, 168, 87, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(107, 142, 95, 0.08) 0%, transparent 50%);
}

.page-header-public {
    text-align: center;
    padding: 60px 20px 40px;
    position: relative;
    z-index: 2;
}

.header-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--admin-accent-gold), rgba(212, 168, 87, 0.7));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.header-icon i {
    width: 40px;
    height: 40px;
    stroke: white;
    stroke-width: 2;
}

.page-header-public h1 {
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 10px;
    text-shadow: 0 2px 20px rgba(212, 168, 87, 0.4);
}

.page-header-public p {
    font-size: 1.1rem;
    color: var(--admin-text-secondary);
}

.warranty-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px 80px;
    position: relative;
    z-index: 2;
}

.warranty-section {
    margin-bottom: 30px;
    padding: 40px;
    transition: all var(--admin-transition-smooth);
}

.warranty-section:hover {
    transform: translateY(-4px);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(212, 168, 87, 0.05);
}

.section-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 2px solid rgba(212, 168, 87, 0.2);
}

.section-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(107, 142, 95, 0.8), rgba(90, 109, 76, 0.6));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.section-icon i {
    width: 28px;
    height: 28px;
    stroke: white;
    stroke-width: 2;
}

.section-icon.warning {
    background: linear-gradient(135deg, rgba(234, 67, 53, 0.8), rgba(211, 47, 47, 0.6));
}

.section-icon.info {
    background: linear-gradient(135deg, rgba(66, 133, 244, 0.8), rgba(33, 150, 243, 0.6));
}

.section-icon.accent {
    background: linear-gradient(135deg, var(--admin-accent-gold), rgba(212, 168, 87, 0.7));
}

.section-header h2 {
    font-size: 1.6rem;
    color: #2a2a2a;
    font-weight: 700;
    margin: 0;
}

.section-content {
    color: #4a4a4a;
    line-height: 1.8;
}

.section-content p {
    margin-bottom: 15px;
    color: #4a4a4a;
}

.section-content .highlight {
    color: var(--admin-accent-gold);
    font-weight: 500;
}

.section-content ul,
.section-content ol {
    padding-left: 25px;
}

.section-content li {
    margin-bottom: 12px;
    color: #4a4a4a;
}

.exclusion-list {
    counter-reset: item;
    list-style: none;
    padding-left: 0;
}

.exclusion-list li {
    counter-increment: item;
    padding-left: 40px;
    position: relative;
    margin-bottom: 15px;
}

.exclusion-list li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    width: 28px;
    height: 28px;
    background: rgba(234, 67, 53, 0.15);
    color: #ea4335;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

.warning-section {
    border-left: 4px solid rgba(234, 67, 53, 0.5);
}

.info-section {
    border-left: 4px solid rgba(66, 133, 244, 0.5);
}

.accent-section {
    border-left: 4px solid var(--admin-accent-gold);
}

.service-items {
    display: grid;
    gap: 20px;
}

.service-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: rgba(212, 168, 87, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(212, 168, 87, 0.15);
}

.service-number {
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, var(--admin-accent-gold), rgba(212, 168, 87, 0.8));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
    flex-shrink: 0;
}

.service-item p {
    margin: 0;
    color: #2a2a2a;
}

.back-home {
    text-align: center;
    margin-top: 50px;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    background: var(--admin-glass-bg);
    border: 1px solid var(--admin-glass-border);
    border-radius: 50px;
    color: var(--admin-text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all var(--admin-transition-smooth);
    backdrop-filter: blur(20px);
}

.btn-back:hover {
    background: rgba(212, 168, 87, 0.2);
    border-color: var(--admin-accent-gold);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.btn-back i {
    width: 20px;
    height: 20px;
    stroke: var(--admin-accent-gold);
}

@media (max-width: 768px) {
    .page-header-public {
        padding: 40px 20px 30px;
    }
    
    .page-header-public h1 {
        font-size: 1.8rem;
    }
    
    .warranty-section {
        padding: 30px 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

/* ========================================
   NAVBAR LOGO ENLARGEMENT
   ======================================== */

.navbar-logo .logo-img {
    height: clamp(90px, 12vw, 120px);
    width: auto;
    transition: all var(--admin-transition-smooth);
}

.main-navbar {
    padding: 15px 0;
}

@media (max-width: 768px) {
    .navbar-logo .logo-img {
        max-height: 70px;
    }
}

/* ========================================
   WARRANTY PROCESS SECTION（保固流程說明）
   ======================================== */

.warranty-process-section {
    padding: 80px 0;
    position: relative;
    background: linear-gradient(145deg, rgba(20, 26, 23, 0.98), rgba(30, 40, 34, 0.98));
    overflow: hidden;
}

.warranty-process-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 15% 20%, rgba(212, 168, 87, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 80%, rgba(212, 168, 87, 0.04) 0%, transparent 40%);
    pointer-events: none;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: -30px;
    margin-bottom: 50px;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.process-column {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px 30px;
    border: 1px solid rgba(212, 168, 87, 0.15);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.process-column::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 0%, rgba(212, 168, 87, 0.08) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.process-column:hover {
    transform: translateY(-8px);
    border-color: rgba(212, 168, 87, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3),
                0 0 60px rgba(212, 168, 87, 0.15);
}

.process-column:hover::before {
    opacity: 1;
}

.process-header {
    text-align: center;
    margin-bottom: 35px;
    position: relative;
    z-index: 1;
}

.process-icon-large {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, rgba(212, 168, 87, 0.2), rgba(212, 168, 87, 0.05));
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 168, 87, 0.3);
    box-shadow: 0 8px 24px rgba(212, 168, 87, 0.15);
    transition: all 0.4s ease;
}

.process-column:hover .process-icon-large {
    transform: scale(1.1);
    box-shadow: 0 12px 36px rgba(212, 168, 87, 0.25);
}

.process-icon-large svg {
    width: 40px;
    height: 40px;
    stroke: #d4a857;
    stroke-width: 2;
}

.process-header h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.process-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.6);
}

.process-steps {
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.process-step {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
    align-items: flex-start;
}

.process-step:last-child {
    margin-bottom: 0;
}

.step-number {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(212, 168, 87, 0.25), rgba(212, 168, 87, 0.1));
    border: 2px solid rgba(212, 168, 87, 0.4);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 700;
    color: #d4a857;
}

.step-content h4 {
    font-size: 1.05rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 5px;
}

.step-content p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.65);
    line-height: 1.5;
}

.process-cta {
    text-align: center;
    position: relative;
    z-index: 1;
}

.btn-process {
    display: inline-block;
    padding: 14px 32px;
    background: linear-gradient(135deg, #d4a857, #b8923d);
    color: #1e2522;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(212, 168, 87, 0.3);
}

.btn-process:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(212, 168, 87, 0.4);
    background: linear-gradient(135deg, #e0b863, #d4a857);
}

/* ========================================
   BENEFITS SECTION（戰神保固優勢）
   ======================================== */

.benefits-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
    background: linear-gradient(145deg, rgba(24, 30, 27, 0.95), rgba(44, 54, 48, 0.95));
}

.benefits-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 168, 87, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 168, 87, 0.06) 0%, transparent 50%);
    pointer-events: none;
    opacity: 0.15;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 50px;
    text-shadow: 0 2px 20px rgba(212, 168, 87, 0.4);
    position: relative;
    z-index: 1;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(260px, 1fr));
    gap: 28px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.benefit-card {
    position: relative;
    padding: 45px 35px;
    background: #2b332d;
    border-radius: 24px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.05),
        inset 0 -1px 0 rgba(0, 0, 0, 0.3);
    animation: benefitFadeIn 0.8s ease-out forwards;
    opacity: 0;
}

.benefit-card:nth-child(1) {
    animation-delay: 0.15s;
}

.benefit-card:nth-child(2) {
    animation-delay: 0.35s;
}

.benefit-card:nth-child(3) {
    animation-delay: 0.55s;
}

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

@media (prefers-reduced-motion: reduce) {
    .benefit-card {
        animation: none;
        opacity: 1;
        transform: none;
    }
}

.benefit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d4a857 0%, #f2c56b 100%);
    opacity: 1;
}

.benefit-card::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            rgba(212, 168, 87, 0.02) 10px,
            rgba(212, 168, 87, 0.02) 20px
        );
    pointer-events: none;
    opacity: 0.3;
    border-radius: 18px;
}

.benefit-card:hover {
    transform: translateY(-6px);
    box-shadow: 
        0 16px 48px rgba(0, 0, 0, 0.5),
        0 0 40px rgba(212, 168, 87, 0.12),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.benefit-card:hover .benefit-icon-badge {
    transform: scale(1.08) rotate(3deg);
    box-shadow: 
        0 12px 35px rgba(212, 168, 87, 0.4),
        inset 0 -2px 8px rgba(0, 0, 0, 0.3);
}

.benefit-number {
    position: absolute;
    top: 18px;
    right: 22px;
    font-size: 0.75rem;
    font-weight: 700;
    color: #d4a857;
    letter-spacing: 0.1em;
    opacity: 0.6;
    text-transform: uppercase;
}

.benefit-icon-badge {
    width: 56px;
    height: 56px;
    margin: 0 auto 22px;
    background: linear-gradient(135deg, #f7e3b3, #c6933e);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 
        0 8px 24px rgba(0, 0, 0, 0.3),
        inset 0 -2px 6px rgba(0, 0, 0, 0.2),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.benefit-icon-badge::before {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.4), transparent);
    border-radius: 50%;
    opacity: 0.6;
}

.benefit-icon-badge i {
    width: 28px;
    height: 28px;
    stroke: #1c221e;
    stroke-width: 1.8;
    position: relative;
    z-index: 1;
}

.benefit-card h3 {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f1f5f2;
    margin-bottom: 14px;
    line-height: 1.3;
}

.benefit-card p {
    font-size: 0.95rem;
    color: #f1f5f2;
    opacity: 0.7;
    line-height: 1.65;
}

/* Responsive: Warranty Process Section */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: 1fr;
        gap: 25px;
        max-width: 600px;
    }
}

@media (max-width: 768px) {
    .warranty-process-section {
        padding: 40px 0;
    }
    
    .process-column {
        padding: 30px 20px;
    }
    
    .process-header {
        margin-bottom: 25px;
    }
    
    .process-icon-large {
        width: 60px;
        height: 60px;
        margin: 0 auto 15px;
    }
    
    .process-icon-large svg {
        width: 30px;
        height: 30px;
    }
    
    .process-header h3 {
        font-size: 1.2rem;
        margin-bottom: 8px;
    }
    
    .process-desc {
        font-size: 0.9rem;
    }
    
    .process-steps {
        margin-bottom: 25px;
    }
    
    .process-step {
        margin-bottom: 15px;
        gap: 12px;
    }
    
    .step-number {
        width: 32px;
        height: 32px;
        font-size: 0.9rem;
    }
    
    .step-content h4 {
        font-size: 1rem;
        margin-bottom: 4px;
    }
    
    .step-content p {
        font-size: 0.85rem;
    }
    
    .btn-process {
        padding: 12px 28px;
        font-size: 0.95rem;
    }
}

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

@media (max-width: 640px) {
    .benefits-section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 1.8rem;
        margin-bottom: 35px;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .benefit-card {
        padding: 35px 25px;
    }
}

/* ========================================
   TESTIMONIALS SECTION（客戶好評）
   ======================================== */

.testimonials-section {
    padding: 80px 20px 100px;
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.testimonials-marquee {
    position: relative;
    overflow: hidden;
    margin-top: 40px;
}

.marquee-track {
    display: flex;
    gap: 20px;
    animation: marqueeScroll 60s linear infinite;
    width: fit-content;
}

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

.testimonial-bubble {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    min-width: 350px;
    padding: 20px 25px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    position: relative;
    flex-shrink: 0;
}

.testimonial-bubble::before {
    content: '';
    position: absolute;
    left: 20px;
    bottom: -10px;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 3px;
    transform: rotate(45deg);
}

.avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--admin-accent-green), var(--admin-accent-gold));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.3rem;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.testimonial-bubble:nth-child(2n) .avatar {
    background: linear-gradient(135deg, #4a9d5f, #6bb15f);
}

.testimonial-bubble:nth-child(3n) .avatar {
    background: linear-gradient(135deg, #d4a857, #c9982e);
}

.testimonial-bubble:nth-child(4n) .avatar {
    background: linear-gradient(135deg, #5a6d4c, #4a5d3c);
}

.bubble-content {
    flex: 1;
}

.customer-name {
    font-weight: 600;
    color: #2a2a2a;
    margin-bottom: 5px;
    font-size: 0.95rem;
}

.message {
    color: #4a4a4a;
    line-height: 1.5;
    font-size: 0.95rem;
}

.testimonials-marquee:hover .marquee-track {
    animation-play-state: paused;
}

@media (prefers-reduced-motion: reduce) {
    .marquee-track {
        animation: none;
    }
    
    .testimonials-marquee {
        overflow-x: auto;
        scroll-snap-type: x mandatory;
    }
    
    .testimonial-bubble {
        scroll-snap-align: start;
    }
}

@media (max-width: 768px) {
    .testimonials-section {
        padding: 60px 20px 80px;
    }
    
    .testimonial-bubble {
        min-width: 280px;
    }
    
    .marquee-track {
        animation-duration: 45s;
    }
}

/* 調整 Hero Section 間距（移除 logo 後） */
.hero-section {
    padding: 120px 20px 80px;
}

@media (max-width: 768px) {
    .hero-section {
        padding: 80px 20px 50px;
    }
}
/* ========================================
   USER REVIEWS SECTION（戰神使用者評價）
   ======================================== */

.user-reviews-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(30, 37, 34, 0.6) 0%, rgba(47, 61, 49, 0.4) 100%);
    position: relative;
    overflow: hidden;
}

.user-reviews-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 50%, rgba(212, 168, 87, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 50%, rgba(47, 61, 49, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

.user-reviews-section .section-title {
    position: relative;
    z-index: 1;
    color: #ffffff;
}

.user-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 40px;
    position: relative;
    z-index: 1;
}

.user-review-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    box-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.9);
    transition: all 0.3s ease;
    border: 1px solid rgba(212, 168, 87, 0.2);
}

.user-review-card:hover {
    transform: translateY(-8px);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.2),
        0 0 30px rgba(212, 168, 87, 0.3);
    border-color: rgba(212, 168, 87, 0.4);
}

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

.user-avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2f3d31, #5a6d4c);
    color: #d4a857;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    flex-shrink: 0;
    box-shadow: 
        0 4px 12px rgba(47, 61, 49, 0.4),
        0 0 20px rgba(212, 168, 87, 0.2);
    border: 2px solid rgba(212, 168, 87, 0.3);
}

.user-info {
    flex: 1;
}

.user-name {
    font-weight: 600;
    color: #2f3d31;
    font-size: 0.95rem;
    margin-bottom: 5px;
}

.star-rating {
    display: flex;
    gap: 3px;
}

.star-filled {
    width: 16px;
    height: 16px;
    fill: #d4a857;
    stroke: #d4a857;
}

.review-text {
    color: #4a4a4a;
    line-height: 1.6;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.review-images {
    margin-top: 15px;
}

.review-photo {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 12px;
    cursor: zoom-in;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.review-photo:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

@media (max-width: 768px) {
    .user-reviews-section {
        padding: 60px 15px;
    }
    
    .user-reviews-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .user-review-card {
        padding: 20px;
    }
    
    .review-photo {
        height: 200px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .user-reviews-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* 真實評價徽章樣式 */
.verified-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 12px;
    padding: 8px 12px;
    background: linear-gradient(135deg, #2f3d31 0%, #5a6d4c 100%);
    border-radius: 8px;
    font-size: 0.75rem;
    color: #d4a857;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(47, 61, 49, 0.2);
}

.verified-badge i {
    width: 14px;
    height: 14px;
    stroke: #d4a857;
}

/* Lightbox 樣式 */
.lightbox {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

.lightbox-content {
    max-width: 90%;
    max-height: 90%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
    cursor: default;
}

.lightbox-close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #fff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.lightbox-close:hover,
.lightbox-close:focus {
    color: #ee4d2d;
}

/* 評價照片點擊提示 */
.review-photo {
    cursor: zoom-in;
    position: relative;
}

.review-photo:hover {
    opacity: 0.9;
}

@media (max-width: 768px) {
    .lightbox-content {
        max-width: 95%;
        max-height: 95%;
    }
    
    .lightbox-close {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
}

/* 保固管理頁面 - 響應式卡片標題與搜索表單 */
.card-header-with-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--admin-spacing-md);
    flex-wrap: wrap;
    gap: 16px;
}

.search-form-inline {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.search-form-inline input[type="text"] {
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    min-width: 200px;
    flex: 1 1 auto;
    max-width: 400px;
}

.search-form-inline .btn {
    white-space: nowrap;
}

@media (max-width: 768px) {
    .card-header-with-search {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .search-form-inline {
        width: 100%;
    }
    
    .search-form-inline input[type="text"] {
        max-width: none;
    }
}

/* 模態框樣式 */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    margin: 5% auto;
    padding: 0;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.3);
    animation: slideDown 0.3s ease;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid rgba(90, 109, 76, 0.1);
    background: linear-gradient(135deg, rgba(47, 61, 49, 0.03) 0%, rgba(90, 109, 76, 0.05) 100%);
    border-radius: 12px 12px 0 0;
}

.modal-header h3 {
    margin: 0;
    font-size: 1.3em;
    color: var(--admin-dark-ranger);
    display: flex;
    align-items: center;
    gap: 12px;
}

.modal-header h3 i {
    width: 24px;
    height: 24px;
    stroke: var(--admin-accent-green);
}

.modal-close {
    color: #999;
    font-size: 32px;
    font-weight: bold;
    line-height: 1;
    cursor: pointer;
    transition: all 0.2s ease;
    padding: 0 8px;
}

.modal-close:hover,
.modal-close:focus {
    color: #d9534f;
    transform: rotate(90deg);
}

.modal form {
    padding: 32px;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid rgba(90, 109, 76, 0.1);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 768px) {
    .modal-content {
        width: 95%;
        margin: 10% auto;
    }
    
    .modal-header {
        padding: 20px;
    }
    
    .modal form {
        padding: 20px;
    }
    
    .modal-close {
        font-size: 28px;
    }
}

/* 管理後台表格樣式 */
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.admin-table thead {
    background: #e8eae9;
}

.admin-table thead tr {
    border-bottom: 2px solid #5a6d4c;
}

.admin-table th {
    padding: 16px 12px !important;
    text-align: left;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    color: #2a2a2a !important;
    background: transparent !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
}

.admin-table tbody tr {
    border-bottom: 1px solid rgba(90, 109, 76, 0.1);
    transition: all 0.2s ease;
}

.admin-table tbody tr:hover {
    background: rgba(90, 109, 76, 0.05);
    transform: translateX(2px);
}

.admin-table tbody tr:last-child {
    border-bottom: none;
}

.admin-table td {
    padding: 14px 12px;
    font-size: 0.95rem;
    color: #2a2a2a;
    vertical-align: middle;
}

.admin-table td:first-child {
    font-weight: 600;
    color: var(--admin-accent-green);
}

/* 狀態標籤樣式 */
.status-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    white-space: nowrap;
}

.status-badge.active {
    background: rgba(76, 175, 80, 0.15);
    color: #2e7d32;
}

.status-badge.expired {
    background: rgba(244, 67, 54, 0.15);
    color: #c62828;
}

/* 動作按鈕 */
.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn-icon {
    padding: 8px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon i {
    width: 18px;
    height: 18px;
}

.btn-edit {
    background: rgba(33, 150, 243, 0.1);
    color: #1976d2;
}

.btn-edit:hover {
    background: rgba(33, 150, 243, 0.2);
    transform: scale(1.05);
}

.btn-delete {
    background: rgba(244, 67, 54, 0.1);
    color: #d32f2f;
}

.btn-delete:hover {
    background: rgba(244, 67, 54, 0.2);
    transform: scale(1.05);
}

/* 響應式表格 */
@media (max-width: 1024px) {
    .admin-table {
        font-size: 0.9rem;
    }
    
    .admin-table th,
    .admin-table td {
        padding: 10px 8px;
    }
}

@media (max-width: 768px) {
    .table-responsive {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .admin-table {
        min-width: 800px;
    }
    
    .admin-table th,
    .admin-table td {
        font-size: 0.85rem;
        padding: 8px 6px;
    }
}
