/* ==========================================================================
   PTech Premium Hosting Packages - Hostinger Inspired UI
   Ultra-lightweight Vanilla CSS (<12KB)
   ========================================================================== */

:root {
    --ptech-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --ptech-primary: #673de6;
    --ptech-primary-hover: #5025d1;
    --ptech-primary-light: #f4f0ff;
    --ptech-accent: #ff007a;
    --ptech-success: #12b76a;
    --ptech-success-bg: #ecfdf3;
    --ptech-dark-bg: #0f172a;
    --ptech-card-bg: #ffffff;
    --ptech-border: #e2e8f0;
    --ptech-text-dark: #111827;
    --ptech-text-muted: #64748b;
    --ptech-radius: 16px;
    --ptech-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.05), 0 4px 6px -2px rgba(0, 0, 0, 0.02);
    --ptech-shadow-hover: 0 20px 40px -10px rgba(103, 61, 230, 0.15), 0 8px 12px -4px rgba(0, 0, 0, 0.04);
}

.ptech-pricing-container {
    font-family: var(--ptech-font);
    max-width: 1240px;
    margin: 40px auto;
    padding: 0 20px;
    box-sizing: border-box;
    color: var(--ptech-text-dark);
}

.ptech-pricing-container * {
    box-sizing: border-box;
}

/* Category Tabs Navigation */
.ptech-tabs-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.ptech-tab-btn {
    background: #f1f5f9;
    border: 1px solid #e2e8f0;
    padding: 12px 24px;
    border-radius: 9999px;
    font-size: 15px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.25s ease;
}

.ptech-tab-btn:hover {
    background: #e2e8f0;
    color: #0f172a;
}

.ptech-tab-btn.active {
    background: var(--ptech-primary);
    color: #ffffff;
    border-color: var(--ptech-primary);
    box-shadow: 0 4px 14px rgba(103, 61, 230, 0.35);
}

/* Hostinger-style Billing Cycle Switcher */
.ptech-billing-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 45px;
}

.ptech-billing-toggle {
    display: inline-flex;
    background: #f1f5f9;
    padding: 6px;
    border-radius: 9999px;
    border: 1px solid #e2e8f0;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.04);
    gap: 4px;
    flex-wrap: wrap;
    justify-content: center;
}

.ptech-cycle-btn {
    background: transparent;
    border: none;
    padding: 10px 20px;
    border-radius: 9999px;
    font-size: 14px;
    font-weight: 700;
    color: #475569;
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.ptech-cycle-btn:hover {
    color: #0f172a;
}

.ptech-cycle-btn.active {
    background: #ffffff;
    color: var(--ptech-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ptech-save-tag {
    font-size: 11px;
    font-weight: 800;
    padding: 3px 8px;
    border-radius: 9999px;
    background: #e0f2fe;
    color: #0284c7;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.ptech-save-tag.ptech-save-hot {
    background: #fdf2f8;
    color: var(--ptech-accent);
    border: 1px solid #fbcfe8;
}

/* Category Sections */
.ptech-category-section {
    display: none;
    animation: ptechFadeIn 0.35s ease forwards;
}

.ptech-category-section.active {
    display: block;
}

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

/* Pricing Grid */
.ptech-pricing-grid {
    display: grid;
    gap: 28px;
    align-items: stretch;
}

.ptech-cols-3 { grid-template-columns: repeat(3, 1fr); }
.ptech-cols-4 { grid-template-columns: repeat(4, 1fr); }
.ptech-cols-2 { grid-template-columns: repeat(2, 1fr); }

/* Pricing Card */
.ptech-pricing-card {
    position: relative;
    background: var(--ptech-card-bg);
    border: 1px solid var(--ptech-border);
    border-radius: var(--ptech-radius);
    padding: 36px 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--ptech-shadow);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ptech-pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--ptech-shadow-hover);
    border-color: #cbd5e1;
}

/* Featured / Most Popular Card */
.ptech-pricing-card.ptech-featured {
    border: 2px solid var(--ptech-primary);
    box-shadow: 0 15px 35px -5px rgba(103, 61, 230, 0.2);
    background: linear-gradient(180deg, #ffffff 0%, #faf8ff 100%);
}

.ptech-ribbon {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #673de6, #ff007a);
    color: #ffffff;
    font-size: 12px;
    font-weight: 800;
    padding: 6px 18px;
    border-radius: 9999px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    box-shadow: 0 4px 12px rgba(103, 61, 230, 0.4);
    white-space: nowrap;
}

/* Card Header */
.ptech-card-header {
    margin-bottom: 20px;
}

.ptech-plan-title-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.ptech-plan-icon {
    font-size: 24px;
}

.ptech-plan-title {
    font-size: 22px;
    font-weight: 800;
    margin: 0;
    color: var(--ptech-text-dark);
    letter-spacing: -0.5px;
}

.ptech-plan-tagline {
    font-size: 13px;
    color: var(--ptech-text-muted);
    margin: 0 0 14px 0;
    line-height: 1.5;
    min-height: 40px;
}

.ptech-discount-pill {
    display: inline-block;
}

.ptech-discount-pill span {
    background: #fdf2f8;
    color: var(--ptech-accent);
    font-size: 11px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 9999px;
    border: 1px solid #fbcfe8;
    letter-spacing: 0.4px;
}

/* Price Section */
.ptech-card-price {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f1f5f9;
}

.ptech-regular-price {
    font-size: 14px;
    color: #94a3b8;
    margin-bottom: 4px;
}

.ptech-main-price {
    display: flex;
    align-items: baseline;
    gap: 2px;
}

.ptech-currency {
    font-size: 26px;
    font-weight: 800;
    color: var(--ptech-text-dark);
}

.ptech-amount {
    font-size: 48px;
    font-weight: 800;
    color: var(--ptech-text-dark);
    line-height: 1;
    letter-spacing: -1px;
    transition: all 0.25s ease;
}

.ptech-period {
    font-size: 15px;
    font-weight: 600;
    color: var(--ptech-text-muted);
    margin-left: 4px;
}

.ptech-renewal-notice {
    font-size: 12px;
    font-weight: 600;
    color: var(--ptech-success);
    margin: 8px 0 0;
}

/* CTA Buttons */
.ptech-card-cta {
    margin-bottom: 26px;
}

.ptech-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 14px 20px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
    cursor: pointer;
    box-sizing: border-box;
}

.ptech-btn-primary {
    background: var(--ptech-primary);
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(103, 61, 230, 0.35);
    border: none;
}

.ptech-btn-primary:hover {
    background: var(--ptech-primary-hover);
    box-shadow: 0 6px 20px rgba(103, 61, 230, 0.45);
    transform: translateY(-2px);
}

.ptech-btn-outline {
    background: transparent;
    color: var(--ptech-primary) !important;
    border: 2px solid var(--ptech-primary);
}

.ptech-btn-outline:hover {
    background: var(--ptech-primary-light);
    transform: translateY(-2px);
}

/* Top Specs Box */
.ptech-specs-box {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 24px;
}

.ptech-specs-title {
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    color: #64748b;
    letter-spacing: 0.5px;
    margin-bottom: 12px;
}

.ptech-specs-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.ptech-specs-list li {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: #1e293b;
}

.ptech-icon-spec {
    flex-shrink: 0;
}

/* Full Features Checklist */
.ptech-features-wrap {
    flex-grow: 1;
}

.ptech-features-title {
    font-size: 13px;
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 14px;
}

.ptech-features-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.ptech-features-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13.5px;
    line-height: 1.45;
}

.ptech-features-list li.ptech-positive {
    color: #334155;
    font-weight: 500;
}

.ptech-features-list li.ptech-negative {
    color: #94a3b8;
    text-decoration: line-through;
}

.ptech-feat-icon {
    flex-shrink: 0;
    margin-top: 2px;
}

/* Bottom Guarantee & Trust Bar */
.ptech-guarantee-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: var(--ptech-radius);
    padding: 24px 30px;
    margin-top: 50px;
    text-align: center;
}

.ptech-guar-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    color: #475569;
}

.ptech-guar-icon {
    font-size: 22px;
}

/* Dark Theme Support */
.ptech-theme-dark {
    --ptech-card-bg: #1e293b;
    --ptech-border: #334155;
    --ptech-text-dark: #f8fafc;
    --ptech-text-muted: #94a3b8;
    background: #0f172a;
    padding: 40px 20px;
    border-radius: 20px;
}

.ptech-theme-dark .ptech-tab-btn {
    background: #334155;
    color: #cbd5e1;
    border-color: #475569;
}

.ptech-theme-dark .ptech-tab-btn.active {
    background: var(--ptech-primary);
    color: #ffffff;
}

.ptech-theme-dark .ptech-billing-toggle {
    background: #1e293b;
    border-color: #334155;
}

.ptech-theme-dark .ptech-cycle-btn {
    color: #94a3b8;
}

.ptech-theme-dark .ptech-cycle-btn.active {
    background: #334155;
    color: #ffffff;
}

.ptech-theme-dark .ptech-specs-box {
    background: #0f172a;
    border-color: #334155;
}

.ptech-theme-dark .ptech-specs-list li {
    color: #f1f5f9;
}

.ptech-theme-dark .ptech-guarantee-bar {
    background: #1e293b;
    border-color: #334155;
}

.ptech-theme-dark .ptech-guar-item {
    color: #cbd5e1;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
    .ptech-cols-3, .ptech-cols-4 {
        grid-template-columns: repeat(2, 1fr);
    }
    .ptech-guarantee-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .ptech-cols-2, .ptech-cols-3, .ptech-cols-4 {
        grid-template-columns: 1fr;
    }
    .ptech-guarantee-bar {
        grid-template-columns: 1fr;
    }
    .ptech-billing-toggle {
        border-radius: 16px;
    }
    .ptech-cycle-btn {
        width: 100%;
        justify-content: center;
    }
}
