/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    overflow-x: hidden;
    background: #f8fafb;
}

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

/* Pop-up Coupon Modal */
.popup-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
}

.popup-content {
    background: white;
    border-radius: 20px;
    padding: 2rem;
    max-width: 400px;
    width: 90%;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: popupBounce 0.5s ease;
}

.close-popup {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #7f8c8d;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-popup:hover {
    color: #e74c3c;
}

.coupon-design {
    text-align: center;
    border: 3px dashed #27ae60;
    padding: 1.5rem;
    border-radius: 15px;
    background: linear-gradient(135deg, #e8f8f5 0%, #d5f4e6 100%);
}

.coupon-design h3 {
    color: #27ae60;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.coupon-code {
    background: #27ae60;
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    font-size: 1.3rem;
    font-weight: 700;
    margin: 1rem 0;
    letter-spacing: 2px;
}

.expires {
    color: #e74c3c;
    font-weight: 600;
    margin: 1rem 0;
}

.countdown {
    font-weight: 800;
    font-size: 1.1rem;
}

.claim-btn {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(39,174,96,0.3);
}

.claim-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(39,174,96,0.4);
}

/* Disappearing Alert */
.disappearing-alert {
    position: fixed;
    top: 100px;
    right: 20px;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(231,76,60,0.3);
    z-index: 9999;
    max-width: 300px;
    animation: slideInRight 0.5s ease;
}

.alert-content {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.alert-icon {
    font-size: 1.2rem;
}

.alert-text {
    flex: 1;
    font-weight: 600;
}

.alert-close {
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.alert-close:hover {
    opacity: 1;
}

/* Header Styles */
.header {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

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

.logo h1 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #3498db;
    margin-bottom: 0.2rem;
}

.tagline {
    font-size: 0.9rem;
    color: #bdc3c7;
    font-style: italic;
}

.nav {
    display: flex;
    gap: 2rem;
}

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

.nav a:hover {
    color: #3498db;
    transform: translateY(-2px);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #3498db;
    transition: width 0.3s ease;
}

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

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    margin-top: 80px;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.3);
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52,152,219,0.8) 0%, rgba(46,204,113,0.8) 100%);
    z-index: -1;
}

.hero-content {
    text-align: center;
    color: white;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    animation: fadeInUp 1s ease;
}

.highlight {
    color: #f1c40f;
    text-shadow: 0 0 20px rgba(241,196,15,0.5);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    animation: fadeInUp 1s ease 0.2s both;
}

/* Financing Calculator */
.financing-calculator {
    background: rgba(255,255,255,0.95);
    color: #2c3e50;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    backdrop-filter: blur(10px);
    animation: fadeInUp 1s ease 0.4s both;
    max-width: 600px;
    margin: 0 auto;
}

.calc-title {
    font-size: 1.8rem;
    font-weight: 700;
    color: #27ae60;
    margin-bottom: 1.5rem;
    text-align: center;
}

.calc-content {
    display: grid;
    gap: 1.5rem;
}

.price-input, .months-input {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.price-input label, .months-input label {
    font-weight: 600;
    color: #34495e;
    min-width: 120px;
}

.price-slider {
    flex: 1;
    height: 8px;
    border-radius: 4px;
    background: #ecf0f1;
    outline: none;
    min-width: 200px;
}

.price-display {
    font-size: 1.2rem;
    font-weight: 700;
    color: #27ae60;
    min-width: 80px;
}

.months-select {
    flex: 1;
    padding: 0.8rem;
    border: 2px solid #bdc3c7;
    border-radius: 10px;
    font-size: 1rem;
    background: white;
    min-width: 200px;
}

.payment-result {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1.5rem;
    border-radius: 15px;
    text-align: center;
}

.payment-amount {
    font-size: 2.5rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.finance-type {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.no-credit {
    font-size: 1rem;
    opacity: 0.9;
}

.finance-cta {
    display: inline-block;
    background: linear-gradient(135deg, #f1c40f 0%, #f39c12 100%);
    color: #2c3e50;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(241,196,15,0.3);
}

.finance-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(241,196,15,0.4);
}

/* Disappearing Deals Section */
.disappearing-deals {
    padding: 5rem 0;
    background: linear-gradient(135deg, #ecf0f1 0%, #d5dbdb 100%);
}

.disappearing-deals h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #e74c3c;
    margin-bottom: 1rem;
}

.deals-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 3rem;
}

.deals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.deal-card {
    background: white;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.deal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.deal-card.sold-out {
    opacity: 0.5;
    transform: scale(0.95);
}

.deal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.deal-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
}

.stock-indicator {
    background: #27ae60;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.stock-indicator.low-stock {
    background: #f39c12;
    animation: pulse 1s infinite;
}

.stock-indicator.critical-stock {
    background: #e74c3c;
    animation: urgentPulse 0.5s infinite;
}

.price-comparison {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.original-price {
    font-size: 1.2rem;
    text-decoration: line-through;
    color: #95a5a6;
}

.sale-price {
    font-size: 1.8rem;
    font-weight: 800;
    color: #27ae60;
}

.savings {
    background: #e74c3c;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    font-weight: 600;
}

.urgency-bar {
    background: #ecf0f1;
    height: 8px;
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.urgency-fill {
    height: 100%;
    background: linear-gradient(90deg, #27ae60 0%, #f39c12 50%, #e74c3c 100%);
    transition: all 0.3s ease;
    border-radius: 4px;
}

.grab-deal-btn {
    display: block;
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(231,76,60,0.3);
}

.grab-deal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(231,76,60,0.4);
}

.sold-out-card {
    background: linear-gradient(135deg, #95a5a6 0%, #7f8c8d 100%);
    color: white;
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.sold-out-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.restock-notice {
    font-style: italic;
    opacity: 0.8;
}

/* No Credit Section */
.no-credit-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.no-credit-section h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.credit-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.option-card {
    background: rgba(255,255,255,0.1);
    padding: 2rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.option-card:hover {
    transform: translateY(-5px);
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.3);
}

.option-card.featured {
    background: rgba(241,196,15,0.2);
    border-color: #f1c40f;
    transform: scale(1.05);
}

.option-icon {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 1rem;
}

.option-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.option-card p {
    text-align: center;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.option-card ul {
    list-style: none;
}

.option-card li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

/* Categories Section */
.categories {
    padding: 5rem 0;
    background: #f8fafb;
}

.categories h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 3rem;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.category-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    border: 3px solid transparent;
}

.category-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: #3498db;
}

.category-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: all 0.3s ease;
}

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

.category-content {
    padding: 1.5rem;
}

.category-content h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.5rem;
}

.category-content p {
    color: #7f8c8d;
    margin-bottom: 1rem;
    line-height: 1.6;
}

.financing-highlight {
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 1rem;
}

.category-cta {
    display: block;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 1rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.category-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(52,152,219,0.3);
}

/* Contact Section */
.contact {
    padding: 5rem 0;
    background: #2c3e50;
    color: white;
}

.contact h2 {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #3498db;
    margin-bottom: 1rem;
}

.address {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
}

.hours h4,
.services h4 {
    color: #3498db;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.hours,
.services {
    margin-bottom: 2rem;
}

.contact-methods {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.contact-btn {
    display: inline-block;
    background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(39,174,96,0.3);
}

.services ul {
    list-style: none;
}

.services li {
    margin-bottom: 0.5rem;
    padding-left: 0.5rem;
}

.map-container {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

/* Footer */
.footer {
    background: #1a252f;
    color: white;
    padding: 3rem 0 1rem;
}

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

.footer-section h4 {
    color: #3498db;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 1rem;
    text-align: center;
    color: #95a5a6;
    font-size: 0.9rem;
}

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

@keyframes popupBounce {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(100%);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(243,156,18,0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(243,156,18,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(243,156,18,0);
    }
}

@keyframes urgentPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(231,76,60,0.7);
        transform: scale(1);
    }
    50% {
        box-shadow: 0 0 0 5px rgba(231,76,60,0);
        transform: scale(1.05);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(231,76,60,0);
        transform: scale(1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .mobile-menu-btn {
        display: flex;
    }
    
    .nav {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #2c3e50;
        flex-direction: column;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.3);
    }
    
    .nav-open {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-methods {
        flex-direction: column;
    }
    
    .price-input, .months-input {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .price-slider, .months-select {
        min-width: 100%;
    }
    
    .popup-content {
        margin: 1rem;
        width: auto;
    }
    
    .disappearing-alert {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

