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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    min-height: 100vh;
    padding: 40px 20px;
}

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

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

.header h1 {
    color: white;
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 16px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header p {
    color: #94a3b8;
    font-size: 20px;
}

.language-selector {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 12px;
    align-items: center;
}

.language-selector .home-btn {
    background: rgba(30, 41, 59, 0.95);
    color: white;
    border: 2px solid #334155;
    border-radius: 12px;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.language-selector .home-btn:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
    transform: translateY(-2px);
}

.language-selector select {
    background: rgba(30, 41, 59, 0.95);
    color: white;
    border: 2px solid #334155;
    border-radius: 12px;
    padding: 10px 36px 10px 16px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='white' d='M6 9L1 4h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
}

.language-selector select:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.language-selector select:focus {
    outline: none;
    border-color: #3b82f6;
}

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

.plan-card {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border: 2px solid #334155;
    border-radius: 20px;
    padding: 32px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.plan-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.plan-card:hover {
    transform: translateY(-8px);
    border-color: #3b82f6;
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.3);
}

.plan-card:hover::before {
    transform: scaleX(1);
}

.plan-card.selected {
    border-color: #3b82f6;
    background: linear-gradient(135deg, #1e3a5f 0%, #2d4a73 100%);
    box-shadow: 0 20px 60px rgba(59, 130, 246, 0.4);
}

.plan-card.selected::before {
    transform: scaleX(1);
}

.plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.plan-name {
    color: #e2e8f0;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 12px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.plan-price .currency {
    color: #3b82f6;
    font-size: 32px;
    font-weight: 800;
}

.plan-price .amount {
    color: white;
    font-size: 56px;
    font-weight: 800;
}

.plan-period {
    color: #94a3b8;
    font-size: 16px;
    margin-bottom: 20px;
}

.plan-features {
    list-style: none;
    padding: 0;
}

.plan-features li {
    color: #cbd5e1;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.plan-features li::before {
    content: '✓';
    color: #22c55e;
    font-weight: 700;
    font-size: 18px;
}

.payment-section {
    background: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
}

.section-title {
    color: white;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
    text-align: center;
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    color: #e2e8f0;
    font-weight: 600;
    margin-bottom: 8px;
    font-size: 14px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 14px 16px;
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 12px;
    color: white;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: #3b82f6;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.payment-methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 24px;
}

.payment-method-card {
    background: #0f172a;
    border: 2px solid #334155;
    border-radius: 16px;
    padding: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    opacity: 0.5;
    pointer-events: none;
}

.payment-method-card.available {
    opacity: 1;
    pointer-events: all;
}

.payment-method-card.available:hover {
    border-color: #3b82f6;
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.2);
}

.payment-method-card.selected {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.1);
}

.payment-icon {
    font-size: 48px;
    margin-bottom: 12px;
    filter: grayscale(1);
    transition: filter 0.3s ease;
}

.payment-method-card.available .payment-icon {
    filter: grayscale(0);
}

.payment-name {
    color: #e2e8f0;
    font-weight: 600;
    font-size: 16px;
}

.payment-subtitle {
    color: #64748b;
    font-size: 12px;
    margin-top: 4px;
}

.payment-info-box {
    background: linear-gradient(135deg, #1e3a5f, #2d4a73);
    border: 2px solid #3b82f6;
    border-radius: 16px;
    padding: 24px;
    margin-top: 24px;
    display: none;
}

.payment-info-box.show {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.payment-info-title {
    color: white;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.crypto-address {
    background: #0f172a;
    padding: 16px;
    border-radius: 12px;
    margin-top: 12px;
    word-break: break-all;
    color: #3b82f6;
    font-family: monospace;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}

.copy-btn {
    background: #3b82f6;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    font-size: 12px;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.copy-btn:hover {
    background: #2563eb;
    transform: scale(1.05);
}

.paypal-button-container {
    margin-top: 24px;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 40px rgba(59, 130, 246, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.success-message {
    background: linear-gradient(135deg, #065f46, #047857);
    color: white;
    padding: 32px;
    border-radius: 20px;
    text-align: center;
    display: none;
    animation: slideDown 0.3s ease;
}

.success-message.show {
    display: block;
}

.success-message h3 {
    font-size: 28px;
    margin-bottom: 16px;
}

.success-message p {
    font-size: 16px;
    opacity: 0.9;
}

.nowpayments-widget {
    margin-top: 24px;
    padding: 20px;
    background: #0f172a;
    border-radius: 12px;
    border: 2px solid #334155;
}

.loader {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
