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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Glass morphism header */
header {
    background: rgba(10, 42, 58, 0.95);
    backdrop-filter: blur(10px);
    color: white;
    padding: 20px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.logo h1 {
    font-size: 28px;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #fff 0%, #e67e22 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo p {
    font-size: 14px;
    opacity: 0.85;
}

nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin-top: 15px;
    flex-wrap: wrap;
}

nav ul li a {
    color: white;
    text-decoration: none;
    transition: all 0.3s;
    font-weight: 500;
    position: relative;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e67e22;
    transition: width 0.3s;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    color: #e67e22;
}

/* Hero Section with background image */
.hero {
    position: relative;
    color: white;
    padding: 120px 0;
    text-align: center;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/hero/digital-board.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: brightness(0.6);
    z-index: 0;
    animation: zoomIn 20s ease infinite;
}

@keyframes zoomIn {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.hero .container {
    position: relative;
    z-index: 1;
}

.hero h1, .hero h2 {
    font-size: clamp(28px, 5vw, 52px);
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease;
}

.hero p {
    font-size: clamp(14px, 2vw, 18px);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.2s both;
}

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

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.btn-primary, .btn-secondary {
    display: inline-block;
    padding: 12px 32px;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s;
    font-weight: 600;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #e67e22, #d35400);
    color: white;
    box-shadow: 0 4px 15px rgba(230,126,34,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230,126,34,0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #1a3a4a;
    transform: translateY(-2px);
}

/* Cards with hover effects */
.categories {
    padding: 80px 0;
    background: #f8f9fa;
}

.categories h2 {
    text-align: center;
    margin-bottom: 50px;
    font-size: clamp(28px, 4vw, 36px);
    color: #1a3a4a;
    position: relative;
}

.categories h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: #e67e22;
    margin: 15px auto 0;
}

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

.category-card {
    background: white;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e67e22, #f39c12);
    transform: translateX(-100%);
    transition: transform 0.3s;
}

.category-card:hover::before {
    transform: translateX(0);
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.15);
}

.category-card h3 {
    margin-bottom: 15px;
    color: #1a3a4a;
    font-size: clamp(18px, 2.5vw, 22px);
}

.category-card p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Product cards with images */
.product-category {
    margin: 60px 0;
}

.product-category h2 {
    color: #1a3a4a;
    margin-bottom: 30px;
    font-size: clamp(24px, 3.5vw, 32px);
    position: relative;
    display: inline-block;
}

.product-category h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: #e67e22;
    margin-top: 10px;
}

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

.product-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    transition: all 0.3s;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.15);
}

.product-image {
    width: 100%;
    height: 220px;
    object-fit: cover;
    object-position: center;
    transition: transform 0.5s;
}

.product-card:hover .product-image {
    transform: scale(1.05);
}

.product-card h3 {
    padding: 20px 20px 10px;
    color: #e67e22;
    font-size: clamp(16px, 2vw, 20px);
}

.product-card p {
    padding: 0 20px 15px;
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

.product-tag {
    padding: 0 20px 20px;
    font-size: 12px;
    color: #999;
    display: inline-block;
}

/* Solution cards with backgrounds */
.solution-card {
    background: linear-gradient(135deg, rgba(26,58,74,0.95), rgba(44,90,110,0.95));
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 30px;
    color: white;
    position: relative;
    overflow: hidden;
}

.solution-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.2;
    z-index: 0;
    transition: transform 0.5s;
}

.solution-card:hover::before {
    transform: scale(1.05);
}

.solution-card:nth-child(1)::before {
    background-image: url('/assets/images/products/ai-robot.jpg');
}

.solution-card:nth-child(2)::before {
    background-image: url('/assets/images/products/computer-vision-camera.jpg');
}

.solution-card:nth-child(3)::before {
    background-image: url('/assets/images/products/servers.jpg');
}

.solution-card:nth-child(4)::before {
    background-image: url('/assets/images/backgrounds/b2b-partnership.jpg');
}

.solution-card .container {
    position: relative;
    z-index: 1;
}

.solution-card h3 {
    font-size: clamp(22px, 3vw, 28px);
    margin-bottom: 20px;
}

.solution-card ul {
    list-style: none;
    padding-left: 0;
}

.solution-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    font-size: 14px;
}

.solution-card li::before {
    content: '▹';
    position: absolute;
    left: 0;
    color: #e67e22;
}

/* Stats section with background */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a3a4a, #2c5a6e);
    color: white;
    position: relative;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('/assets/images/backgrounds/hong-kong-skyline.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 40px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stat-item h3 {
    font-size: clamp(28px, 4vw, 42px);
    color: #e67e22;
    margin-bottom: 10px;
}

.stat-item p {
    font-size: 14px;
    opacity: 0.9;
}

/* About page */
.about-content {
    padding: 60px 0;
}

.about-section {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 20px;
    transition: transform 0.3s;
}

.about-section:hover {
    transform: translateY(-5px);
}

.about-section h3 {
    color: #1a3a4a;
    margin-bottom: 20px;
    font-size: clamp(20px, 2.5vw, 24px);
}

.about-section ul {
    padding-left: 20px;
}

.about-section li {
    margin-bottom: 10px;
}

/* Integration page */
.integration-content {
    padding: 60px 0;
}

.integration-section {
    background: #f8f9fa;
    padding: 30px;
    margin-bottom: 30px;
    border-radius: 20px;
}

.integration-section h3 {
    color: #1a3a4a;
    margin-bottom: 20px;
    font-size: clamp(20px, 2.5vw, 24px);
}

/* Contact form */
.contact-content {
    padding: 60px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    margin: 50px 0;
}

.contact-info {
    background: #f8f9fa;
    padding: 40px;
    border-radius: 20px;
}

.contact-info h3, .contact-form h3 {
    color: #1a3a4a;
    margin-bottom: 25px;
    font-size: clamp(20px, 2.5vw, 24px);
}

.contact-detail {
    margin-bottom: 20px;
}

.contact-detail h4 {
    color: #e67e22;
    margin-bottom: 5px;
    font-size: 16px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 15px;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 8px;
    transition: all 0.3s;
    font-size: 14px;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #e67e22;
    outline: none;
    box-shadow: 0 0 0 3px rgba(230,126,34,0.1);
}

.contact-form button {
    width: 100%;
    border: none;
    cursor: pointer;
}

.form-note {
    font-size: 12px;
    color: #666;
    margin-top: 10px;
    text-align: center;
}

.business-info {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 20px;
    margin-top: 30px;
}

.business-info h3 {
    color: #1a3a4a;
    margin-bottom: 20px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.info-item h4 {
    color: #e67e22;
    margin-bottom: 8px;
    font-size: 16px;
}

/* Footer */
footer {
    background: #0a2a3a;
    color: white;
    padding: 60px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #e67e22, #f39c12);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 30px;
}

.footer-section h3 {
    margin-bottom: 20px;
    font-size: 18px;
    position: relative;
    display: inline-block;
}

.footer-section h3::after {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: #e67e22;
    margin-top: 8px;
}

.footer-section p {
    margin-bottom: 10px;
    opacity: 0.8;
    font-size: 14px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 12px;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero {
        padding: 80px 0;
        min-height: 400px;
    }
    
    .hero h1, .hero h2 {
        font-size: 28px;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .category-grid, .product-grid, .advantages-grid {
        grid-template-columns: 1fr;
    }
    
    .solution-card {
        padding: 25px;
    }
    
    .solution-card h3 {
        font-size: 22px;
    }
    
    .product-image {
        height: 180px;
    }
    
    .stats {
        padding: 50px 0;
    }
    
    .stats-grid {
        gap: 25px;
    }
    
    .about-section, .integration-section {
        padding: 20px;
    }
    
    .contact-info {
        padding: 25px;
    }
}

/* Small devices */
@media (max-width: 480px) {
    .product-image {
        height: 160px;
    }
    
    .solution-card li {
        font-size: 13px;
    }
    
    .category-card, .advantage-item {
        padding: 20px;
    }
}
