/* ========================================
   臻选好物 - Premium E-commerce Website
   High-end, Cool Aesthetic Design
   ======================================== */

/* CSS Variables */
:root {
    /* Primary Colors */
    --primary: #D30F1B;
    --primary-dark: #A00C15;
    --primary-light: #E8424D;
    
    /* Gradient Colors */
    --gradient-start: #D1101B;
    --gradient-end: #EB5A17;
    --gradient-main: linear-gradient(135deg, var(--gradient-start), var(--gradient-end));
    --gradient-hover: linear-gradient(135deg, var(--gradient-end), var(--gradient-start));
    
    /* Neutral Colors */
    --black: #0A0A0A;
    --dark: #1A1A1A;
    --dark-gray: #2D2D2D;
    --gray: #6B6B6B;
    --light-gray: #B8B8B8;
    --off-white: #F5F5F5;
    --white: #FFFFFF;
    
    /* Accent Colors */
    --gold: #C9A962;
    --gold-light: #E8D5A3;
    --success: #2ECC71;
    --warning: #F39C12;
    
    /* Typography */
    --font-display: 'Cinzel', 'Noto Sans SC', 'Noto Sans JP', serif;
    --font-heading: 'Playfair Display', 'Noto Sans SC', 'Noto Sans JP', serif;
    --font-body: 'Noto Sans SC', 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
    
    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.15);
    --shadow-lg: 0 8px 40px rgba(0, 0, 0, 0.2);
    --shadow-glow: 0 0 30px rgba(211, 15, 27, 0.3);
}

/* Reset & Base */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--black);
    color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-normal);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

ul {
    list-style: none;
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loader-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px solid transparent;
}

.loader-ring:nth-child(1) {
    border-top-color: var(--primary);
    animation: spin 1.5s linear infinite;
}

.loader-ring:nth-child(2) {
    width: 80%;
    height: 80%;
    border-right-color: var(--gradient-end);
    animation: spin 1.2s linear infinite reverse;
}

.loader-ring:nth-child(3) {
    width: 60%;
    height: 60%;
    border-bottom-color: var(--gold);
    animation: spin 1s linear infinite;
}

.loader-text {
    font-family: var(--font-display);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    color: var(--white);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Cursor Glow Effect */
.cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(211, 15, 27, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
    transform: translate(-50%, -50%);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

body:hover .cursor-glow {
    opacity: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 0;
    transition: var(--transition-normal);
}

.navbar.scrolled {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(20px);
    padding: 1rem 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    height: 36px;
    width: auto;
    transition: var(--transition-normal);
}

.logo:hover .logo-img {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 2.5rem;
}

.nav-links a {
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    color: var(--light-gray);
    position: relative;
    padding: 0.5rem 0;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-main);
    transition: var(--transition-normal);
}

.nav-links a:hover {
    color: var(--white);
}

.nav-links a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    padding: 0.25rem;
    background: var(--dark);
    border-radius: 8px;
}

.lang-btn {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--light-gray);
    border-radius: 6px;
    transition: var(--transition-fast);
}

.lang-btn:hover {
    color: var(--white);
}

.lang-btn.active {
    background: var(--gradient-main);
    color: var(--white);
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
}

.menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: var(--transition-normal);
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(20px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-normal);
}

.mobile-menu.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

.mobile-nav-links a {
    font-family: var(--font-display);
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--white);
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-normal);
}

.mobile-menu.active .mobile-nav-links a {
    opacity: 1;
    transform: translateY(0);
}

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

/* Hero Carousel */
.hero-carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

.carousel-slide.active {
    opacity: 1;
    visibility: visible;
}

.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.slide-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.carousel-slide.active .slide-bg img {
    transform: scale(1);
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.9) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(211, 15, 27, 0.3) 100%
    );
}

.overlay-style-2 {
    background: linear-gradient(
        to right,
        rgba(10, 10, 10, 0.95) 0%,
        rgba(10, 10, 10, 0.7) 50%,
        rgba(201, 169, 98, 0.2) 100%
    );
}

.overlay-style-3 {
    background: linear-gradient(
        to bottom,
        rgba(10, 10, 10, 0.8) 0%,
        rgba(10, 10, 10, 0.6) 50%,
        rgba(46, 204, 113, 0.2) 100%
    );
}

.slide-content {
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 80px;
}

.slide-badge {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1.25rem;
    background: var(--gradient-main);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--white);
    width: fit-content;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.2s;
    opacity: 0;
}

.badge-gold {
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    color: var(--black);
}

.badge-green {
    background: linear-gradient(135deg, var(--success), #27ae60);
}

.slide-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.4s;
    opacity: 0;
}

.slide-subtitle {
    font-size: clamp(1rem, 2vw, 1.5rem);
    color: var(--light-gray);
    margin-bottom: 2rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.6s;
    opacity: 0;
}

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

/* Slide 1 - QR Code Section */
.slide-cta {
    display: flex;
    align-items: flex-start;
    gap: 3rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.qr-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.qr-code {
    width: 120px;
    height: 120px;
    background: var(--dark);
    border-radius: 12px;
    padding: 10px;
    box-shadow: var(--shadow-glow);
    overflow: hidden;
}

.qr-code img {
    width: 100%;
    height: 100%;
    border-radius: 4px;
    object-fit: contain;
    display: block;
}

.qr-label {
    font-size: 0.9rem;
    color: var(--light-gray);
}

.hero-cta {
    margin-top: 0;
    width: fit-content;
}

/* Slide 2 - CTA Button & Stats */
.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: var(--gradient-main);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--white);
    transition: var(--transition-normal);
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
    width: fit-content;
    flex-shrink: 0;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-glow);
}

.cta-button svg {
    transition: var(--transition-normal);
}

.cta-button:hover svg {
    transform: translateX(5px);
}

.stats-row {
    display: flex;
    gap: 4rem;
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 1s;
    opacity: 0;
}

.stat-item {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.stat-label {
    font-size: 0.9rem;
    color: var(--light-gray);
}

/* Slide 3 - Guarantee Cards */
.guarantee-cards {
    display: flex;
    gap: 2rem;
    margin-top: 1rem;
    animation: fadeInUp 0.8s ease forwards;
    animation-delay: 0.8s;
    opacity: 0;
}

.guarantee-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    transition: var(--transition-normal);
}

.guarantee-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
    border-color: var(--success);
}

.guarantee-icon {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--success), #27ae60);
    border-radius: 50%;
    color: var(--white);
}

/* Carousel Controls */
.carousel-controls {
    position: absolute;
    bottom: 100px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 2rem;
    z-index: 20;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    color: var(--white);
    transition: var(--transition-normal);
}

.carousel-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
}

.carousel-dots {
    display: flex;
    gap: 0.75rem;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    transition: var(--transition-normal);
}

.dot.active {
    background: var(--gradient-main);
    transform: scale(1.2);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--light-gray);
    font-size: 0.85rem;
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--light-gray);
    border-radius: 12px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--primary);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-10px); }
    60% { transform: translateX(-50%) translateY(-5px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 20px; }
}

/* Section Styles */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header.light {
    color: var(--white);
}

.section-tag {
    display: inline-block;
    padding: 0.5rem 1.25rem;
    background: rgba(211, 15, 27, 0.1);
    border: 1px solid rgba(211, 15, 27, 0.3);
    border-radius: 30px;
    font-size: 0.85rem;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.section-desc {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

/* Products Section */
.products-section {
    padding: var(--space-xl) 0;
    background: var(--black);
    position: relative;
}

.products-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top right, rgba(211, 15, 27, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

/* New Products Grid */
.products-grid-new {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
}

.product-card-new {
    position: relative;
    background: var(--dark);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-normal);
}

.product-card-new:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(211, 15, 27, 0.15);
}

.product-link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.product-image-new {
    position: relative;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--dark-gray);
}

.product-image-new img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card-new:hover .product-image-new img {
    transform: scale(1.08);
}

/* QR Code Popup on Hover */
.product-qr-popup {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem;
    background: rgba(255, 255, 255, 0.98);
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 10;
}

.product-card-new:hover .product-qr-popup {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, -50%) scale(1);
}

.product-qr-popup img {
    width: 120px;
    height: 120px;
    border-radius: 8px;
    object-fit: contain;
    display: block;
    background: var(--dark);
    padding: 8px;
}

.product-qr-popup span {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--black);
}

.product-info-new {
    padding: 1.25rem;
}

.product-name-new {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-desc-new {
    font-size: 0.85rem;
    color: var(--gray);
    line-height: 1.5;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-price-new {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
}

.buy-btn {
    padding: 0.5rem 1rem;
    background: var(--gradient-main);
    border: none;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-normal);
}

.buy-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(211, 15, 27, 0.4);
}

/* Features Section */
.features-section {
    padding: var(--space-xl) 0;
    position: relative;
    overflow: hidden;
}

.features-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a0a0b 0%, #2d0d10 25%, #D30F1B 50%, #EB5A17 75%, #2d1510 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.features-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(235, 90, 23, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(0, 0, 0, 0.1) 0%, transparent 60%);
}

.features-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 30px,
        rgba(255, 255, 255, 0.02) 30px,
        rgba(255, 255, 255, 0.02) 60px
    );
    animation: patternMove 20s linear infinite;
}

@keyframes patternMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(60px, 60px); }
}

.features-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
}

.floating-shape.shape-1 {
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
    top: -100px;
    right: 10%;
    animation: float1 8s ease-in-out infinite;
}

.floating-shape.shape-2 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, #fff 0%, transparent 70%);
    bottom: -50px;
    left: 5%;
    animation: float2 10s ease-in-out infinite;
}

.floating-shape.shape-3 {
    width: 150px;
    height: 150px;
    background: radial-gradient(circle, var(--gradient-end) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    animation: float3 12s ease-in-out infinite;
}

@keyframes float1 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-30px, 30px) scale(1.1); }
}

@keyframes float2 {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(40px, -20px) scale(0.9); }
}

@keyframes float3 {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    50% { transform: translate(-50%, -50%) scale(1.2); }
}

.features-section .section-container {
    position: relative;
    z-index: 10;
}

.features-section .section-tag {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--white);
    backdrop-filter: blur(10px);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.features-grid.three-cols {
    grid-template-columns: repeat(3, 1fr);
    max-width: 1100px;
    margin: 0 auto;
}

.feature-card {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.feature-card:hover::before {
    left: 100%;
}

.feature-card:hover {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.25), rgba(255, 255, 255, 0.1));
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.3),
        0 0 40px rgba(255, 255, 255, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.feature-icon {
    width: 90px;
    height: 90px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.05));
    border-radius: 50%;
    color: var(--white);
    position: relative;
    transition: all 0.4s ease;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.2),
        inset 0 2px 4px rgba(255, 255, 255, 0.1);
}

.feature-icon::after {
    content: '';
    position: absolute;
    inset: -3px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.3), transparent, rgba(255, 255, 255, 0.1));
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(255, 255, 255, 0.2);
}

.feature-card:hover .feature-icon::after {
    opacity: 1;
}

.feature-title {
    font-family: var(--font-display);
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
    letter-spacing: 0.02em;
    transition: all 0.3s ease;
}

.feature-card:hover .feature-title {
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
}

.feature-desc {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.8;
    transition: color 0.3s ease;
}

.feature-card:hover .feature-desc {
    color: rgba(255, 255, 255, 0.95);
}

/* Service Guarantee Section */
.service-section {
    padding: var(--space-xl) 0;
    background: var(--black);
    position: relative;
    overflow: hidden;
}

.service-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top left, rgba(211, 15, 27, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at bottom right, rgba(235, 90, 23, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.guarantee-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-bottom: 4rem;
}

.guarantee-item {
    text-align: center;
    padding: 2.5rem 2rem;
    background: linear-gradient(145deg, var(--dark) 0%, rgba(45, 45, 45, 0.5) 100%);
    border: 1px solid var(--dark-gray);
    border-radius: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.guarantee-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--gradient-main);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.guarantee-item:hover::before {
    transform: scaleX(1);
}

.guarantee-item:hover {
    transform: translateY(-8px);
    border-color: rgba(211, 15, 27, 0.3);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.guarantee-icon-box {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, rgba(211, 15, 27, 0.15), rgba(235, 90, 23, 0.1));
    border-radius: 50%;
    color: var(--primary);
    transition: all 0.4s ease;
}

.guarantee-item:hover .guarantee-icon-box {
    background: var(--gradient-main);
    color: var(--white);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(211, 15, 27, 0.3);
}

.guarantee-title {
    font-family: var(--font-display);
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--white);
}

.guarantee-desc {
    font-size: 0.95rem;
    color: var(--gray);
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4rem;
    padding: 3rem 4rem;
    background: linear-gradient(135deg, var(--dark) 0%, rgba(211, 15, 27, 0.1) 100%);
    border: 1px solid var(--dark-gray);
    border-radius: 24px;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 200%;
    background: radial-gradient(circle, rgba(211, 15, 27, 0.1) 0%, transparent 60%);
    pointer-events: none;
}

.cta-content {
    text-align: left;
    position: relative;
    z-index: 1;
}

.cta-title {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: var(--gradient-main);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.cta-desc {
    font-size: 1rem;
    color: var(--light-gray);
}

.cta-qr {
    position: relative;
    z-index: 1;
}

.cta-qr img {
    width: 140px;
    height: 140px;
    border-radius: 16px;
    background: var(--dark);
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
}

.cta-qr img:hover {
    transform: scale(1.05);
}

/* Footer */
.footer {
    background: var(--black);
    border-top: 1px solid var(--dark-gray);
}

.footer-top {
    padding: var(--space-md) 0;
}

.footer-simple {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.footer-logo .logo-img {
    height: 36px;
    width: auto;
}

.footer-tagline {
    font-size: 1rem;
    color: var(--gray);
}

.footer-bottom {
    padding: 1.5rem 0;
    border-top: 1px solid var(--dark-gray);
}

.footer-bottom .section-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.9rem;
    color: var(--gray);
}

.footer-legal {
    display: flex;
    gap: 2rem;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--gray);
}

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

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-main);
    border-radius: 50%;
    color: var(--white);
    box-shadow: var(--shadow-glow);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition-normal);
    z-index: 100;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .products-grid-new {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid.three-cols {
        grid-template-columns: repeat(3, 1fr);
    }
    
}

@media (max-width: 992px) {
    .nav-links {
        display: none;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .guarantee-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .cta-section {
        flex-direction: column;
        gap: 2rem;
        padding: 2rem;
        text-align: center;
    }
    
    .cta-content {
        text-align: center;
    }
    
}

@media (max-width: 768px) {
    :root {
        --space-xl: 5rem;
        --space-lg: 3rem;
    }
    
    .carousel-controls {
        bottom: 80px;
    }
    
    .slide-cta {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .stats-row {
        gap: 2rem;
        flex-wrap: wrap;
    }
    
    .guarantee-cards {
        flex-direction: column;
        gap: 1rem;
    }
    
    .products-grid-new {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .features-grid,
    .features-grid.three-cols {
        grid-template-columns: 1fr;
    }
    
    .product-qr-popup img {
        width: 100px;
        height: 100px;
    }
    
    .about-stats {
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    
    .footer-bottom .section-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .section-container {
        padding: 0 1rem;
    }
    
    .slide-content {
        padding: 0 1rem;
    }
    
    .lang-switcher {
        gap: 0.25rem;
    }
    
    .lang-btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
    
}

