/* Reset & Variables */
:root {
    --primary-color: #0d6efd;
    --primary-hover: #0b5ed7;
    --secondary-color: #f8f9fa;
    --text-color: #333;
    --text-muted: #6c757d;
    --border-color: #e9ecef;
    --bg-light: #f4f7f9;
    --shadow-sm: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
    --shadow-md: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 1rem 3rem rgba(0, 0, 0, 0.175);
    --transition: all 0.3s ease-in-out;
}

body {
    background-color: var(--bg-light);
    font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
}

.act-container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 15px;
    box-sizing: border-box;
}

/* Hero Banner */
.act-hero {
    position: relative;
    padding: 120px 0 140px;
    background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?q=80&w=2072&auto=format&fit=crop') no-repeat center center;
    background-size: cover;
    color: #fff;
    text-align: center;
    overflow: hidden;
}

.act-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(15,32,39,0.9) 0%, rgba(32,58,67,0.8) 50%, rgba(44,83,100,0.9) 100%);
    z-index: 1;
}

/* Animated Particles / Light effects */
.act-hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(13, 110, 253, 0.2) 0%, transparent 60%);
    z-index: 1;
    animation: pulse 4s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 0.5; }
    100% { transform: scale(1.5); opacity: 1; }
}

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

.act-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 24px;
    letter-spacing: 3px;
    background: linear-gradient(to right, #ffffff 20%, #a1c4fd 50%, #c2e9fb 80%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 12px rgba(0,0,0,0.1);
    animation: fadeInUp 1s ease-out;
}

.act-subtitle {
    font-size: 22px;
    color: #e2e8f0;
    max-width: 800px;
    margin: 0 auto 40px;
    line-height: 1.8;
    font-weight: 300;
    animation: fadeInUp 1s ease-out 0.2s backwards;
}

.act-btn-group {
    animation: fadeInUp 1s ease-out 0.4s backwards;
}

.act-btn-primary {
    display: inline-block;
    padding: 14px 36px;
    background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%);
    color: #fff;
    border-radius: 30px;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(13, 110, 253, 0.4);
    transition: var(--transition);
    border: 1px solid rgba(255,255,255,0.1);
}

.act-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(13, 110, 253, 0.6);
    color: #fff;
}

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

/* Section Titles */
.section-header {
    text-align: center;
    margin: 60px 0 40px;
}

.section-title {
    font-size: 32px;
    font-weight: 600;
    color: #212529;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* Product Cards */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.product-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    position: relative;
    border: 1px solid var(--border-color);
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: #a1c4fd;
}

.product-badge {
    position: absolute;
    top: 15px;
    right: -30px;
    background: #ff4757;
    color: #fff;
    padding: 5px 30px;
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
    z-index: 10;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.product-header {
    padding: 25px 20px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-color);
    background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%);
}

.product-name {
    font-size: 22px;
    font-weight: 600;
    color: #212529;
    margin: 0 0 10px;
}

.product-desc {
    font-size: 14px;
    color: var(--text-muted);
    min-height: 40px;
}

.product-specs {
    padding: 20px;
    flex-grow: 1;
}

.spec-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px dashed var(--border-color);
    font-size: 14px;
}

.spec-item:last-child {
    border-bottom: none;
}

.spec-label {
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.spec-label i {
    margin-right: 8px;
    color: var(--primary-color);
    width: 16px;
    text-align: center;
}

.spec-value {
    font-weight: 600;
    color: #212529;
}

.product-footer {
    padding: 20px;
    background: #f8f9fa;
    border-top: 1px solid var(--border-color);
    text-align: center;
}

.product-price {
    margin-bottom: 15px;
}

.price-currency {
    font-size: 18px;
    color: #ff4757;
    font-weight: bold;
}

.price-amount {
    font-size: 36px;
    color: #ff4757;
    font-weight: 700;
    line-height: 1;
}

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

.btn-buy {
    display: block;
    width: 100%;
    padding: 12px 0;
    background: var(--primary-color);
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: var(--transition);
}

.btn-buy:hover {
    background: var(--primary-hover);
    color: #fff;
    box-shadow: 0 4px 8px rgba(13, 110, 253, 0.3);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    background: #fff;
    border-radius: 12px;
    color: var(--text-muted);
}

.empty-state i {
    font-size: 48px;
    color: #dee2e6;
    margin-bottom: 15px;
}

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

@media (max-width: 768px) {
    .act-title {
        font-size: 32px;
    }
    .act-subtitle {
        font-size: 16px;
    }
    .product-grid {
        grid-template-columns: 1fr;
    }
    .act-hero {
        padding: 60px 0 80px;
    }
}
