/* 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: #333;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Heade */
.main-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    padding: 20px 0;
    position: initial;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.main-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.brand-name {
    font-size: 2.2rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 2px;
}

.brand-tagline {
    font-size: 0.9rem;
    color: #7f8c8d;
    font-weight: 500;
}

.profile-info {
    display: flex;
    align-items: center;
    gap: 20px;
}

.profile-details {
    text-align: right;
}

.profile-name {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.profile-subtitle {
    font-size: 0.85rem;
    color: #7f8c8d;
}

.signature-image {
    width: 80px;
    height: auto;
    opacity: 0.8;
}

/* Hero section */
.hero-banner {
    position: relative;
    height: 300px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.banner-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-description {
    font-size: 1.2rem;
    font-weight: 400;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.main-content {
    background: white;
    margin-top: -50px;
    position: relative;
    z-index: 10;
    border-radius: 25px 25px 0 0;
    box-shadow: 0 -5px 30px rgba(0, 0, 0, 0.1);
}

/* Section Styles */
.payment-section,
.global-payment-section,
.features-section {
    padding: 60px 0;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
}

.section-description {
    text-align: center;
    color: #7f8c8d;
    font-size: 1.1rem;
    margin-bottom: 50px;
}

/* Payment Methods styles */
.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.payment-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    overflow: hidden;
}

.payment-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, #667eea, #764ba2);
}

.payment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.card-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.upi-card .card-icon {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
}

.qr-card .card-icon {
    background: linear-gradient(135deg, #4ECDC4, #6BCF7F);
}

.bank-card .card-icon {
    background: linear-gradient(135deg, #45B7D1, #5DADE2);
}

.card-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 10px;
}

.card-description {
    color: #7f8c8d;
    margin-bottom: 30px;
    font-size: 1rem;
}

.primary-btn {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.6);
}

/* Payment Modal */
.payment-modal {
    display: none;
    position: fixed; 
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    z-index: 1000;
    animation: fadeIn 0.3s ease;
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.modal-header {
    padding: 30px 30px 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: #7f8c8d;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: #f8f9fa;
    color: #e74c3c;
}

.modal-body {
    padding: 30px;
}

/* UPI Details */
.upi-details {
    text-align: center;
}

.upi-link-btn {
    background: linear-gradient(135deg, #FF6B6B, #FF8E8E);
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.upi-link-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

.upi-list {
    list-style: none;
    margin-top: 20px;
}

.upi-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 10px;
}

.upi-id {
    font-family: 'Courier New', monospace;
    font-weight: 600;
    color: #2c3e50;
}

.copy-btn {
    background: #667eea;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.copy-btn:hover {
    background: #5a67d8;
}

/* QR- details */
.qr-details {
    text-align: center;
}

.qr-code-container {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 15px;
    margin: 20px 0;
    border: 2px dashed #ddd;
}

.qr-code-img {
    max-width: 250px;
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.download-btn {
    background: #4ECDC4;
    color: white;
    text-decoration: none;
    padding: 12px 25px;
    border-radius: 25px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: #45b7aa;
    transform: translateY(-2px);
}

/* Bank Details */
.bank-details {
    background: #f8f9fa;
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

.bank-info {
    display: grid;
    gap: 15px;
}

.bank-field {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

.bank-field:last-child {
    border-bottom: none;
}

.field-label {
    font-weight: 600;
    color: #2c3e50;
}

.field-value {
    font-family: 'Courier New', monospace;
    color: #7f8c8d;
    font-weight: 500;
}

/*Styles for disclaimer in bank transfer modal &*/

.secure-message {
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 10px;
    background-color: #fefefe;
    color: #333;
}

.secure-instruction p {
    margin-bottom: 10px;
}

.email-request-link {
    display: inline-block;
    margin: 10px 0;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border-radius: 6px;
    text-decoration: none;
}

.email-request-link:hover {
    background-color: #0056b3;
}

.payment-note {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: #555;
}

/* Global Payment Platforms */
.global-payment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

.global-payment-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 20px;
    background: white;
    border-radius: 15px;
    text-decoration: none;
    color: inherit;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
}

.global-payment-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.platform-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.kofi { border-left-color: #FF5E5B; }
.kofi .platform-icon { background: linear-gradient(135deg, #FF5E5B, #FF8A80); }

.paypal { border-left-color: #0070BA; }
.paypal .platform-icon { background: linear-gradient(135deg, #0070BA, #42A5F5); }

.github { border-left-color: #333; }
.github .platform-icon { background: linear-gradient(135deg, #333, #555); }

.platform-info h4 {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 2px;
}

.platform-info p {
    color: #7f8c8d;
    font-size: 0.9rem;
}

.link-icon {
    margin-left: auto;
    color: #bdc3c7;
    font-size: 1rem;
}

/* Features Section */
.features-section {
    background: #f8f9fa;
}

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

.feature-item {
    text-align: center;
    padding: 30px 20px;
    background: white;
    color: black;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea, #764ba2);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    color: white;
}

.feature-item h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: linear-gradient(135deg, #667eea, #764ba2);
    margin-bottom: 10px;
}

/* ===== aHPay Footer Styles ===== */

/* Main Footer Container */
.main-footer {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    padding: 60px 0 0;
    margin-top: 80px;
    position: relative;
    overflow: hidden;
}

.main-footer::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.05)" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
    opacity: 0.3;
    pointer-events: none;
}

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

/* Footer Content */
.footer-content {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 60px;
    align-items: start;
    padding-bottom: 50px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-brand h3 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 15px 0;
    background: linear-gradient(45deg, #00d4ff, #5a67d8, #667eea);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.footer-brand p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    line-height: 1.6;
    max-width: 250px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    padding-left: 15px;
}

.footer-links a:hover {
    color: #00d4ff;
    border-left-color: #00d4ff;
    padding-left: 20px;
    transform: translateX(5px);
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 15px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #00d4ff, #5a67d8);
    transition: width 0.3s ease;
}

.footer-links a:hover::after {
    width: calc(100% - 15px);
}

.footer-social {
    display: flex;
    gap: 20px;
    align-items: flex-start;
    flex-direction: row; /* default*/
}

@media (max-width: 768px) {
    .footer-social {
        flex-direction: column;
        align-items: flex-start;
    }
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.footer-social a::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.5s ease;
}

.footer-social a:hover::before {
    left: 100%;
}

.footer-social a:hover {
    transform: translateY(-5px);
    border-color: #00d4ff;
    color: #00d4ff;
    box-shadow: 0 10px 25px rgba(0, 212, 255, 0.3);
    background: rgba(0, 212, 255, 0.1);
}

/* spc. social links hover */
.footer-social a[href*="github"]:hover {
    border-color: #333;
    color: #333;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 25px rgba(51, 51, 51, 0.3);
}

.footer-social a[href*="linkedin"]:hover {
    border-color: #0077b5;
    color: #0077b5;
    box-shadow: 0 10px 25px rgba(0, 119, 181, 0.3);
}

.footer-social a[href*="twitter"]:hover {
    border-color: #1da1f2;
    color: #1da1f2;
    box-shadow: 0 10px 25px rgba(29, 161, 242, 0.3);
}

.footer-social a[href*="instagram"]:hover {
    border-color: #e4405f;
    color: #e4405f;
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.3);
    background: linear-gradient(45deg, rgba(228, 64, 95, 0.1), rgba(253, 29, 29, 0.1), rgba(252, 176, 64, 0.1));
}

.footer-bottom {
    padding: 30px 0;
    text-align: center;
}

.footer-bottom p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

/* Toast-notifications */
.toast-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    transform: translateX(400px);
    transition: transform 0.3s ease-in-out;
    max-width: 350px;
}

.toast-notification.show {
    transform: translateX(0);
}

.toast-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    gap: 15px;
    position: relative;
    overflow: hidden;
}

.toast-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #00d4ff, #5a67d8, #667eea);
}

.toast-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
    color: #00d4ff;
}

.toast-message {
    font-size: 0.95rem;
    color: #333;
    font-weight: 500;
    line-height: 1.4;
}

/* Success toast */
.toast-notification.success .toast-icon {
    color: #10b981;
}

.toast-notification.success .toast-content::before {
    background: linear-gradient(90deg, #10b981, #059669);
}

/* Error toast */
.toast-notification.error .toast-icon {
    color: #ef4444;
}

.toast-notification.error .toast-content::before {
    background: linear-gradient(90deg, #ef4444, #dc2626);
}

/* warning-toast */
.toast-notification.warning .toast-icon {
    color: #f59e0b;
}

.toast-notification.warning .toast-content::before {
    background: linear-gradient(90deg, #f59e0b, #d97706);
}

/* Mobile */
@media (max-width: 480px) {
    .main-footer {
        padding: 30px 0 0;
        margin-top: 40px;
    }
    
    .main-footer .container {
        padding: 0 15px;
    }
    
    .footer-content {
        gap: 30px;
        padding-bottom: 30px;
    }
    
    .footer-brand h3 {
        font-size: 1.8rem;
        margin-bottom: 10px;
    }
    
    .footer-brand p {
        font-size: 0.9rem;
    }
    
    .footer-links {
        gap: 15px 25px;
    }
    
    .footer-links a {
        font-size: 0.9rem;
    }
    
    .footer-social {
        gap: 12px;
    }
    
    .footer-social a {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }
    
    .footer-bottom {
        padding: 20px 0;
    }
    
    .footer-bottom p {
        font-size: 0.85rem;
        line-height: 1.5;
    }
    
    .toast-content {
        padding: 15px;
        border-radius: 12px;
    }
    
    .toast-icon {
        font-size: 1.3rem;
    }
    
    .toast-message {
        font-size: 0.9rem;
    }
}
