/* Packages Page Specific Styles */

/* Page Header */
.packages-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    color: white;
    text-align: center;
}

.packages-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    animation: fadeInDown 0.6s ease;
}

.packages-header p {
    font-size: 1.1rem;
    opacity: 0.95;
    animation: fadeInUp 0.6s ease 0.2s both;
}

/* All Features Section */
.all-features {
    text-align: center;
    padding: 4rem 0 3rem;
    background: white;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
}

.all-features h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
    position: relative;
    display: inline-block;
}

.all-features h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    max-width: 1000px;
    margin: 3rem auto 0;
    padding: 0 2rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: var(--light-color);
    border-radius: 12px;
    transition: all 0.3s;
}

.feature-item:hover {
    background: var(--gradient);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(99, 102, 241, 0.2);
}

.feature-item i {
    font-size: 1.3rem;
    color: var(--primary-color);
    min-width: 25px;
}

.feature-item:hover i {
    color: white;
}

.feature-item span {
    font-weight: 500;
    font-size: 0.95rem;
}

/* Packages Section */
.packages {
    padding: 2rem 0 4rem;
    background: var(--light-color);
}

/* Packages Grid - 4 columns in one row */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

/* Package Card */
.package-card {
    background: white;
    border-radius: 20px;
    overflow: visible;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: fadeInUp 0.6s ease;
}

.package-card:nth-child(1) { animation-delay: 0.1s; }
.package-card:nth-child(2) { animation-delay: 0.2s; }
.package-card:nth-child(3) { animation-delay: 0.3s; }
.package-card:nth-child(4) { animation-delay: 0.4s; }

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
    border-color: var(--primary-color);
}

/* Featured/Popular Cards */
.package-card.featured {
    border-color: var(--primary-color);
    transform: scale(1.05);
    box-shadow: 0 15px 35px rgba(99, 102, 241, 0.15);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

/* Badge */
.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient);
    color: white;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 1;
    white-space: nowrap;
}

.package-card:nth-child(4) .badge {
    background: linear-gradient(135deg, #f59e0b, #dc2626);
}

/* Package Header */
.package-header {
    padding: 2rem 1.5rem;
    background: var(--light-color);
    text-align: center;
    border-bottom: 2px solid var(--border-color);
}

.package-duration {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.package-duration i {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Price Display */
.price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    margin-bottom: 0.5rem;
}

.price .currency {
    font-size: 1.25rem;
    color: var(--text-color);
    margin-right: 0.25rem;
    font-weight: 600;
}

.price .amount {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
    line-height: 1;
}

.price-per-month {
    color: var(--text-color);
    font-size: 0.85rem;
    opacity: 0.8;
}

.savings {
    display: inline-block;
    background: #10b981;
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
    font-weight: 600;
    font-size: 0.75rem;
    margin-top: 0.5rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Package Body */
.package-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.package-highlights {
    list-style: none;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.package-highlights li {
    padding: 0.6rem 0;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-color);
}

.package-highlights i {
    color: var(--success-color);
    font-size: 1rem;
    min-width: 16px;
}

/* Purchase Button */
.purchase-btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--gradient);
    color: white;
    border: none;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.purchase-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.3);
}

.package-card.featured .purchase-btn {
    background: linear-gradient(135deg, #8b5cf6, #6366f1);
}

/* Why Choose Section */
.why-choose {
    padding: 4rem 0;
    text-align: center;
    background: white;
    border-radius: 20px;
    margin-top: 3rem;
}

.why-choose h2 {
    font-size: 2rem;
    color: var(--dark-color);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.why-choose h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--gradient);
    border-radius: 2px;
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.benefit {
    padding: 2rem;
    background: var(--light-color);
    border-radius: 15px;
    transition: all 0.3s;
}

.benefit:hover {
    transform: translateY(-5px);
    background: white;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.benefit i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.benefit h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.benefit p {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Payment Modal Enhancements */
.selected-package {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    border: 2px solid var(--border-color);
}

.price-display {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.duration-display {
    color: var(--text-color);
    font-size: 1rem;
}

.payment-form .form-group {
    margin-bottom: 1.5rem;
}

.payment-form label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.payment-form input {
    width: 100%;
    padding: 0.9rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.payment-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.payment-method-section {
    margin: 2rem 0;
    padding: 1.5rem;
    background: var(--light-color);
    border-radius: 12px;
}

.payment-method-section h4 {
    margin-bottom: 1rem;
    color: var(--dark-color);
}

/* Payment Methods Section */
.payment-methods {
    margin: 2rem 0;
}

.payment-methods h3 {
    font-size: 1.2rem;
    color: var(--dark-color);
    margin-bottom: 1.5rem;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.payment-option {
    position: relative;
}

.payment-option input[type="radio"] {
    position: absolute;
    opacity: 0;
}

.payment-option label {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.payment-option input[type="radio"]:checked + label {
    border-color: var(--primary-color);
    background: linear-gradient(to bottom, rgba(99, 102, 241, 0.05), rgba(99, 102, 241, 0.02));
}

.payment-option label:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

.option-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 50%;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    color: #f7931a; /* Bitcoin orange */
}

.option-icon.telegram {
    color: #0088cc;
}

.option-icon.whatsapp {
    color: #25d366;
}

.option-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.option-title {
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.95rem;
}

.option-desc {
    font-size: 0.75rem;
    color: var(--text-color);
    opacity: 0.8;
}

/* Payment Form Sections */
.payment-form-section {
    display: none;
}

.payment-form-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

/* Crypto Options */
.crypto-options {
    margin: 2rem 0;
}

.crypto-options h4 {
    font-size: 1rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.crypto-buttons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.crypto-btn {
    padding: 0.75rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.crypto-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.crypto-btn.active {
    border-color: var(--primary-color);
    background: var(--light-color);
    color: var(--primary-color);
}

.crypto-btn i {
    font-size: 1.2rem;
}

/* Contact Options */
.contact-info {
    text-align: center;
    padding: 2rem 0;
}

.contact-method {
    animation: fadeIn 0.3s ease;
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--light-color);
    border-radius: 50%;
    font-size: 2.5rem;
}

.contact-icon.telegram {
    color: #0088cc;
    background: rgba(0, 136, 204, 0.1);
}

.contact-icon.whatsapp {
    color: #25d366;
    background: rgba(37, 211, 102, 0.1);
}

.contact-method h3 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.contact-method p {
    color: var(--text-color);
    margin-bottom: 1.5rem;
}

.contact-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    margin-bottom: 1.5rem;
}

.contact-btn.whatsapp-btn {
    background: linear-gradient(135deg, #25d366, #128c7e);
}

.contact-details {
    background: var(--light-color);
    padding: 1.5rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.contact-details .username {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-details .note {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Alternative Option */
.alternative-option {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
}

.alternative-option p {
    color: var(--text-color);
    margin-bottom: 1rem;
    text-align: center;
}

.copy-message {
    position: relative;
    background: var(--light-color);
    padding: 1rem;
    border-radius: 12px;
}

.copy-message textarea {
    width: 100%;
    min-height: 80px;
    background: white;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 1rem;
    resize: none;
    font-family: inherit;
    font-size: 0.9rem;
    color: var(--text-color);
}

.copy-btn {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    padding: 0.5rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.3s;
}

.copy-btn:hover {
    background: var(--secondary-color);
}

/* Crypto Payment Details */
.crypto-payment-info {
    padding: 1rem 0;
}

.crypto-payment-info h3 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

.payment-address {
    margin-bottom: 2rem;
}

.payment-address label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.address-box {
    display: flex;
    align-items: center;
    background: var(--light-color);
    border: 2px solid var(--border-color);
    border-radius: 10px;
    padding: 1rem;
    gap: 0.5rem;
}

.address-box span {
    flex: 1;
    word-break: break-all;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
}

.copy-address {
    padding: 0.5rem 0.75rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.copy-address:hover {
    background: var(--secondary-color);
}

.qr-code {
    text-align: center;
    margin: 2rem 0;
}

.qr-code img {
    border: 4px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    background: white;
}

.payment-amount {
    margin-bottom: 2rem;
}

.payment-amount label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.amount-display {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 10px;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

.fiat-equivalent {
    font-size: 1rem;
    color: var(--text-color);
    font-weight: normal;
    margin-left: 0.5rem;
}

.payment-instructions {
    background: rgba(99, 102, 241, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 2rem;
}

.payment-instructions h4 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.payment-instructions ol {
    margin-left: 1.5rem;
    color: var(--text-color);
}

.payment-instructions li {
    margin-bottom: 0.5rem;
}

.transaction-form {
    margin-top: 2rem;
}

/* Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Payment Modal - Fixed Overflow */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: hidden; /* prevent page scroll */
    padding: 0; /* remove outer padding to fit viewport */
}

.modal-content {
    background-color: white;
    margin: 20px auto; /* keep breathing space on desktop */
    padding: 0;
    border-radius: 16px;
    max-width: 680px;
    width: calc(100% - 20px);
    max-height: 100vh; /* never exceed viewport */
    display: flex; /* allow header + body layout */
    flex-direction: column;
    overflow: hidden; /* contain internal scroll */
    position: relative;
    animation: slideUp 0.3s ease;
}

.modal-content > * {
    padding: 0 2rem;
}

.modal-content > h2 {
    padding: 1.5rem 2rem;
    margin: 0;
    border-bottom: 1px solid var(--border-color);
    font-size: 1.5rem;
    color: var(--dark-color);
}

/* Scrollable content area inside modal */
.modal-body {
    padding: 0 2rem 2rem;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    flex: 1 1 auto; /* take remaining height under header */
}

.close {
    position: absolute;
    right: 2rem;
    top: 1.5rem;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    color: #999;
    z-index: 1;
    line-height: 1;
}

.close:hover {
    color: var(--dark-color);
}

/* Selected Package Display */
.selected-package {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(139, 92, 246, 0.05));
    border-radius: 12px;
    padding: 1.5rem !important;
    margin: 1.5rem 2rem;
    text-align: center;
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.selected-package h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.price-display {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 0.5rem 0;
}

.duration-display {
    color: var(--text-color);
    font-size: 0.9rem;
}

/* Payment Sections */
.payment-section {
    display: none;
    padding-bottom: 2rem !important;
}

.payment-section.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

.payment-section h3 {
    font-size: 1.25rem;
    color: var(--dark-color);
    margin-bottom: 1rem;
}

/* Back Button */
.back-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0.5rem 0;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s;
}

.back-btn:hover {
    transform: translateX(-3px);
}

/* Main Payment Options */
.main-payment-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.main-option-btn {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
    width: 100%;
    text-align: left;
}

.main-option-btn:hover {
    border-color: var(--primary-color);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.main-option-btn .option-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.main-option-btn .option-icon.contact {
    background: linear-gradient(135deg, #10b981, #059669);
}

.main-option-btn .option-content {
    flex: 1;
}

.main-option-btn h4 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.main-option-btn p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

.main-option-btn .fa-arrow-right {
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* Form Styling */
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group small {
    display: block;
    margin-top: 0.5rem;
    font-size: 0.85rem;
    color: #666;
    min-height: 1.2em; /* Reserve space for hint text to prevent layout shifts */
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

/* Crypto Selection */
.crypto-selection {
    margin-bottom: 1.5rem;
}

.crypto-selection label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.crypto-options {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
}

.crypto-option input {
    display: none;
}

.crypto-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    gap: 0.5rem;
}

.crypto-option input:checked + .crypto-card {
    border-color: var(--primary-color);
    background: rgba(99, 102, 241, 0.05);
}

.crypto-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.crypto-card i {
    font-size: 1.5rem;
    color: #f7931a;
}

.crypto-option:nth-child(2) .crypto-card i {
    color: #627eea;
}

.crypto-option:nth-child(3) .crypto-card i {
    color: #26a17b;
}

/* Contact Options */
.contact-subtitle {
    color: var(--text-color);
    margin-bottom: 1.5rem;
    text-align: center;
}

.contact-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s;
    text-align: center;
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.contact-card.whatsapp:hover {
    border-color: #25d366;
}

.contact-card.telegram:hover {
    border-color: #0088cc;
}

.contact-card .contact-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    margin-bottom: 1rem;
}

.contact-card.whatsapp .contact-icon {
    background: rgba(37, 211, 102, 0.1);
    color: #25d366;
}

.contact-card.telegram .contact-icon {
    background: rgba(0, 136, 204, 0.1);
    color: #0088cc;
}

.contact-card h4 {
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.contact-card p {
    color: var(--text-color);
    font-size: 0.9rem;
    margin: 0;
}

/* Message Template */
.message-template {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 10px;
}

.message-template label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.message-box {
    position: relative;
}

.message-box textarea {
    width: 100%;
    min-height: 80px;
    padding: 0.75rem;
    padding-right: 3rem;
    border: 1px solid var(--border-color);
    border-radius: 8px;
    resize: none;
    font-family: inherit;
    font-size: 0.9rem;
}

.message-box .copy-btn {
    position: absolute;
    right: 0.5rem;
    top: 0.5rem;
    padding: 0.5rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 6px;
    cursor: pointer;
}

/* Crypto Payment Details */
.payment-details-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

.payment-info {
    text-align: center;
}

.qr-code {
    margin-bottom: 1.5rem;
}

.qr-code img {
    width: 200px;
    height: 200px;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1rem;
    background: white;
}

.payment-amount label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.amount-display {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 10px;
    font-size: 1.25rem;
    font-weight: bold;
    color: var(--primary-color);
}

.fiat-equiv {
    font-size: 0.9rem;
    color: var(--text-color);
    font-weight: normal;
    margin-left: 0.5rem;
}

.wallet-address label {
    display: block;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.address-field {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.address-field input {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 0.85rem;
}

.address-field .copy-btn {
    padding: 0.75rem 1rem;
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.steps {
    background: rgba(99, 102, 241, 0.05);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.steps h4 {
    color: var(--dark-color);
    margin-bottom: 0.75rem;
    font-size: 0.95rem;
}

.steps ol {
    margin: 0;
    padding-left: 1.5rem;
    color: var(--text-color);
}

.steps li {
    margin-bottom: 0.5rem;
}

.btn-block {
    width: 100%;
    padding: 1rem;
    font-size: 1rem;
}

/* Animations */
@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Atlos Payment Integration Styles */
.atlos-payment-container {
    padding: 2rem 0;
}

.atlos-payment-container h3 {
    text-align: center;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

#atlos-widget-container {
    max-width: 500px;
    margin: 0 auto;
    padding: 1.5rem;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

/* Payment Status */
.payment-status {
    text-align: center;
    padding: 2rem;
    background: var(--light-color);
    border-radius: 12px;
    margin-top: 2rem;
}

.status-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.payment-status h4 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.payment-status p {
    color: var(--text-color);
}

/* Payment Success */
.payment-success {
    text-align: center;
    padding: 1.5rem;
    animation: fadeIn 0.5s ease;
    max-height: calc(100vh - 100px);
    overflow-y: auto;
}

.success-icon {
    font-size: 3rem;
    color: #10b981;
    margin-bottom: 0.75rem;
    animation: scaleIn 0.5s ease;
}

.success-icon.warning {
    color: #f59e0b;
}

.payment-success h2 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
    font-size: 1.4rem;
}

.payment-success p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.success-details {
    background: var(--light-color);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: left;
}

.success-details p {
    margin-bottom: 0.4rem;
    font-size: 0.85rem;
}

.success-details strong {
    color: var(--dark-color);
}

/* Credentials Box */
.credentials-box {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    text-align: left;
}

.credentials-box h3 {
    color: #d4af37;
    margin-bottom: 0.75rem;
    font-size: 1rem;
    text-align: center;
}

.credential-item {
    margin-bottom: 0.75rem;
}

.credential-item label {
    display: block;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.75rem;
    margin-bottom: 0.25rem;
}

.credential-value {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
}

.credential-value span {
    flex: 1;
    color: white;
    font-family: monospace;
    font-size: 0.9rem;
    word-break: break-all;
}

.copy-icon-btn {
    background: rgba(212, 175, 55, 0.2);
    border: none;
    color: #d4af37;
    padding: 0.4rem;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.copy-icon-btn:hover {
    background: #d4af37;
    color: #1a1a2e;
}

.expire-note {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: center;
}

.success-note {
    color: var(--text-color);
    font-size: 0.85rem;
    margin-bottom: 1rem;
}

.warning-box {
    background: #fef3c7;
    border: 1px solid #f59e0b;
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    text-align: left;
}

.warning-box i {
    color: #f59e0b;
    margin-right: 0.5rem;
}

.warning-box p {
    color: #92400e;
    font-size: 0.85rem;
    margin-bottom: 0.5rem;
}

/* Payment Error */
.payment-error {
    text-align: center;
    padding: 2rem;
    animation: fadeIn 0.5s ease;
}

.error-icon {
    font-size: 4rem;
    color: #ef4444;
    margin-bottom: 1rem;
    animation: shake 0.5s ease;
}

.payment-error h2 {
    color: var(--dark-color);
    margin-bottom: 1rem;
}

.payment-error p {
    color: var(--text-color);
    margin-bottom: 2rem;
}

/* Loading State */
button[disabled] {
    opacity: 0.7;
    cursor: not-allowed;
}

/* Animations for notifications */
@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

@keyframes slideOut {
    from {
        transform: translateX(0);
        opacity: 1;
    }
    to {
        transform: translateX(100%);
        opacity: 0;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

/* Atlos Widget Custom Styling Override */
.atlos-payment-widget {
    font-family: 'Inter', sans-serif !important;
}

.atlos-payment-widget .payment-address {
    word-break: break-all;
    font-family: 'Courier New', monospace;
    background: var(--light-color);
    padding: 1rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.atlos-payment-widget .qr-code-container {
    padding: 1.5rem;
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    margin: 1.5rem auto;
}

.atlos-payment-widget .payment-timer {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 600;
    margin: 1rem 0;
}

/* IPTV Credentials Display */
.credentials-box {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2rem;
    border-radius: 15px;
    margin: 2rem 0;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3);
}

.credentials-box h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

.credential-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
}

.credential-item label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.9;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.credential-value {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.15);
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 600;
}

.copy-icon-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.copy-icon-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.expire-note {
    text-align: center;
    margin-top: 1rem;
    font-size: 0.9rem;
    opacity: 0.9;
}

.warning-box {
    background: #fff3cd;
    border: 2px solid #ffc107;
    color: #856404;
    padding: 1.5rem;
    border-radius: 10px;
    margin: 2rem 0;
    text-align: center;
}

.warning-box i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.warning-box p {
    margin: 0.5rem 0;
}

/* Responsive */
@media (max-width: 768px) {
    .packages-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1rem 0;
    }

    .package-card {
        max-width: 100%;
    }

    .package-card.featured {
        transform: scale(1);
    }

    .package-card.featured:hover {
        transform: translateY(-5px);
    }

    .modal-content {
        margin: 0; /* full-screen modal on mobile */
        width: 100vw;
        height: 100vh;
        max-height: 100vh;
        border-radius: 0;
    }

    .modal-body {
        padding: 0 16px 16px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .crypto-options {
        grid-template-columns: 1fr;
    }
    
    .contact-options {
        grid-template-columns: 1fr;
    }
    
    .credentials-box {
        padding: 1.5rem 1rem;
    }
    
    .credential-value {
        font-size: 0.85rem;
    }
}

/* Lock body scroll when modal is open */
body.modal-open {
    overflow: hidden;
}