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

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.urgent-banner {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: white;
    text-align: center;
    padding: 10px 0;
    font-weight: bold;
    animation: pulse 2s infinite;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: sticky;
    top: 40px;
    z-index: 999;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

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

.logo {
    height: 50px;
    width: auto;
}

.logo-text {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.5rem;
    font-weight: bold;
    color: #00bcd4;
}

.logo-icon {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: white;
    padding: 8px;
    border-radius: 8px;
    font-size: 1.2rem;
}

.logo-name {
    color: #333;
}

@keyframes pulse {
    0% { background: linear-gradient(135deg, #ff4444, #cc0000); }
    50% { background: linear-gradient(135deg, #ff6666, #ff0000); }
    100% { background: linear-gradient(135deg, #ff4444, #cc0000); }
}

.hero-section {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 50%, #00838f 100%);
    color: white;
    min-height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="rgba(255,255,255,0.1)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
}

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

.hero-content {
    text-align: center;
    animation: fadeInUp 1s ease-out;
}

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

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    margin-bottom: 30px;
    opacity: 0.95;
}

.countdown-container {
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 30px;
    margin: 40px 0;
    border: 1px solid rgba(255,255,255,0.2);
}

.countdown-title {
    font-size: 1.5rem;
    color: #ffeb3b;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.countdown-item {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    padding: 15px 20px;
    border-radius: 10px;
    text-align: center;
    min-width: 80px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.countdown-number {
    font-size: 2rem;
    font-weight: bold;
    display: block;
}

.countdown-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.price-container {
    margin: 40px 0;
}

.original-price {
    font-size: 1.5rem;
    text-decoration: line-through;
    color: #000000;
    margin-bottom: 10px;
}

.offer-price {
    font-size: 3rem;
    color: #4caf50;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.savings {
    font-size: 1.2rem;
    color: #ffeb3b;
    margin-top: 10px;
}

.cta-button {
    background: linear-gradient(135deg, #4caf50, #45a049);
    color: white;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 20px 40px;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    margin: 20px 0;
    box-shadow: 0 10px 30px rgba(76, 175, 80, 0.4);
    animation: bounce 2s infinite;
}

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

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(76, 175, 80, 0.6);
}

.features-section {
    background: #f8f9fa;
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: #333;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.feature-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    color: #667eea;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: #333;
}

.testimonials-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 80px 0;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.testimonial {
    background: rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
}

.urgency-section {
    background: #ff4444;
    color: white;
    padding: 60px 0;
    text-align: center;
}

.urgency-title {
    font-size: 2rem;
    margin-bottom: 20px;
}

.mobile-optimized {
    display: block;
}

@media (max-width: 768px) {
    .countdown-timer {
        gap: 10px;
    }
    
    .countdown-item {
        min-width: 60px;
        padding: 10px 15px;
    }
    
    .countdown-number {
        font-size: 1.5rem;
    }
    
    .offer-price {
        font-size: 2rem;
    }
    
    .cta-button {
        font-size: 1.2rem;
        padding: 15px 30px;
    }

    .header {
        top: 30px;
    }
}

/* Success Page Styles */
.success-container, .failed-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
    background: white;
    color: #333;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.success-icon {
    font-size: 4rem;
    color: #4caf50;
    margin-bottom: 20px;
}

.failed-icon {
    font-size: 4rem;
    color: #f44336;
    margin-bottom: 20px;
}

.success-title, .failed-title {
    font-size: 2rem;
    margin-bottom: 30px;
    color: #333;
}

.order-details, .failed-message {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
    text-align: left;
}

.order-details h3, .failed-reasons h3 {
    color: #00bcd4;
    margin-bottom: 15px;
}

.next-steps {
    margin: 30px 0;
}

.step {
    display: flex;
    align-items: center;
    margin: 15px 0;
    text-align: left;
}

.step-number {
    background: linear-gradient(135deg, #00bcd4, #0097a7);
    color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-weight: bold;
}

.contact-info {
    background: #e3f2fd;
    padding: 20px;
    border-radius: 10px;
    margin: 20px 0;
}

.contact-info a {
    color: #00bcd4;
    text-decoration: none;
    font-weight: bold;
}

.print-btn {
    background: linear-gradient(135deg, #9e9e9e, #757575);
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.print-btn:hover {
    background: linear-gradient(135deg, #757575, #616161);
}

.failed-reasons {
    text-align: left;
    margin: 20px 0;
}

.failed-reasons ul {
    list-style-type: none;
    padding: 0;
}

.failed-reasons li {
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

.failed-reasons li::before {
    content: "⚠️";
    margin-right: 10px;
}

.retry-options {
    margin: 30px 0;
}

.retry-options .cta-button {
    margin: 10px;
    display: inline-block;
}

.urgency-reminder {
    background: #fff3e0;
    padding: 15px;
    border-radius: 10px;
    border-left: 4px solid #ff9800;
    margin-top: 20px;
}

#success-page, #failed-page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
    box-sizing: border-box;
}