@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-red: #dc2626;
    --dark-red: #b91c1c;
    --white: #ffffff;
    --black: #000000;
    --gray-900: #0a0a0a;
    --gray-800: #1a1a1a;
    --gray-700: #2a2a2a;
    --gray-400: #a3a3a3;
    --gray-300: #d4d4d4;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-logo {
    width: 150px;
    height: 150px;
    animation: spinLogo 2s linear infinite;
    margin-bottom: 2rem;
}

@keyframes spinLogo {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.loading-bar {
    width: 200px;
    height: 4px;
    background: rgba(220, 38, 38, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: linear-gradient(90deg, #dc2626, #ef4444, #dc2626);
    background-size: 200% 100%;
    animation: loadingProgress 1.5s ease-in-out infinite;
    width: 0%;
}

@keyframes loadingProgress {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Snowfall Effect */
.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9998;
    user-select: none;
    pointer-events: none;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1em;
    font-family: Arial, sans-serif;
    animation: snowfall linear infinite;
}

@keyframes snowfall {
    0% {
        transform: translateY(0vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0.3;
    }
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Enhanced Grid Background */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(220, 38, 38, 0.08) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(220, 38, 38, 0.08) 1px, transparent 1px);
    background-size: 25px 25px;
    mask-image: linear-gradient(to bottom, black 40%, transparent 100%);
    pointer-events: none;
    z-index: 0;
}

body::after {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to right, rgba(220, 38, 38, 0.04) 1px, transparent 1px),
                linear-gradient(to bottom, rgba(220, 38, 38, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    z-index: 0;
}

main {
    min-height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    position: relative;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(220, 38, 38, 0.1);
}

.navbar-container {
    width: 100%;
    max-width: 1400px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.navbar-brand {
    flex-shrink: 0;
    z-index: 20;
}

.navbar-brand img {
    height: 50px;
    width: auto;
    transition: all 0.3s;
}

.navbar-brand img:hover {
    transform: scale(1.05);
}

.nav-center {
    display: none;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

@media (min-width: 768px) {
    .nav-center {
        display: flex;
    }
}

.nav-menu {
    background: rgba(26, 26, 26, 0.9);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(220, 38, 38, 0.15);
    border-radius: 12px;
    padding: 8px 24px;
    display: flex;
    align-items: center;
    gap: 32px;
}

.nav-link {
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    transition: all 0.2s;
    position: relative;
    padding: 8px 0;
    color: var(--gray-300);
}

.nav-link:hover {
    color: var(--white);
}

.nav-link.active {
    color: var(--white);
}

.nav-link.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--primary-red);
    box-shadow: 0 0 10px var(--primary-red);
}

.nav-right {
    display: none;
    align-items: center;
    gap: 12px;
    z-index: 20;
}

@media (min-width: 768px) {
    .nav-right {
        display: flex;
    }
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--primary-red);
    color: var(--white);
    padding: 10px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    box-shadow: 0 0 20px rgba(220, 38, 38, 0.4);
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    background: var(--dark-red);
    box-shadow: 0 0 30px rgba(220, 38, 38, 0.6);
    transform: translateY(-2px);
    color: var(--white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    background: var(--white);
    color: var(--black);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background: var(--gray-300);
    color: var(--black);
    transform: translateY(-2px);
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    border-radius: 8px;
    background: transparent;
    color: var(--white);
    font-weight: 700;
    font-size: 14px;
    transition: all 0.2s;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.4);
    color: var(--white);
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 90px;
}

.hero-blob {
    position: absolute;
    top: -15vh;
    left: 50%;
    transform: translateX(-50%);
    width: 70vw;
    height: 40vh;
    background: radial-gradient(circle, rgba(220, 38, 38, 0.25) 0%, transparent 70%);
    filter: blur(80px);
    border-radius: 50%;
    pointer-events: none;
}

.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    animation: particlePulse 4s ease-in-out infinite;
}

@keyframes particlePulse {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.8; transform: scale(1.5); }
}

.hero-content {
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 10;
    width: 100%;
}

.hero-grid {
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
    justify-content: space-between;
    gap: 3rem;
}

@media (min-width: 768px) {
    .hero-grid {
        flex-direction: row;
        gap: 4rem;
    }
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-title {
    font-size: 2.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1.5rem;
    color: var(--white);
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 4rem;
    }
}

.typing-text {
    color: var(--primary-red);
    display: inline-block;
    min-width: 300px;
    text-shadow: 0 0 20px rgba(220, 38, 38, 0.5);
}

.hero-desc {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    color: var(--gray-300);
    max-width: 550px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 2.5rem;
}

.hero-image {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.hero-logo {
    width: 350px;
    height: 350px;
    position: relative;
}

@media (min-width: 768px) {
    .hero-logo {
        width: 500px;
        height: 500px;
    }
}

.hero-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(220, 38, 38, 0.4));
}

/* Features Section */
.features-section {
    width: 100%;
    background: var(--black);
    padding: 4rem 0;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
    }
}

.feature-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: var(--gray-900);
    border: 1px solid rgba(220, 38, 38, 0.1);
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(220, 38, 38, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.2);
    background: rgba(220, 38, 38, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon svg {
    width: 28px;
    height: 28px;
    color: var(--primary-red);
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.feature-text {
    color: var(--gray-400);
    font-size: 0.85rem;
    line-height: 1.6;
}

/* Showroom Section */
.showroom-section {
    width: 100%;
    background: var(--black);
    padding: 5rem 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 0.5rem;
    position: relative;
    display: inline-block;
}

.santa-hat {
    display: inline-block;
    margin-right: 0.5rem;
    animation: swingHat 2s ease-in-out infinite;
}

@keyframes swingHat {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

.winter-emoji {
    display: inline-block;
    margin-left: 0.5rem;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.section-subtitle {
    color: var(--gray-400);
    font-size: 1.1rem;
}

.products-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 640px) {
    .products-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .products-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.product-card {
    background: var(--gray-900);
    border: 1px solid rgba(220, 38, 38, 0.1);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
    position: relative;
}

.product-card::before {
    content: '❄';
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    opacity: 0.1;
    animation: rotate 20s linear infinite;
    z-index: 1;
}

@keyframes rotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.product-card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(220, 38, 38, 0.3);
}

.product-badge {
    position: absolute;
    top: 15px;
    left: 15px;
    background: linear-gradient(135deg, rgba(220,38,38,0.9), rgba(185,28,28,0.9));
    backdrop-filter: blur(10px);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    z-index: 2;
    box-shadow: 0 5px 15px rgba(220,38,38,0.4);
}

.product-img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.product-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.product-price {
    color: var(--primary-red);
    font-weight: 800;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    display: block;
}

/* Stats Section */
.stats-section {
    width: 100%;
    background: var(--black);
    padding: 5rem 0;
    position: relative;
}

.stats-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    text-align: center;
}

@media (min-width: 768px) {
    .stats-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.stat-number {
    font-size: 4rem;
    font-weight: 900;
    color: var(--primary-red);
    margin-bottom: 1rem;
    text-shadow: 0 0 30px rgba(220, 38, 38, 0.5);
}

.stat-label {
    color: var(--gray-300);
    font-weight: 600;
    font-size: 1rem;
}

/* Testimonials Slider */
.testimonials-section {
    width: 100%;
    background: var(--black);
    padding: 5rem 0;
    overflow: hidden;
}

.testimonials-slider {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.testimonials-track {
    display: flex;
    gap: 2rem;
    animation: slide 20s linear infinite;
}

@keyframes slide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.testimonials-track:hover {
    animation-play-state: paused;
}

.testimonial-card {
    min-width: 350px;
    background: var(--gray-900);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid rgba(220, 38, 38, 0.1);
    flex-shrink: 0;
}

.stars {
    color: var(--primary-red);
    font-size: 1rem;
    margin-bottom: 1rem;
}

.testimonial-text {
    color: var(--gray-300);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-red);
}

.user-details h6 {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
    color: var(--white);
}

.user-details span {
    font-size: 0.85rem;
    color: var(--gray-400);
}

/* Footer */
footer {
    width: 100%;
    background: var(--black);
    border-top: 1px solid rgba(220, 38, 38, 0.1);
    padding: 2.5rem 0;
}

.footer-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
    }
}

.footer-text {
    color: var(--gray-400);
    font-size: 0.9rem;
    font-weight: 500;
}

.footer-social {
    display: flex;
    gap: 1.5rem;
}

.footer-social-link {
    color: var(--gray-400);
    transition: all 0.3s;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 600;
}

.footer-social-link:hover {
    color: var(--primary-red);
}

.footer-social-link svg {
    width: 20px;
    height: 20px;
}