:root {
    --primary: #c2410c;
    --primary-light: #ea580c;
    --primary-dark: #7c2d12;
    --secondary: #d97706;
    --secondary-light: #fbbf24;
    --secondary-dark: #b45309;
    --accent: #eab308;
    --accent-light: #fde68a;
    --accent-dark: #ca8a04;
    --success: #2ecc71;
    --success-dark: #27ae60;
    --danger: #e74c3c;
    --danger-dark: #c0392b;
    --dark: #431407;
    --darker: #292524;
    --light: #fffbeb;
    --lighter: #ffffff;
    --text: #44403c;
    --text-light: #78716c;
    --border-radius: 12px;
    --shadow: 0 10px 30px rgba(194, 65, 12, 0.1);
    --sale-badge: #dc2626;
    --autumn-rust: #c2410c;
    --autumn-amber: #d97706;
    --autumn-gold: #eab308;
    --autumn-burgundy: #7c2d12;
    --autumn-cream: #fef3c7;
    --autumn-copper: #ea580c;
    --autumn-white: #ffffff;
    --autumn-sky: #c2410c;
    --autumn-sun: #eab308;
    --autumn-coral: #ea580c;
    --autumn-sand: #fef3c7;
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--light);
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
    z-index: 1;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
    position: relative;
}

.navbar-links {
    display: flex;
    gap: 30px;
}

.navbar-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.navbar-links a:hover {
    color: var(--autumn-gold);
}

.logo {
    font-size: 1.8rem;
    font-weight: 700;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-size: 24px;
}

/* Header & Hero */
header {
    background: linear-gradient(159deg, #292524 0%, #431407 25%, #7c2d12 55%, #c2410c 80%, #d97706 100%);
    color: white;
    padding: 20px 0 50px;
    position: relative;
    overflow: visible;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.22;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(234, 179, 8, 0.2) 0%, transparent 45%),
        radial-gradient(circle at 80% 20%, rgba(251, 191, 36, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 60% 85%, rgba(194, 65, 12, 0.15) 0%, transparent 50%);
    background-size: 280px 280px, 220px 220px, 260px 260px;
    animation: leafDrift 22s ease-in-out infinite;
}

@keyframes leafDrift {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0.22; }
    50% { transform: translateY(-10px) translateX(8px); opacity: 0.3; }
}

/* Autumn Leaves Animation */
.autumn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.particle {
    position: absolute;
    font-size: 1.2em;
    line-height: 1;
    filter: drop-shadow(0 1px 2px rgba(67, 20, 7, 0.25));
    animation: leafFall linear infinite;
}

@keyframes leafFall {
    0% {
        transform: translateY(-10vh) rotate(0deg) translateX(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    50% {
        transform: translateY(50vh) rotate(120deg) translateX(30px);
    }
    90% {
        opacity: 0.75;
    }
    100% {
        transform: translateY(110vh) rotate(240deg) translateX(-15px);
        opacity: 0;
    }
}

.hero {
    padding: 20px 0 70px;
    text-align: center;
    position: relative;
}

.hero-badge {
    display: inline-block;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 30px;
    background-color: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 999px;
    animation: pulse 2s ease-in-out infinite;
    backdrop-filter: blur(10px);
}

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

.hero h1 {
    font-size: 62px;
    font-weight: 800;
    margin-bottom: 25px;
    color: white;
    letter-spacing: -.02em;
    font-family: Manrope, sans-serif;
    font-weight: 800;
    line-height: 1.12;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.8);
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 300;
    color: #fff;
}

.countdown {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.countdown-item {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 30px;
    border-radius: var(--border-radius);
    text-align: center;
    min-width: 100px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.countdown-number {
    font-size: 2.5rem;
    font-weight: 800;
    font-family: Manrope, sans-serif;
    background: linear-gradient(135deg, var(--autumn-sky), var(--autumn-sun));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-top: 5px;
    color: var(--primary-dark);
    font-weight: 600;
    opacity: 0.9;
}

.hero-image {
    position: relative;
    margin-top: 60px;
    z-index: 1;
}

.hero-image img {
    max-width: 100%;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

/* Buttons */
.hero .cta-button {
    display: inline-block;
    background-image: linear-gradient(135deg, #d97706 0%, #c2410c 50%, #7c2d12 100%);
    color: white;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(194, 65, 12, 0.35);
    margin: 0 auto;
    position: relative;
    z-index: 10;
}

.hero .cta-button:hover {
    transform: translateY(-3px);
}

.hero .button-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 20px;
    position: relative;
    z-index: 10;
    top: 50px;
}

.cta-button2 {
    display: inline-block;
    background: #fff;
    color: #7c2d12;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 10px 20px rgba(194, 65, 12, 0.18);
}

.cta-button2:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 25px rgb(221 221 221 / 40%);
}

.secondary-cta {
    background-image: linear-gradient(135deg, var(--primary), var(--primary-dark));
    box-shadow: 0 10px 20px rgba(67, 97, 238, 0.3);
}

.secondary-cta:hover {
    box-shadow: 0 15px 25px rgba(67, 97, 238, 0.4);
}

.outline-button {
    display: inline-block;
    background-color: transparent;
    color: white;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
    margin-left: 15px;
}

.outline-button:hover {
    border-color: white;
    background-color: rgba(255, 255, 255, 0.1);
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

section.with-bg {
    background-color: var(--lighter);
}

.under-hero-white {
    background: white !important;
    width: 100%;
    height: 280px;
    position: absolute;
    bottom: 0px !important;
}

.section-title {
    text-align: center;
    margin-bottom: 70px;
    position: relative;
}

.section-subtitle {
    color: var(--autumn-sky);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
}

.section-title h2 {
    font-size: 2.8rem;
    line-height: 1.2;
    color: var(--darker);
    margin-bottom: 20px;
    font-weight: 700;
}

.section-title p {
    color: var(--text-light);
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* Products Grid */
.products-section {
    padding: 80px 0;
    background-color: var(--lighter);
    position: relative;
    overflow: hidden;
}

.products-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(194, 65, 12, 0.04) 2px, transparent 2px),
        radial-gradient(rgba(234, 179, 8, 0.035) 1px, transparent 1px);
    background-size: 30px 30px, 15px 15px;
    z-index: 0;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.product-card {
    background-color: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.product-image {
    position: relative;
    width: 100%;
    padding-top: 75%;
    overflow: hidden;
    background: var(--light);
}

.product-image a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
}

.product-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

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

.sale-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, var(--sale-badge), #f97316);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 2;
    box-shadow: 0 4px 15px rgba(220, 38, 38, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.product-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: var(--darker);
    line-height: 1.4;
}

.product-title a {
    color: var(--darker);
    text-decoration: none;
    transition: color 0.3s ease;
}

.product-title a:hover {
    color: var(--primary);
}

.product-excerpt {
    color: var(--text-light);
    font-size: 0.95rem;
    margin-bottom: 20px;
    flex-grow: 1;
    line-height: 1.6;
}

.product-price {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--autumn-sky), var(--autumn-sun));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-family: Manrope, sans-serif;
}

.price-original {
    font-size: 1.1rem;
    color: var(--text-light);
    text-decoration: line-through;
}

.product-link {
    display: inline-block;
    background: linear-gradient(135deg, var(--autumn-sky), var(--primary-dark));
    color: white;
    text-decoration: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    text-align: center;
    margin-top: 15px;
}

.product-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(194, 65, 12, 0.28);
}

.no-products {
    text-align: center;
    padding: 60px 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.no-products h3 {
    font-size: 1.8rem;
    color: var(--darker);
    margin-bottom: 15px;
}

.no-products p {
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Features */
.features {
    padding: 80px 0;
    background-color: var(--lighter);
    position: relative;
    overflow: hidden;
}

.features::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(194, 65, 12, 0.04) 2px, transparent 2px),
        radial-gradient(rgba(234, 179, 8, 0.035) 1px, transparent 1px);
    background-size: 30px 30px, 15px 15px;
    z-index: 0;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    position: relative;
    z-index: 1;
}

.feature-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 40px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.03);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, var(--autumn-sky), var(--autumn-sun), var(--autumn-coral));
    opacity: 0;
    transition: all 0.4s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--darker);
    font-weight: 600;
}

.feature-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

.icon-feature {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 47px;
    height: 47px;
    border-radius: 50%;
    margin-bottom: 25px;
    color: white;
    font-size: 28px;
    background: linear-gradient(135deg, var(--autumn-sky), var(--autumn-sun));
    box-shadow: 0 3px 7px rgba(194, 65, 12, 0.28);
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, #431407 0%, #7c2d12 40%, #c2410c 75%, #d97706 100%);
    padding: 50px;
    border-radius: var(--border-radius);
    margin: 50px 0;
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(124, 45, 18, 0.28);
}

.highlight-box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="white" opacity="0.05"/></svg>');
    background-size: 30px 30px;
    opacity: 0.2;
}

.highlight-box h3 {
    margin-bottom: 20px;
    font-size: 2rem;
    font-weight: 700;
}

.highlight-box p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Autumn Sale Dark Section */
.autumn-sale-section {
    padding: 100px 0;
    background: linear-gradient(159deg, #292524 0%, #431407 30%, #7c2d12 60%, #d97706 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.autumn-sale-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(rgba(234, 179, 8, 0.08) 2px, transparent 2px),
        radial-gradient(rgba(251, 191, 36, 0.05) 1px, transparent 1px);
    background-size: 40px 40px, 20px 20px;
    opacity: 0.55;
    z-index: 0;
}

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

.autumn-sale-section h2 {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 25px;
    font-family: Manrope, sans-serif;
    background: linear-gradient(135deg, #fff 0%, var(--autumn-gold) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.autumn-sale-section p {
    font-size: 1.3rem;
    max-width: 800px;
    margin: 0 auto 40px;
    opacity: 0.9;
    line-height: 1.8;
}

.autumn-sale-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 30px;
    border-radius: var(--border-radius);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border-color: var(--autumn-gold);
}

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    font-family: Manrope, sans-serif;
    background: linear-gradient(135deg, var(--autumn-gold), #fff);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.9;
}

/* Call to Action */
.call-to-action {
    padding: 100px 0;
    text-align: center;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--autumn-sky) 45%, var(--autumn-sun) 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.call-to-action::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml,<svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg"><circle cx="2" cy="2" r="1" fill="white" opacity="0.05"/></svg>');
    background-size: 30px 30px;
    opacity: 0.2;
}

.call-to-action h2 {
    font-size: 2.8rem;
    margin-bottom: 25px;
    font-weight: 700;
}

.call-to-action p {
    font-size: 1.3rem;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.9;
}

span.hero-highlight {
    -webkit-text-fill-color: transparent;
    background-image: linear-gradient(90deg, #fde68a, #ffffff, #fbbf24);
    -webkit-background-clip: text;
    background-clip: text;
    font-weight: 800;
}

/* Footer */
footer {
    background-color: var(--darker);
    color: white;
    padding: 80px 0 30px;
    position: relative;
}

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

.footer-column h3 {
    margin-bottom: 25px;
    font-size: 1.3rem;
    font-weight: 600;
    color: white;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1rem;
}

.footer-links a:hover {
    color: white;
    transform: translateX(5px);
    display: inline-block;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    margin-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.95rem;
}

/* Sticky Bar */
.sticky-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(90deg, var(--darker) 0%, var(--primary-dark) 40%, var(--autumn-sky) 75%, var(--autumn-coral) 100%);
    color: white;
    padding: 15px 0;
    text-align: center;
    z-index: 1000;
    justify-content: center;
    align-items: center;
    gap: 20px;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.2);
    display: none;
}

.sticky-bar p {
    margin: 0;
    font-weight: 500;
}

/* Floating Elements Animation */
.floating {
    animation: floating 6s ease-in-out infinite;
}

@keyframes floating {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .hero h1 {
        font-size: 3rem;
    }
    
    .section-title h2 {
        font-size: 2.4rem;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .section-title h2 {
        font-size: 2rem;
    }
    
    .feature-grid, .products-grid {
        grid-template-columns: 1fr;
    }
    
    .sticky-bar {
        flex-direction: column;
        padding: 15px;
        gap: 10px;
    }
    
    .countdown {
        gap: 10px;
    }
    
    .countdown-item {
        padding: 15px 20px;
        min-width: 80px;
    }
    
    .countdown-number {
        font-size: 2rem;
    }
    
    .autumn-sale-section h2 {
        font-size: 2.2rem;
    }
    
    .autumn-sale-section p {
        font-size: 1.1rem;
    }
    
    .autumn-sale-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    .hero {
        padding: 80px 0 120px;
    }
    
    .hero h1 {
        font-size: 2.2rem;
    }
    
    .section-title h2 {
        font-size: 1.8rem;
    }
    
    .call-to-action h2 {
        font-size: 2.2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

@media screen and (max-width: 460px) {
    .hero a.cta-button {
        margin-bottom: 18px;
    }
    
    .call-to-action a.cta-button2 {
        margin-bottom: 14px;
    }
}
