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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Container */
.container {
    min-height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Animated Background */
.animated-background {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #9333ea, #2563eb);
    transition: all 3s ease-in-out;
    animation: colorShift 18s infinite;
}

@keyframes colorShift {
    0% { background: linear-gradient(135deg, #9333ea, #2563eb); }
    16.66% { background: linear-gradient(135deg, #10b981, #0d9488); }
    33.33% { background: linear-gradient(135deg, #f97316, #dc2626); }
    50% { background: linear-gradient(135deg, #ec4899, #9333ea); }
    66.66% { background: linear-gradient(135deg, #3b82f6, #06b6d4); }
    83.33% { background: linear-gradient(135deg, #6366f1, #9333ea); }
    100% { background: linear-gradient(135deg, #9333ea, #2563eb); }
}

.background-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}

.floating-circle {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    animation: float 4s ease-in-out infinite, pulse 2s ease-in-out infinite;
}

.circle-1 {
    width: 384px;
    height: 384px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.circle-2 {
    width: 256px;
    height: 256px;
    top: 60%;
    right: 15%;
    animation-delay: 1s;
}

.circle-3 {
    width: 192px;
    height: 192px;
    bottom: 10%;
    left: 30%;
    animation-delay: 2s;
}

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

@keyframes pulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

/* Floating Particles */
.particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    animation: bounce 2s infinite;
}

.particle:nth-child(1) { left: 5%; top: 10%; animation-delay: 0s; animation-duration: 2s; }
.particle:nth-child(2) { left: 15%; top: 20%; animation-delay: 0.2s; animation-duration: 2.5s; }
.particle:nth-child(3) { left: 25%; top: 30%; animation-delay: 0.4s; animation-duration: 3s; }
.particle:nth-child(4) { left: 35%; top: 40%; animation-delay: 0.6s; animation-duration: 2.2s; }
.particle:nth-child(5) { left: 45%; top: 50%; animation-delay: 0.8s; animation-duration: 2.8s; }
.particle:nth-child(6) { left: 55%; top: 60%; animation-delay: 1s; animation-duration: 2.4s; }
.particle:nth-child(7) { left: 65%; top: 70%; animation-delay: 1.2s; animation-duration: 3.2s; }
.particle:nth-child(8) { left: 75%; top: 80%; animation-delay: 1.4s; animation-duration: 2.6s; }
.particle:nth-child(9) { left: 85%; top: 90%; animation-delay: 1.6s; animation-duration: 2.9s; }
.particle:nth-child(10) { left: 95%; top: 15%; animation-delay: 1.8s; animation-duration: 2.3s; }
.particle:nth-child(11) { left: 10%; top: 85%; animation-delay: 0.3s; animation-duration: 2.7s; }
.particle:nth-child(12) { left: 20%; top: 75%; animation-delay: 0.5s; animation-duration: 3.1s; }
.particle:nth-child(13) { left: 30%; top: 65%; animation-delay: 0.7s; animation-duration: 2.1s; }
.particle:nth-child(14) { left: 40%; top: 55%; animation-delay: 0.9s; animation-duration: 2.8s; }
.particle:nth-child(15) { left: 50%; top: 45%; animation-delay: 1.1s; animation-duration: 2.5s; }
.particle:nth-child(16) { left: 60%; top: 35%; animation-delay: 1.3s; animation-duration: 3.3s; }
.particle:nth-child(17) { left: 70%; top: 25%; animation-delay: 1.5s; animation-duration: 2.2s; }
.particle:nth-child(18) { left: 80%; top: 15%; animation-delay: 1.7s; animation-duration: 2.9s; }
.particle:nth-child(19) { left: 90%; top: 5%; animation-delay: 1.9s; animation-duration: 2.4s; }
.particle:nth-child(20) { left: 5%; top: 95%; animation-delay: 0.1s; animation-duration: 3.4s; }

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

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.content-wrapper {
    max-width: 1200px;
    width: 100%;
}

/* Header */
.header {
    text-align: center;
    margin-bottom: 3rem;
}

.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.logo {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    color: white;
}

.main-title {
    font-size: 3rem;
    font-weight: bold;
    color: white;
    margin-bottom: 1rem;
    animation: pulse 2s ease-in-out infinite;
}

.subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    max-width: 512px;
    margin: 0 auto;
}

/* Payment Methods */
.payment-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.payment-method {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border-radius: 1rem;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    transform: scale(1);
}

.payment-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.method-icon {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.payment-method:hover .method-icon {
    transform: scale(1.1);
}

.payment-method h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.payment-method .symbol {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
}

.payment-method .network {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.75rem;
}

/* Payment Details */
.payment-details {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(16px);
    border-radius: 1.5rem;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

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

.details-header h2 {
    font-size: 1.5rem;
    font-weight: bold;
    color: white;
}

.back-btn {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-size: 1rem;
    transition: color 0.3s ease;
}

.back-btn:hover {
    color: white;
}

.details-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

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

.qr-container {
    background: white;
    padding: 1rem;
    border-radius: 1rem;
    display: inline-block;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
}

.qr-container img {
    width: 192px;
    height: 192px;
    display: block;
}

.qr-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
    font-size: 0.875rem;
}

.gcash-app-btn {
    margin-top: 1rem;
}

.app-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #2563eb;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.app-link:hover {
    background: #1d4ed8;
}

.app-link svg {
    margin-right: 0.5rem;
}

/* Address Section */
.address-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.field {
    display: flex;
    flex-direction: column;
}

.field label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.field-content {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 0.5rem;
    padding: 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.field-content span {
    color: white;
    font-family: 'Courier New', monospace;
    word-break: break-all;
}

.field-content .address {
    font-size: 0.875rem;
}

.field-content .small-text {
    font-size: 0.875rem;
}

.copy-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 0.5rem;
    transition: background-color 0.3s ease;
    margin-left: 0.5rem;
    flex-shrink: 0;
}

.copy-btn:hover {
    background: rgba(255, 255, 255, 0.2);
}

.copy-btn.copied {
    color: #10b981;
}

/* Warning and Info Boxes */
.warning {
    background: rgba(245, 158, 11, 0.2);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1.5rem;
}

.warning-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.warning-header svg {
    color: #fbbf24;
    margin-right: 0.5rem;
}

.warning-header span {
    color: #fbbf24;
    font-weight: 500;
}

.warning p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.info-box {
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 0.5rem;
    padding: 1rem;
    margin-top: 1.5rem;
}

.info-header {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.info-header svg {
    color: #60a5fa;
    margin-right: 0.5rem;
}

.info-header span {
    color: #60a5fa;
    font-weight: 500;
}

.info-box p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.info-box ul {
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
    list-style: none;
    padding: 0;
}

.info-box li {
    margin-bottom: 0.25rem;
}

/* Bank Details Grid */
.bank-details-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.bank-address {
    grid-column: span 2;
}

/* PayPal Styles */
.paypal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.paypal-section {
    text-align: center;
}

.paypal-logo {
    margin-bottom: 1rem;
    display: flex;
    justify-content: center;
}

.paypal-logo svg {
    filter: brightness(0) invert(1);
}

.paypal-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.paypal-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.paypal-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 1.5rem;
    border: none;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    font-size: 1rem;
}

.paypal-btn svg {
    margin-right: 0.5rem;
}

.paypal-btn.primary {
    background: #0070ba;
    color: white;
}

.paypal-btn.primary:hover {
    background: #005ea6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 112, 186, 0.4);
}

.paypal-btn.secondary {
    background: #142c8e;
    color: white;
}

.paypal-btn.secondary:hover {
    background: #0f1f6b;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(20, 44, 142, 0.4);
}

.paypal-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.paypal-qr-section {
    text-align: center;
    margin-top: 1.5rem;
}

.paypal-qr-section .qr-container {
    margin-bottom: 1rem;
}

.paypal-qr-section p {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    font-size: 0.875rem;
}

.paypal-link-btn {
    margin-top: 1rem;
}

.paypal-link {
    display: inline-flex;
    align-items: center;
    padding: 0.75rem 1.5rem;
    background: #0070ba;
    color: white;
    text-decoration: none;
    border-radius: 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.paypal-link:hover {
    background: #005ea6;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 112, 186, 0.4);
}

.paypal-link svg {
    margin-right: 0.5rem;
}

/* Visa Card Styles */
.visa-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.card-form-section {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.card-preview {
    display: flex;
    justify-content: center;
    margin-bottom: 1rem;
}

.credit-card {
    width: 300px;
    height: 180px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 12px;
    padding: 20px;
    color: white;
    position: relative;
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3);
}

.card-chip {
    width: 40px;
    height: 30px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 4px;
    margin-bottom: 20px;
}

.card-number {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    letter-spacing: 2px;
    margin-bottom: 20px;
}

.card-info {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.card-holder {
    font-size: 12px;
    text-transform: uppercase;
}

.card-expiry {
    font-family: 'Courier New', monospace;
    font-size: 14px;
}

.card-logo {
    position: absolute;
    top: 20px;
    right: 20px;
    font-weight: bold;
    font-size: 16px;
    background: white;
    color: #1e3a8a;
    padding: 4px 8px;
    border-radius: 4px;
}

.card-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
    font-weight: 500;
    margin-bottom: 0.5rem;
}

.form-group input {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 0.5rem;
    padding: 0.75rem;
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #60a5fa;
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 0 0 3px rgba(96, 165, 250, 0.2);
}

.form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.pay-button {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    border-radius: 0.5rem;
    padding: 1rem 1.5rem;
    color: white;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.pay-button:hover {
    background: linear-gradient(135deg, #059669, #047857);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(16, 185, 129, 0.4);
}

.security-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.accepted-cards {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 0.5rem;
    padding: 1rem;
}

.accepted-cards h4 {
    color: white;
    margin-bottom: 0.75rem;
    font-size: 0.875rem;
}

.card-logos {
    display: flex;
    gap: 0.5rem;
}

.card-logo-item {
    background: white;
    color: #1e3a8a;
    padding: 0.25rem 0.5rem;
    border-radius: 0.25rem;
    font-size: 0.75rem;
    font-weight: bold;
}

/* Apple Pay Styles */
.applepay-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.applepay-section {
    text-align: center;
}

.applepay-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 2rem;
}

.apple-logo {
    font-size: 2.5rem;
    margin-right: 0.5rem;
}

.pay-text {
    color: white;
    font-weight: 300;
    font-size: 2rem;
}

.applepay-description {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 2rem;
    font-size: 0.875rem;
}

.applepay-button-container {
    margin-bottom: 2rem;
}

.applepay-btn {
    background: #000;
    border: 2px solid #000;
    border-radius: 8px;
    padding: 12px 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    max-width: 300px;
}

.applepay-btn:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
}

.applepay-btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

.apple-icon {
    font-size: 20px;
    margin-right: 8px;
}

.pay-with {
    margin-right: 4px;
}

.apple-pay-text {
    font-weight: 500;
}

.applepay-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.875rem;
}

.feature-item svg {
    margin-right: 0.75rem;
    color: #10b981;
}

.applepay-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* Features */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 48px;
    height: 48px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: white;
}

.feature h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.feature p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.875rem;
}

/* Utility Classes */
.hidden {
    display: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .main-title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .company-info {
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-top: 1.5rem;
    }
    
    .contact-item {
        font-size: 0.8rem;
        padding: 0.6rem 0.8rem;
    }
    
    .details-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .bank-details-grid {
        grid-template-columns: 1fr;
    }
    
    .bank-address {
        grid-column: span 1;
    }
    
    .paypal-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .visa-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .applepay-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .payment-methods {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
    
    .payment-method {
        padding: 1rem;
    }
    
    .method-icon {
        font-size: 2rem;
    }
    
    .features {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 0.5rem;
    }
    
    .payment-details {
        padding: 1rem;
    }
    
    .details-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .qr-container img {
        width: 150px;
        height: 150px;
    }
    
    .field-content span {
        font-size: 0.75rem;
    }
    
    .credit-card {
        width: 250px;
        height: 150px;
        padding: 15px;
    }
    
    .card-number {
        font-size: 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
}