/* ===== Hero Section ===== */
.hero-section {
    position: relative; padding: 8rem 2rem 5rem; background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden; min-height: 600px; display: flex; align-items: center; justify-content: center;
}
.hero-bg { position: absolute; top: 0; left: 0; right: 0; bottom: 0; overflow: hidden; }
.hero-shape {
    position: absolute; border-radius: 50%; background: rgba(255, 255, 255, 0.08);
    animation: heroFloat 20s infinite ease-in-out;
}
.shape-1 { width: 400px; height: 400px; top: -100px; left: -100px; animation-delay: 0s; }
.shape-2 { width: 300px; height: 300px; top: 50%; right: -50px; animation-delay: -5s; }
.shape-3 { width: 200px; height: 200px; bottom: -50px; left: 30%; animation-delay: -10s; }

@keyframes heroFloat {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(40px, -40px) rotate(120deg); }
    66% { transform: translate(-30px, 30px) rotate(240deg); }
}

.hero-content { position: relative; z-index: 10; text-align: center; color: white; max-width: 900px; }
.hero-badge {
    display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.5rem 1.25rem;
    background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(10px); border-radius: 50px;
    font-size: 0.9rem; font-weight: 600; margin-bottom: 1.5rem; border: 1px solid rgba(255, 255, 255, 0.3);
}
.hero-content h1 { font-size: 3.5rem; font-weight: 900; margin-bottom: 1rem; line-height: 1.2; }
.gradient-text {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.hero-content p { font-size: 1.2rem; opacity: 0.95; margin-bottom: 3rem; max-width: 600px; margin-left: auto; margin-right: auto; }

.hero-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; margin-bottom: 3rem; }
.hero-stat {
    background: rgba(255, 255, 255, 0.15); backdrop-filter: blur(10px); padding: 1.5rem 1rem;
    border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, 0.2); transition: all 0.3s;
}
.hero-stat:hover { transform: translateY(-5px); background: rgba(255, 255, 255, 0.25); }
.stat-icon { font-size: 1.5rem; margin-bottom: 0.75rem; opacity: 0.9; }
.stat-number { font-size: 2.25rem; font-weight: 900; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.85rem; opacity: 0.9; }

.hero-buttons { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.btn-hero-primary, .btn-hero-secondary {
    display: inline-flex; align-items: center; gap: 0.75rem; padding: 1rem 2rem;
    border-radius: 50px; font-weight: 700; font-size: 1.05rem; text-decoration: none; transition: all 0.3s;
}
.btn-hero-primary { background: white; color: var(--primary); box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2); }
.btn-hero-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3); }
.btn-hero-secondary { background: rgba(255, 255, 255, 0.2); color: white; border: 2px solid rgba(255, 255, 255, 0.3); backdrop-filter: blur(10px); }
.btn-hero-secondary:hover { background: rgba(255, 255, 255, 0.3); transform: translateY(-3px); }

/* ===== Search Section ===== */
.search-section {
    padding: 2rem 0; background: white; position: sticky; top: 70px; z-index: 100;
    box-shadow: var(--shadow); border-bottom: 1px solid var(--light-gray);
}
.search-wrapper { display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.search-input-box { flex: 1; min-width: 250px; position: relative; }
.search-input-box i { position: absolute; left: 1.25rem; top: 50%; transform: translateY(-50%); color: var(--gray); font-size: 1.1rem; }
.search-input-box input {
    width: 100%; padding: 0.9rem 1.25rem 0.9rem 3.25rem; border: 2px solid var(--light-gray);
    border-radius: 50px; font-size: 1rem; transition: all 0.3s; font-family: inherit; background: var(--light);
}
.search-input-box input:focus { outline: none; border-color: var(--primary); background: white; box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.1); }

.filter-buttons { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-btn {
    padding: 0.75rem 1.25rem; background: var(--light); border: 2px solid var(--light-gray);
    border-radius: 50px; cursor: pointer; font-weight: 600; transition: all 0.3s;
    display: flex; align-items: center; gap: 0.5rem; font-size: 0.9rem; color: var(--dark); font-family: inherit;
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); color: white; border-color: var(--primary); }

/* ===== Models Section ===== */
.models-section { padding: 4rem 0; background: var(--light); }
.section-title { text-align: center; margin-bottom: 3rem; }
.section-title h2 { font-size: 2rem; color: var(--dark); margin-bottom: 0.5rem; display: flex; align-items: center; justify-content: center; gap: 0.75rem; }
.section-title h2 i { color: var(--primary); }
.section-title p { color: var(--gray); font-size: 1.05rem; }

.models-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.75rem; }

.model-card {
    background: white; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow);
    transition: all 0.3s; border: 1px solid var(--light-gray); animation: fadeIn 0.5s ease;
}
.model-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-xl); border-color: var(--primary); }

.model-slider {
    position: relative; width: 100%; height: 200px; overflow: hidden; background: var(--light);
}
.discount-badge {
    position: absolute; top: 15px; left: 15px; background: linear-gradient(135deg, var(--danger), #dc2626);
    color: white; padding: 0.4rem 0.85rem; border-radius: 20px; font-size: 0.8rem; font-weight: 800; z-index: 10;
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.4); animation: pulse 2s infinite;
}
@keyframes pulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }

.wishlist-btn {
    position: absolute; top: 15px; right: 15px; width: 36px; height: 36px;
    background: rgba(255, 255, 255, 0.9); border: none; border-radius: 50%;
    display: flex; align-items: center; justify-content: center; cursor: pointer;
    transition: all 0.3s; z-index: 10; color: var(--gray); font-size: 1.1rem;
}
.wishlist-btn:hover, .wishlist-btn.active { background: var(--danger); color: white; transform: scale(1.1); }

.slider-overlay {
    position: absolute; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0, 0, 0, 0.6);
    display: flex; align-items: center; justify-content: center; opacity: 0; transition: opacity 0.3s;
}
.model-slider:hover .slider-overlay { opacity: 1; }
.quick-view-btn {
    display: flex; align-items: center; gap: 0.75rem; padding: 0.85rem 1.75rem;
    background: white; color: var(--primary); border: none; border-radius: 50px;
    font-weight: 700; cursor: pointer; transition: all 0.3s; font-size: 1rem; font-family: inherit;
}
.quick-view-btn:hover { transform: scale(1.05); box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3); }

.model-card-info { padding: 1.25rem; }
.model-card-info h3 { font-size: 1.1rem; margin-bottom: 0.4rem; color: var(--dark); font-weight: 700; }
.model-desc { color: var(--gray); font-size: 0.85rem; margin-bottom: 0.85rem; }
.model-details {
    display: flex; justify-content: space-between; align-items: center; padding: 0.65rem 0;
    border-top: 1px solid var(--light-gray); border-bottom: 1px solid var(--light-gray); margin-bottom: 0.85rem;
}
.detail-item { font-size: 0.8rem; color: var(--gray); display: flex; align-items: center; gap: 0.4rem; }
.detail-item i { color: var(--primary); }

.price-display { display: flex; align-items: center; gap: 0.75rem; margin-bottom: 1rem; flex-wrap: wrap; min-height: 40px; }
.original-price { font-size: 1rem; color: #94a3b8; text-decoration: line-through; font-weight: 600; }
.current-price { font-size: 1.5rem; font-weight: 800; color: var(--success); letter-spacing: -0.5px; }
.current-price.free {
    color: var(--primary); font-size: 1.65rem; background: linear-gradient(135deg, #f0fdf4, #dcfce7);
    padding: 0.25rem 0.75rem; border-radius: 8px; border: 2px solid var(--success);
}
.price-notice {
    display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem;
    background: linear-gradient(135deg, #fef3c7, #fde68a); border-radius: var(--radius-xs);
    font-size: 0.8rem; color: #92400e; font-weight: 600; margin-bottom: 1rem; border: 1px solid #fcd34d; justify-content: center;
}
.price-notice i { color: #f59e0b; font-size: 1rem; }

.model-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 0.65rem; }
.btn-view-3d, .btn-buy {
    display: flex; align-items: center; justify-content: center; gap: 0.4rem; padding: 0.7rem;
    border-radius: var(--radius-xs); font-weight: 600; text-decoration: none; transition: all 0.3s;
    font-size: 0.85rem; border: none; cursor: pointer; font-family: inherit;
}
.btn-view-3d { background: var(--light); color: var(--primary); border: 2px solid var(--primary); }
.btn-view-3d:hover { background: var(--primary); color: white; transform: translateY(-2px); }
.btn-buy { background: linear-gradient(135deg, var(--success), #059669); color: white; box-shadow: 0 4px 12px rgba(16, 185, 129, 0.3); }
.btn-buy:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4); }

.empty-state { grid-column: 1/-1; text-align: center; padding: 4rem 2rem; color: var(--gray); }
.empty-icon { font-size: 4rem; margin-bottom: 1rem; opacity: 0.3; }
.empty-state h2 { margin-bottom: 0.5rem; color: var(--dark); }

/* ===== Features Section ===== */
.features-section { padding: 5rem 0; background: white; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.feature-card {
    background: var(--light); padding: 2rem; border-radius: var(--radius); text-align: center;
    transition: all 0.3s; border: 2px solid var(--light-gray);
}
.feature-card:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: var(--shadow-lg); }
.feature-icon-box {
    width: 80px; height: 80px; background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1.5rem; font-size: 2rem; color: white;
}
.feature-card h3 { font-size: 1.2rem; margin-bottom: 0.75rem; color: var(--dark); }
.feature-card p { color: var(--gray); font-size: 0.95rem; line-height: 1.6; }

@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }

/* ===== Index Responsive ===== */
@media (max-width: 1024px) {
    .hero-content h1 { font-size: 2.75rem; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 768px) {
    .hero-section { padding: 6rem 1rem 3rem; min-height: auto; }
    .hero-content h1 { font-size: 2rem; }
    .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 1rem; }
    .hero-stat { padding: 1rem; }
    .stat-number { font-size: 1.75rem; }
    .hero-buttons { flex-direction: column; }
    .btn-hero-primary, .btn-hero-secondary { width: 100%; justify-content: center; }
    .search-section { top: 70px; }
    .search-wrapper { flex-direction: column; }
    .search-input-box { width: 100%; }
    .filter-buttons { width: 100%; overflow-x: auto; flex-wrap: nowrap; padding-bottom: 0.5rem; }
    .filter-btn { white-space: nowrap; flex-shrink: 0; }
    .models-grid { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 1.25rem; }
    .model-slider { height: 180px; }
    .section-title h2 { font-size: 1.5rem; }
    .features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
    .hero-content h1 { font-size: 1.75rem; }
    .models-grid { grid-template-columns: 1fr; }
    .model-slider { height: 200px; }
    .container { padding: 0 1rem; }
}