/* ========================================
   Platform Pricing - 3-Column Layout
   ======================================== */

/* Important Notice Box */
.important-notice-box {
    background: var(--bg-card);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin: 0 auto 40px auto;
    box-shadow: 0 10px 40px rgba(99, 102, 241, 0.1);
    max-width: 900px;
    border-left: 5px solid var(--accent-purple);
    text-align: left;
}

.notice-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.notice-icon {
    font-size: 1.5rem;
}

.notice-header h3 {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--text-primary);
    margin: 0;
}

.notice-content p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 15px;
}

.requirements-box {
    background: rgba(99, 102, 241, 0.04);
    border-radius: var(--radius-md);
    padding: 16px 20px;
    margin-top: 20px;
}

.requirements-box strong {
    font-size: 1rem;
    color: var(--text-primary);
    display: block;
    margin-bottom: 10px;
}

.requirements-box ul {
    list-style: none;
    padding: 0;
    margin: 0 0 12px 0;
}

.requirements-box li {
    font-size: 0.95rem;
    color: var(--text-primary);
    font-weight: 600;
    margin-bottom: 8px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-note {
    font-size: 0.85rem !important;
    font-style: italic;
    color: var(--text-muted) !important;
    margin-bottom: 0 !important;
}

/* Demo Video Section */
.demo-video-container {
    max-width: 900px;
    margin: 0 auto 50px auto;
    width: 100%;
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid var(--border-light);
}

.demo-video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* WhatsApp Community Button */
.btn-whatsapp-community {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px;
    background: #ffffff;
    border: 2px solid #25D366;
    color: #25D366;
    border-radius: 30px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.95rem;
    margin-bottom: 25px;
}

.btn-whatsapp-community:hover {
    background: #25D366;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
    transform: translateY(-2px);
}

.btn-whatsapp-community svg {
    fill: currentColor;
    width: 20px;
    height: 20px;
}

/* Modal WhatsApp Link */
.modal-whatsapp-community {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid rgba(0,0,0,0.1);
    color: #25D366;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.modal-whatsapp-community:hover {
    text-decoration: underline;
}

.pricing-section {
    padding-top: 50px !important;
}

/* Region Indicator */
.region-indicator {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-top: 15px;
    padding: 8px 20px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.08), rgba(14, 165, 233, 0.08));
    border: 1px solid rgba(99, 102, 241, 0.15);
    border-radius: 30px;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 500;
}

.region-flag {
    font-size: 1.2rem;
}

/* Platform Pricing Grid */
.platform-pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-top: 40px;
    align-items: start;
}

/* Platform Card */
.platform-card {
    background: var(--bg-card);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-card);
    overflow: hidden;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.platform-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
}

/* Featured Card (Mac) */
.platform-card.featured-card {
    border: 2px solid var(--accent-purple);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.15);
}

.card-featured-ribbon {
    position: absolute;
    top: 14px;
    right: -5px;
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    color: white;
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 16px;
    border-radius: 4px 0 0 4px;
    letter-spacing: 0.5px;
    z-index: 2;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

/* Platform Card Header */
.platform-card-header {
    text-align: center;
    padding: 15px 12px 12px;
    position: relative;
}

.windows-header { background: linear-gradient(135deg, #0078d4 0%, #005a9e 100%); color: white; }
.mac-header { background: linear-gradient(135deg, #1d1d1f 0%, #333336 100%); color: white; }
.android-header { background: linear-gradient(135deg, #34a853 0%, #1e8e3e 100%); color: white; }

.platform-icon-large {
    font-size: 1.8rem;
    margin-bottom: 4px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.platform-card-header h3 {
    font-size: 1.1rem;
    font-weight: 800;
    margin-bottom: 0px;
}

.platform-tagline {
    font-size: 0.72rem;
    opacity: 0.85;
    font-weight: 400;
}

/* Features List */
.platform-features-list {
    padding: 12px 15px;
    border-bottom: 1px solid var(--border-subtle);
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
}

.pf-item {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 2px 0;
    font-size: 0.75rem;
    color: var(--text-primary);
    width: 45%; /* Grid-like layout for compactness */
}

.pf-item span {
    font-size: 0.7rem;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.pf-item.available span {
    color: #10b981;
    font-weight: 700;
}

.pf-item.unavailable {
    color: var(--text-muted);
    text-decoration: line-through;
    opacity: 0.6;
}

.pf-item.unavailable span {
    color: #ef4444;
}

/* Pricing Tiers */
.pricing-tiers {
    padding: 12px 15px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.tier-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 8px 12px;
    background: var(--bg-tertiary);
    border-radius: 8px;
    border: 1px solid transparent;
    transition: all 0.2s ease;
    position: relative;
}

.tier-row:hover {
    border-color: var(--accent-purple);
    background: rgba(99, 102, 241, 0.04);
}

.tier-row:has(input:checked) {
    border-color: var(--accent-purple);
    background: rgba(99, 102, 241, 0.08);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.1);
}

.tier-row.popular-tier {
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.06), rgba(14, 165, 233, 0.04));
    border: 1px solid rgba(99, 102, 241, 0.2);
}

.tier-popular-tag {
    position: absolute;
    top: -8px;
    right: 8px;
    background: linear-gradient(135deg, #6366f1, #0ea5e9);
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 8px;
    letter-spacing: 0.2px;
    text-transform: uppercase;
}

.tier-label {
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--text-primary);
}

.tier-price {
    text-align: right;
}

.tier-amount {
    font-size: 0.95rem;
    font-weight: 800;
    color: var(--text-primary);
}

.btn-buy-now {
    padding: 5px 12px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.btn-buy-now:hover {
    transform: scale(1.05);
}

/* VEO3 Ultra Add-on */
.ultra-addon {
    padding: 10px 15px;
    background: rgba(0,0,0,0.02);
    border-top: 1px dashed var(--border-subtle);
}

.ultra-addon-header {
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.ultra-badge {
    display: inline-block;
    background: #f59e0b;
    color: white;
    font-size: 0.55rem;
    font-weight: 800;
    padding: 1px 6px;
    border-radius: 4px;
}

.ultra-addon-header h4 {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.ultra-addon-header p {
    display: none; /* Hide subtitle for compactness */
}


/* Toggle Switch */
.ultra-toggle {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    margin-top: 8px;
    padding: 6px 0;
}

.ultra-toggle input {
    display: none;
}

.ultra-toggle-slider {
    width: 40px;
    height: 22px;
    background: #cbd5e1;
    border-radius: 20px;
    position: relative;
    transition: background 0.3s ease;
    flex-shrink: 0;
}

.ultra-toggle-slider::after {
    content: '';
    position: absolute;
    top: 3px;
    left: 3px;
    width: 16px;
    height: 16px;
    background: white;
    border-radius: 50%;
    transition: transform 0.3s ease;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.ultra-toggle input:checked + .ultra-toggle-slider {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
}

.ultra-toggle input:checked + .ultra-toggle-slider::after {
    transform: translateX(18px);
}

.ultra-toggle-label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
}

.ultra-price-tag,
.antigravity-price-tag {
    font-weight: 400;
    font-size: 0.78rem;
    color: var(--text-secondary);
}

.ultra-total {
    margin-top: 10px;
    padding: 8px 12px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    color: var(--text-primary);
    border-left: 3px solid #f59e0b;
}

.ultra-total-amount {
    background: linear-gradient(135deg, #f59e0b, #ef4444);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 1.05rem;
}

/* ========================================
   Buy Modal
   ======================================== */

.buy-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(8px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.25s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.buy-modal {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    width: 100%;
    max-width: 560px;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.buy-modal-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: rgba(0,0,0,0.05);
    border: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: all 0.2s ease;
    z-index: 2;
}

.buy-modal-close:hover {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.buy-modal-header {
    padding: 30px 30px 20px;
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
}

.buy-modal-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.buy-modal-selection {
    display: inline-block;
    padding: 6px 16px;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.1), rgba(14, 165, 233, 0.1));
    border: 1px solid rgba(99, 102, 241, 0.2);
    border-radius: var(--radius-xl);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-purple);
}

.buy-modal-body {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

/* Payment Option Cards */
.payment-option-card {
    display: flex;
    gap: 15px;
    padding: 18px;
    border-radius: var(--radius-md);
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    transition: all 0.2s ease;
}

.payment-option-card:hover {
    border-color: var(--accent-purple);
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.08);
}

.payment-option-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    font-weight: 800;
    flex-shrink: 0;
}

.payment-option-info h4 {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.payment-option-info p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.wallet-address-box {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 6px;
}

.wallet-label {
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.wallet-addr {
    font-size: 0.78rem;
    background: rgba(0,0,0,0.06);
    padding: 5px 10px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
    color: var(--text-primary);
    word-break: break-all;
    flex: 1;
    min-width: 180px;
}

.copy-btn {
    padding: 5px 12px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.copy-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(99, 102, 241, 0.3);
}

.btn-whatsapp-pay {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #25d366, #128c7e);
    color: white;
    border: none;
    border-radius: var(--radius-xl);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-whatsapp-pay:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
}

.whatsapp-card {
    background: linear-gradient(135deg, rgba(37, 211, 102, 0.06), rgba(18, 140, 126, 0.04));
    border-color: rgba(37, 211, 102, 0.2);
}

.buy-modal-footer {
    padding: 15px 30px 20px;
    text-align: center;
    border-top: 1px solid var(--border-subtle);
}

.buy-modal-footer p {
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ========================================
   Responsive - Pricing
   ======================================== */

@media (max-width: 900px) {
    .platform-pricing-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .platform-card.featured-card {
        order: -1; /* Mac first on mobile */
    }
}

@media (max-width: 600px) {
    .tier-row {
        flex-wrap: wrap;
        gap: 8px;
    }

    .tier-label {
        min-width: auto;
    }

    .btn-buy-now {
        width: 100%;
        text-align: center;
    }

    .buy-modal {
        max-height: 95vh;
    }

    .buy-modal-body {
        padding: 15px 20px;
    }

    .buy-modal-header {
        padding: 20px 20px 15px;
    }

    .payment-option-card {
        flex-direction: column;
        gap: 10px;
    }

    .wallet-address-box {
        flex-direction: column;
        align-items: flex-start;
    }

    .wallet-addr {
        width: 100%;
    }
}

/* Plan Switcher Toggle */
.plan-switcher {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.plan-btn {
    padding: 10px 24px;
    background: var(--bg-tertiary);
    border: 1px solid var(--border-subtle);
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn.active {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.3);
}

.grand-total-section {
    padding: 20px;
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-subtle);
    text-align: center;
}

.grand-total-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.grand-total-amount {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 15px;
    display: block;
}

.btn-buy-full {
    width: 100%;
    padding: 14px;
    background: var(--gradient-primary);
    color: white;
    border: none;
    border-radius: var(--radius-md);
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-buy-full:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.4);
}

.crypto-network-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.network-item {
    background: rgba(0,0,0,0.03);
    padding: 10px;
    border-radius: 8px;
    position: relative;
}

.network-item-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 5px;
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.network-address {
    font-family: 'Courier New', monospace;
    font-size: 0.75rem;
    word-break: break-all;
    display: block;
    margin-bottom: 5px;
}

