/* DUMI AUTO - Professional Auto Protection Film Website */

:root {
    --primary: #e63946;
    --primary-dark: #c1121f;
    --dark: #1a1a2e;
    --darker: #0f0f1a;
    --accent: #f4a261;
    --white: #ffffff;
    --gray-light: #f8f9fa;
    --gray: #6c757d;
    --gray-dark: #343a40;
}

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

body {
    font-family: 'Segoe UI', 'PingFang SC', 'Microsoft YaHei', sans-serif;
    color: #333;
    line-height: 1.6;
    background: var(--white);
}

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

a {
    text-decoration: none;
    color: inherit;
}

/* Header */
.header {
    background: var(--dark);
    color: var(--white);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.3);
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 800;
    letter-spacing: 2px;
}

.logo h1 span {
    color: var(--primary);
}

.logo p {
    font-size: 11px;
    color: #aaa;
    letter-spacing: 1px;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-size: 14px;
    font-weight: 500;
    color: #ccc;
    transition: color 0.3s;
    letter-spacing: 1px;
}

.nav a:hover, .nav a.active {
    color: var(--primary);
}

.header-cta .btn-primary {
    padding: 10px 24px;
    font-size: 14px;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: none;
    cursor: pointer;
    display: inline-block;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230,57,70,0.4);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
    border: 2px solid var(--white);
    display: inline-block;
}

.btn-outline:hover {
    background: var(--white);
    color: var(--dark);
}

/* Hero */
.hero {
    background: linear-gradient(135deg, #0f0f1a 0%, #1a1a2e 50%, #16213e 100%);
    color: var(--white);
    padding: 120px 0 100px;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-overlay {
    position: absolute;
    top: -50%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(230,57,70,0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
}

.hero h2 {
    font-size: 52px;
    font-weight: 800;
    margin-bottom: 15px;
    letter-spacing: 4px;
}

.hero-content p {
    font-size: 20px;
    color: #aaa;
    margin-bottom: 30px;
}

.hero-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(230,57,70,0.15);
    border: 1px solid rgba(230,57,70,0.4);
    color: #ff6b6b;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
}

.hero-btns {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Section Header */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header h2 {
    font-size: 36px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 10px;
}

.section-header p {
    font-size: 16px;
    color: var(--gray);
}

/* Features */
.features {
    padding: 80px 0;
    background: var(--gray-light);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.06);
    transition: all 0.3s;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 12px;
}

.feature-card p {
    font-size: 14px;
    color: var(--gray);
}

/* Products Preview */
.products-preview {
    padding: 80px 0;
}

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

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

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

.product-img {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.product-placeholder {
    font-size: 36px;
    font-weight: 800;
    color: rgba(255,255,255,0.2);
    letter-spacing: 4px;
}

.product-info {
    padding: 25px;
}

.product-tag {
    background: var(--primary);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 3px;
    font-size: 11px;
    font-weight: 600;
}

.product-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin: 10px 0 8px;
}

.product-info p {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 15px;
}

.product-price {
    color: var(--primary);
    font-weight: 600;
    font-size: 14px;
}

.products-more {
    text-align: center;
    margin-top: 50px;
}

/* Stats */
.stats {
    background: linear-gradient(135deg, var(--dark), #16213e);
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.stat-item {
    text-align: center;
    color: var(--white);
}

.stat-num {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: #aaa;
    letter-spacing: 2px;
}

/* About */
.about-section {
    padding: 80px 0;
    background: var(--gray-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text h2 {
    font-size: 32px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--gray);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 25px;
}

.about-tags span {
    background: var(--dark);
    color: var(--white);
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 13px;
}

.about-placeholder {
    background: linear-gradient(135deg, var(--dark), #16213e);
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: rgba(255,255,255,0.2);
    border-radius: 8px;
}

/* Contact */
.contact {
    padding: 80px 0;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    font-size: 28px;
    flex-shrink: 0;
}

.contact-item strong {
    display: block;
    font-size: 14px;
    color: var(--dark);
    margin-bottom: 4px;
}

.contact-item p {
    color: var(--gray);
    font-size: 15px;
}

.contact-form {
    background: var(--gray-light);
    padding: 40px;
    border-radius: 8px;
}

.contact-form h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 25px;
}

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

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form button {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--darker);
    color: var(--white);
    padding: 60px 0 0;
}

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

.footer-brand h2 {
    font-size: 28px;
    font-weight: 800;
    margin-bottom: 10px;
}

.footer-brand h2 span {
    color: var(--primary);
}

.footer-brand p {
    color: #888;
    font-size: 13px;
    line-height: 1.6;
}

.footer-note {
    margin-top: 10px;
    font-size: 12px !important;
    color: #555 !important;
}

.footer-links h4,
.footer-contact h4 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-links a {
    display: block;
    color: #888;
    font-size: 13px;
    margin-bottom: 10px;
    transition: color 0.3s;
}

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

.footer-contact p {
    color: #888;
    font-size: 13px;
    margin-bottom: 8px;
}

.footer-bottom {
    border-top: 1px solid #222;
    padding: 20px 0;
    text-align: center;
    color: #555;
    font-size: 13px;
}

/* Responsive */
@media (max-width: 768px) {
    .header .container {
        flex-direction: column;
        height: auto;
        padding: 15px 20px;
        gap: 15px;
    }
    
    .nav {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .hero h2 {
        font-size: 32px;
    }
    
    .hero-btns {
        flex-direction: column;
        align-items: center;
    }
    
    .features-grid,
    .products-grid,
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header h2 {
        font-size: 28px;
    }
}
