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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    background: #f5f7fa;
    color: #333;
}

/* Home Page Styles */
.home-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 100px 20px;
    text-align: center;
    flex: 1;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-icon {
    font-size: 80px;
    margin-bottom: 30px;
    animation: float 3s ease-in-out infinite;
}

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

.hero h1 {
    font-size: 48px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 24px;
    margin-bottom: 40px;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.btn-primary {
    background: white;
    color: #667eea;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.2);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-outline:hover {
    background: white;
    color: #667eea;
}

.btn-lg {
    padding: 18px 35px;
    font-size: 18px;
}

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

.features h2 {
    text-align: center;
    font-size: 36px;
    margin-bottom: 50px;
    color: #2c3e50;
}

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

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

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

.feature-card i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-card p {
    color: #666;
    line-height: 1.6;
}

.footer {
    background: #2c3e50;
    color: white;
    padding: 30px 20px;
    text-align: center;
}

.footer-links {
    margin-top: 15px;
}

.footer-links a {
    color: white;
    text-decoration: none;
    margin: 0 15px;
}

.footer-links a:hover {
    text-decoration: underline;
}

/* Payment Page Styles */
.payment-container {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.payment-box {
    background: white;
    border-radius: 20px;
    padding: 40px;
    max-width: 600px;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}

.payment-header {
    text-align: center;
    margin-bottom: 30px;
}

.payment-header i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 15px;
}

.payment-header h1 {
    font-size: 28px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.payment-header p {
    color: #666;
    font-size: 16px;
}

.payment-amount {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 30px;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 30px;
}

.amount-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.amount-value {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 5px;
}

.amount-sublabel {
    font-size: 14px;
    opacity: 0.8;
}

.payment-status {
    text-align: center;
    margin-bottom: 30px;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 14px;
}

.status-pending {
    background: #fff3cd;
    color: #856404;
}

.status-confirming {
    background: #d1ecf1;
    color: #0c5460;
}

.status-completed {
    background: #d4edda;
    color: #155724;
}

.qr-section {
    text-align: center;
    margin-bottom: 30px;
}

.qr-code {
    background: white;
    padding: 20px;
    border-radius: 15px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.qr-code img {
    display: block;
    max-width: 300px;
    width: 100%;
}

.qr-instruction {
    margin-top: 15px;
    color: #666;
    font-size: 14px;
}

.payment-address-section {
    margin-bottom: 30px;
}

.payment-address-section label {
    display: block;
    margin-bottom: 10px;
    color: #666;
    font-size: 14px;
}

.address-box {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    border: 2px solid #e0e0e0;
}

.address-box code {
    flex: 1;
    font-size: 13px;
    word-break: break-all;
    color: #2c3e50;
}

.btn-copy {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-copy:hover {
    background: #5568d3;
}

.payment-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #e0e0e0;
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    color: #666;
    font-size: 14px;
}

.info-value {
    color: #2c3e50;
    font-weight: 600;
    font-size: 14px;
}

.info-value a {
    color: #667eea;
    text-decoration: none;
}

.info-value a:hover {
    text-decoration: underline;
}

.payment-instructions {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 10px;
}

.payment-instructions h3 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: #2c3e50;
}

.payment-instructions ol {
    margin-left: 20px;
    margin-bottom: 15px;
}

.payment-instructions li {
    margin: 10px 0;
    color: #555;
}

.warning-text {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fff3cd;
    padding: 15px;
    border-radius: 8px;
    color: #856404;
    font-size: 14px;
    line-height: 1.6;
}

.warning-text i {
    margin-top: 2px;
}

/* Result Pages */
.result-box {
    text-align: center;
}

.result-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.result-icon.success {
    color: #28a745;
}

.result-icon.expired {
    color: #ffc107;
}

.result-icon.error {
    color: #dc3545;
}

.result-box h1 {
    font-size: 32px;
    color: #2c3e50;
    margin-bottom: 10px;
}

.result-box > p {
    color: #666;
    font-size: 18px;
    margin-bottom: 30px;
}

.success-message, .expired-message {
    background: #e8f4f8;
    padding: 20px;
    border-radius: 10px;
    margin-top: 30px;
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
    color: #0c5460;
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 32px;
    }
    
    .hero p {
        font-size: 18px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }
    
    .payment-box {
        padding: 25px;
    }
    
    .amount-value {
        font-size: 36px;
    }
}
