/* Subscriptions Page Styles */

/* Hero Section */
.subscriptions-hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('../images/hosting-tools.jpg');
    background-size: cover;
    background-position: center;
    color: #fff;
    padding: 120px 0;
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.subscriptions-hero h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    font-weight: 800;
    letter-spacing: -1px;
    color: #fff !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.subscriptions-hero p {
    font-size: 1.3rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
    font-weight: 300;
    color: #f8fafc;
}

/* Pricing Grid */
.pricing-section {
    padding-bottom: 80px;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-top: 40px;
    align-items: stretch;
}

.pricing-card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    padding: 0;
    text-align: center;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
    border: 2px solid #b7c4d1;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.pricing-card:hover {
    border-color: #3498db;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.1);
}

.card-header {
    padding: 40px 30px 20px;
    background: #f8fafc;
    border-bottom: 1px solid #d7e0ea;
}

.plan-name {
    font-size: 1.4rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.plan-price {
    font-size: 3rem;
    font-weight: 800;
    color: #2c3e50;
    margin-bottom: 10px;
    line-height: 1;
}

.plan-price span {
    font-size: 1rem;
    font-weight: 500;
    color: #95a5a6;
}

.plan-description {
    color: #7f8c8d;
    font-size: 0.95rem;
    line-height: 1.5;
    margin-bottom: 0;
}

.card-body {
    padding: 20px 30px 40px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 30px 0;
    text-align: left;
    flex-grow: 1;
}

.plan-features li {
    padding: 12px 0;
    border-bottom: 1px solid #f0f2f5;
    color: #555;
    display: flex;
    align-items: start;
    font-size: 0.95rem;
}

.plan-features li:last-child {
    border-bottom: none;
}

.plan-features li i {
    margin-right: 12px;
    margin-top: 4px;
    color: #3498db;
    font-size: 1rem;
    flex-shrink: 0;
}

.unlock-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px 0 15px;
    font-weight: 700;
    color: #34495e;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 1px;
    position: relative;
}

.unlock-header::before,
.unlock-header::after {
    content: '';
    flex: 1;
    height: 1px;
    background: #e0e0e0;
    margin: 0 15px;
}

.unlock-header i {
    color: var(--primary-color, #3498db);
    margin-right: 8px;
}

.plan-features li.unlocked {
    color: #2c3e50;
    font-weight: 600;
    background: rgba(52, 152, 219, 0.03);
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 6px;
    border-bottom: none;
    margin-bottom: 5px;
}

.plan-features li.unlocked i {
    color: var(--primary-color, #3498db);
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 14px 0;
    background: #f8f9fa;
    color: #333;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    border: 2px solid #e9ecef;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 0.5px;
}

.plan-btn:hover {
    background: #2c3e50;
    color: #fff;
    border-color: #2c3e50;
}

.plan-btn.plan-btn-apply {
    background: #2c3e50;
    border-color: #2c3e50;
    color: #fff;
}

.plan-btn.plan-btn-apply:hover,
.plan-btn.plan-btn-apply:focus {
    background: #1f2933;
    border-color: #1f2933;
    color: #fff;
}

.plan-btn.plan-btn-test {
    margin-top: 10px;
    background: #fff;
    border-color: #cbd5e1;
    color: #1f2933;
    text-transform: none;
    letter-spacing: 0;
}

.plan-btn.plan-btn-test:hover,
.plan-btn.plan-btn-test:focus {
    background: #f8fafc;
    border-color: #94a3b8;
    color: #111827;
}

.plan-btn.is-disabled,
.plan-btn:disabled {
    cursor: not-allowed;
    opacity: 0.55;
    pointer-events: none;
}

.checkout-page {
    background: #f8fafc;
    color: #1f2933;
    min-height: 70vh;
}

.checkout-header {
    background: #fff;
    border-bottom: 1px solid #d7e0ea;
    padding: 32px 0 24px;
}

.checkout-header h1 {
    color: #1f2933;
    font-size: 2rem;
    font-weight: 800;
    margin: 12px 0 0;
}

.checkout-back-link {
    align-items: center;
    color: #425466;
    display: inline-flex;
    font-weight: 700;
    gap: 8px;
    text-decoration: none;
}

.checkout-back-link:hover,
.checkout-back-link:focus {
    color: #2c3e50;
}

.checkout-section {
    padding: 40px 0 80px;
}

.checkout-grid {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1.15fr) minmax(340px, 0.85fr);
}

.checkout-panel {
    background: #fff;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    padding: 28px;
}

.checkout-panel h2 {
    color: #1f2933;
    font-size: 1.35rem;
    font-weight: 800;
    margin: 0 0 10px;
}

.checkout-plan-heading {
    align-items: flex-start;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    gap: 24px;
    justify-content: space-between;
    margin-bottom: 24px;
    padding-bottom: 24px;
}

.checkout-plan-description {
    color: #5f6f7f;
    line-height: 1.6;
    margin: 0;
}

.checkout-price {
    color: #2c3e50;
    font-size: 2.1rem;
    font-weight: 800;
    line-height: 1;
    min-width: 190px;
    text-align: right;
}

.checkout-price span {
    color: #6b7c8f;
    font-size: 1rem;
    font-weight: 600;
}

.checkout-details {
    display: grid;
    gap: 0;
    margin: 0;
}

.checkout-details div {
    border-bottom: 1px solid #edf2f7;
    display: flex;
    gap: 16px;
    justify-content: space-between;
    padding: 14px 0;
}

.checkout-details div:last-child {
    border-bottom: 0;
}

.checkout-details dt {
    color: #5f6f7f;
    font-weight: 700;
}

.checkout-details dd {
    color: #1f2933;
    font-weight: 700;
    margin: 0;
    text-align: right;
}

.checkout-access-panel {
    background: #f8fafc;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    margin-top: 24px;
    padding: 18px;
}

.checkout-access-panel h3 {
    color: #1f2933;
    font-size: 1rem;
    font-weight: 800;
    margin: 0 0 14px;
}

.checkout-access-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.checkout-access-grid div {
    background: #fff;
    border: 1px solid #e6edf4;
    border-radius: 8px;
    padding: 14px;
}

.checkout-access-grid strong {
    color: #1f2933;
    display: block;
    font-size: 1rem;
    line-height: 1.35;
}

.checkout-access-grid span {
    color: #5f6b76;
    display: block;
    font-size: 0.86rem;
    margin-top: 4px;
}

.checkout-limit-table-wrap {
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    margin-top: 20px;
    overflow: hidden;
}

.checkout-limit-table {
    border-collapse: collapse;
    width: 100%;
}

.checkout-limit-table th,
.checkout-limit-table td {
    border-bottom: 1px solid #edf2f7;
    color: #344054;
    font-size: 0.94rem;
    padding: 13px 15px;
    text-align: left;
}

.checkout-limit-table th {
    background: #f8fafc;
    color: #5f6b76;
    font-weight: 800;
}

.checkout-limit-table tr:last-child td {
    border-bottom: 0;
}

.checkout-payment-card {
    position: sticky;
    top: 24px;
}

.checkout-payment-header {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    margin-bottom: 18px;
}

.checkout-payment-header h2 {
    margin: 0;
}

.checkout-payment-header span {
    color: #5f6b76;
    font-size: 0.88rem;
    font-weight: 700;
}

.checkout-payment-total {
    background: #f8fafc;
    border: 1px solid #e3e8ef;
    border-radius: 8px;
    margin-bottom: 14px;
    padding: 16px;
}

.checkout-payment-total span,
.checkout-payment-row span {
    color: #5f6b76;
    display: block;
    font-size: 0.88rem;
}

.checkout-payment-total strong {
    color: #1f2933;
    display: block;
    font-size: 2rem;
    line-height: 1.1;
    margin-top: 4px;
}

.checkout-payment-row {
    align-items: center;
    border-bottom: 1px solid #edf2f7;
    display: flex;
    gap: 12px;
    justify-content: space-between;
    padding: 12px 0;
}

.checkout-payment-row strong {
    color: #1f2933;
    text-align: right;
}

.checkout-paystack-box {
    border: 1px solid #dce6ef;
    border-radius: 8px;
    margin-top: 18px;
    padding: 16px;
}

.checkout-paystack-box-header {
    align-items: flex-start;
    display: flex;
    gap: 12px;
}

.checkout-paystack-box-header i {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-top: 2px;
}

.checkout-paystack-box-header strong {
    color: #1f2933;
    display: block;
    font-size: 0.98rem;
}

.checkout-paystack-box-header span {
    color: #5f6b76;
    display: block;
    font-size: 0.88rem;
    line-height: 1.45;
    margin-top: 3px;
}

.checkout-secure-fields {
    display: grid;
    gap: 8px;
    margin-top: 14px;
}

.checkout-secure-fields div {
    background: #f8fafc;
    border: 1px solid #e6edf4;
    border-radius: 6px;
    color: #6b7785;
    font-size: 0.88rem;
    padding: 11px 12px;
}

.checkout-access-list {
    list-style: none;
    margin: 16px 0 20px;
    padding: 0;
}

.checkout-access-list li {
    align-items: flex-start;
    border-bottom: 1px solid #edf2f7;
    color: #425466;
    display: flex;
    gap: 10px;
    line-height: 1.5;
    padding: 12px 0;
}

.checkout-access-list li:last-child {
    border-bottom: 0;
}

.checkout-access-list i {
    color: #2c3e50;
    margin-top: 4px;
    width: 16px;
}

.checkout-pay-button {
    margin-top: 6px;
    width: 100%;
}

.checkout-inline-note {
    color: #5f6b76;
    font-size: 0.88rem;
    line-height: 1.45;
    margin: 12px 0 0;
}

.checkout-error {
    margin: 16px 0 0;
}

.checkout-alert {
    margin-bottom: 24px;
}

.agency-application-page {
    background: #f8fafc;
    min-height: 70vh;
}

.agency-application-section {
    padding: 40px 0 80px;
}

.agency-application-grid {
    align-items: start;
    display: grid;
    gap: 28px;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 0.42fr);
}

.agency-application-form,
.agency-application-summary {
    background: #fff;
    border: 1px solid #d7e0ea;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
    padding: 28px;
}

.agency-form-section {
    border-bottom: 1px solid #edf2f7;
    margin-bottom: 24px;
    padding-bottom: 24px;
}

.agency-form-section h2,
.agency-application-summary h2 {
    color: #1f2933;
    font-size: 1.2rem;
    font-weight: 800;
    margin: 0 0 18px;
}

.agency-form-row {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agency-document-grid {
    display: grid;
    gap: 16px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.agency-application-form label {
    color: #344054;
    display: block;
    font-weight: 700;
    margin-bottom: 16px;
}

.agency-application-form input,
.agency-application-form textarea,
.agency-application-form select {
    background: #fff;
    border: 1px solid #cbd5df;
    border-radius: 8px;
    color: #1f2933;
    display: block;
    font: inherit;
    margin-top: 7px;
    padding: 11px 12px;
    width: 100%;
}

.agency-application-form input:focus,
.agency-application-form textarea:focus,
.agency-application-form select:focus {
    border-color: #2c3e50;
    box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.12);
    outline: 0;
}

.agency-field-note {
    color: #5f6b76;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: -6px 0 0;
}

.agency-consent {
    align-items: flex-start;
    display: flex !important;
    gap: 10px;
}

.agency-consent input {
    flex: 0 0 auto;
    margin-top: 3px;
    width: auto;
}

.checkout-terms-consent {
    align-items: flex-start;
    background: #f8fafc;
    border: 1px solid #dbe4ef;
    border-radius: 8px;
    color: #334155;
    display: flex;
    gap: 10px;
    line-height: 1.5;
    margin: 18px 0;
    padding: 14px;
}

.checkout-terms-consent input {
    flex: 0 0 auto;
    margin-top: 4px;
}

.checkout-terms-consent a {
    color: #1f78b4;
    font-weight: 700;
}

.agency-submit-button {
    border: 0;
    cursor: pointer;
}

.agency-application-message {
    margin: 18px 0 0;
}

.agency-application-summary {
    position: sticky;
    top: 24px;
}

.agency-application-summary ol {
    color: #425466;
    line-height: 1.55;
    margin: 0;
    padding-left: 20px;
}

.agency-application-summary li + li {
    margin-top: 12px;
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
    padding: 80px 0;
    border-top: 1px solid #e9ecef;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.faq-item {
    background: #fff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.03);
}

.faq-item h4 {
    margin-bottom: 15px;
    font-weight: 700;
    color: #2c3e50;
}

.faq-item p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .subscriptions-hero {
        padding: 80px 0;
        margin-bottom: 36px;
    }

    .subscriptions-hero h1 {
        font-size: 2.2rem;
        letter-spacing: 0;
    }

    .subscriptions-hero p {
        font-size: 1rem;
        padding: 0 16px;
    }

    .faq-grid {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 30px;
    }

    .faq-item {
        padding: 18px;
    }

    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .checkout-panel {
        padding: 20px;
    }

    .checkout-plan-heading {
        display: block;
    }

    .checkout-price {
        margin-top: 18px;
        min-width: 0;
        text-align: left;
    }

    .checkout-access-grid {
        grid-template-columns: 1fr;
    }

    .checkout-payment-card {
        position: static;
    }

    .checkout-details div {
        display: block;
    }

    .checkout-details dd {
        margin-top: 4px;
        text-align: left;
    }

    .agency-application-grid,
    .agency-form-row,
    .agency-document-grid {
        grid-template-columns: 1fr;
    }

    .agency-application-form,
    .agency-application-summary {
        padding: 20px;
    }

    .agency-application-summary {
        position: static;
    }
}

@media (max-width: 400px) {
    .pricing-grid {
        gap: 16px;
    }

    .card-header,
    .card-body {
        padding-left: 16px;
        padding-right: 16px;
    }
}
