/* ==========================================================================
   Nasey - Hide Prices & Quote System
   Palette: theme indigo/purple (#6366f1, #8b5cf6)
   Icons: Remix Icon (loaded globally by the theme)
   ========================================================================== */

:root {
    --nasey-primary: #6366f1;
    --nasey-secondary: #8b5cf6;
    --nasey-gradient: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    --nasey-primary-soft: rgba(99, 102, 241, 0.08);
    --nasey-primary-softer: rgba(99, 102, 241, 0.04);
    --nasey-primary-border: rgba(99, 102, 241, 0.2);
    --nasey-text: #1f2937;
    --nasey-text-muted: #6b7280;
    --nasey-border: #e5e7eb;
    --nasey-bg-soft: #f9fafb;
}

/* --------------------------------------------------------------------------
   1. Hide legacy price elements
   -------------------------------------------------------------------------- */

.nasey-prices-hidden .hosting-card-price,
.nasey-prices-hidden .card-price,
.nasey-prices-hidden .price-amount:empty,
.nasey-prices-hidden .price-currency,
.nasey-prices-hidden .price-range,
.nasey-prices-hidden .price-egp,
.nasey-prices-hidden .pricing-card .price,
.nasey-prices-hidden .plan-price,
.nasey-prices-hidden .package-price,
.nasey-prices-hidden .ext-price {
    display: none !important;
}

/* Card badge injected by JS (replaces hidden price blocks) */
.nasey-quote-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--nasey-primary);
    font-weight: 700;
    font-size: 16px;
    padding: 16px 20px;
    text-align: center;
    background: linear-gradient(135deg, var(--nasey-primary-soft), var(--nasey-primary-softer));
    border-radius: 12px;
    border: 1px solid var(--nasey-primary-border);
    margin: 12px 0 18px;
    letter-spacing: 0.2px;
}

.nasey-quote-badge i {
    font-size: 20px;
    line-height: 1;
    color: var(--nasey-secondary);
}

/* Featured card variant */
.pricing-card-new.featured .nasey-quote-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.25);
}
.pricing-card-new.featured .nasey-quote-badge i {
    color: #ffffff;
}

/* Inline placeholder (returned by nasey_price / nasey_price_from_egp) */
.nasey-quote-placeholder {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--nasey-primary);
    font-weight: 700;
    font-size: 18px;
    padding: 8px 16px;
    background: linear-gradient(135deg, var(--nasey-primary-soft), var(--nasey-primary-softer));
    border-radius: 8px;
    border: 1px solid var(--nasey-primary-border);
    line-height: 1.4;
}

/* --------------------------------------------------------------------------
   2. Quote CTA button
   -------------------------------------------------------------------------- */

.nasey-quote-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--nasey-gradient);
    color: #fff !important;
    padding: 14px 30px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 15px;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.25);
    border: none;
    cursor: pointer;
    line-height: 1.2;
}

.nasey-quote-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(99, 102, 241, 0.35);
    color: #fff !important;
}

.nasey-quote-cta .nasey-quote-icon {
    font-size: 18px;
    line-height: 1;
}

/* --------------------------------------------------------------------------
   3. Quote form
   -------------------------------------------------------------------------- */

.nasey-quote-wrap {
    max-width: 920px;
    margin: 60px auto;
    padding: 0 20px;
    font-family: inherit;
}

.nasey-quote-intro {
    text-align: center;
    margin-bottom: 40px;
}

.nasey-quote-intro h2 {
    color: var(--nasey-text);
    font-size: 34px;
    font-weight: 800;
    margin: 0 0 14px;
    letter-spacing: -0.5px;
}

.nasey-quote-intro h2 .nasey-quote-title-accent {
    background: var(--nasey-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nasey-quote-intro p {
    color: var(--nasey-text-muted);
    font-size: 17px;
    line-height: 1.7;
    max-width: 620px;
    margin: 0 auto;
}

.nasey-quote-form {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(17, 24, 39, 0.06);
    padding: 48px;
    border: 1px solid var(--nasey-border);
}

/* Step blocks */
.nasey-quote-step {
    margin-bottom: 40px;
    padding-bottom: 32px;
    border-bottom: 1px solid var(--nasey-border);
}

.nasey-quote-step:last-of-type {
    border-bottom: none;
    margin-bottom: 20px;
    padding-bottom: 0;
}

.nasey-quote-step-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.nasey-quote-step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--nasey-gradient);
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    flex-shrink: 0;
    box-shadow: 0 6px 16px rgba(99, 102, 241, 0.28);
}

.nasey-quote-step-header h3 {
    margin: 0;
    color: var(--nasey-text);
    font-size: 21px;
    font-weight: 700;
}

/* Service selection grid */
.nasey-quote-services {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(155px, 1fr));
    gap: 14px;
}

.nasey-quote-service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 12px;
    border: 2px solid var(--nasey-border);
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.22s ease;
    background: #fff;
    text-align: center;
    min-height: 130px;
}

.nasey-quote-service-card:hover {
    border-color: var(--nasey-primary);
    background: var(--nasey-primary-softer);
    transform: translateY(-3px);
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.12);
}

.nasey-quote-service-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.nasey-quote-service-card:has(input[type="radio"]:checked) {
    border-color: var(--nasey-primary);
    background: linear-gradient(135deg, var(--nasey-primary-soft), var(--nasey-primary-softer));
    box-shadow: 0 8px 22px rgba(99, 102, 241, 0.18);
}

.nasey-quote-service-card:has(input[type="radio"]:checked) .nasey-quote-service-icon {
    color: var(--nasey-primary);
    transform: scale(1.1);
}

.nasey-quote-service-icon {
    font-size: 34px;
    margin-bottom: 10px;
    color: var(--nasey-text-muted);
    transition: all 0.22s ease;
    line-height: 1;
}

.nasey-quote-service-label {
    font-weight: 600;
    color: var(--nasey-text);
    font-size: 14px;
    line-height: 1.3;
}

/* Form fields */
.nasey-quote-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
    margin-bottom: 22px;
}

.nasey-quote-field {
    margin-bottom: 22px;
}

.nasey-quote-field:last-child {
    margin-bottom: 0;
}

.nasey-quote-row .nasey-quote-field {
    margin-bottom: 0;
}

.nasey-quote-field label {
    display: block;
    font-weight: 600;
    color: var(--nasey-text);
    margin-bottom: 8px;
    font-size: 14px;
}

.nasey-quote-field .req {
    color: var(--nasey-primary);
    font-weight: 700;
    margin-right: 3px;
}

.nasey-quote-field input[type="text"],
.nasey-quote-field input[type="email"],
.nasey-quote-field input[type="tel"],
.nasey-quote-field select,
.nasey-quote-field textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1.5px solid var(--nasey-border);
    border-radius: 10px;
    font-size: 15px;
    font-family: inherit;
    color: var(--nasey-text);
    transition: all 0.2s ease;
    background: #fff;
    box-sizing: border-box;
    line-height: 1.5;
}

.nasey-quote-field input::placeholder,
.nasey-quote-field textarea::placeholder {
    color: #9ca3af;
}

.nasey-quote-field input:focus,
.nasey-quote-field select:focus,
.nasey-quote-field textarea:focus {
    outline: none;
    border-color: var(--nasey-primary);
    box-shadow: 0 0 0 4px var(--nasey-primary-soft);
}

.nasey-quote-field textarea {
    resize: vertical;
    min-height: 110px;
    line-height: 1.7;
}

.nasey-quote-field select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M6 8L0 0h12z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: left 18px center;
    padding-left: 42px;
}

/* Submit */
.nasey-quote-submit-wrap {
    text-align: center;
    margin-top: 32px;
    padding-top: 20px;
    border-top: 1px dashed var(--nasey-border);
}

.nasey-quote-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--nasey-gradient);
    color: #fff;
    border: none;
    padding: 16px 44px;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.25s ease;
    box-shadow: 0 10px 30px rgba(99, 102, 241, 0.28);
    font-family: inherit;
}

.nasey-quote-submit i {
    font-size: 20px;
    line-height: 1;
}

.nasey-quote-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 40px rgba(99, 102, 241, 0.4);
}

.nasey-quote-note {
    color: var(--nasey-text-muted);
    font-size: 13px;
    margin: 14px 0 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.nasey-quote-note::before {
    font-family: "remixicon";
    content: "\eb7c"; /* ri-time-line */
    color: var(--nasey-primary);
}

/* Success state */
.nasey-quote-success {
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(17, 24, 39, 0.06);
    padding: 70px 40px;
    text-align: center;
    border: 1px solid var(--nasey-border);
}

.nasey-quote-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: linear-gradient(135deg, #10b981, #059669);
    color: #fff;
    font-size: 44px;
    margin: 0 auto 28px;
    box-shadow: 0 12px 32px rgba(16, 185, 129, 0.3);
    line-height: 1;
}

.nasey-quote-success h2 {
    color: var(--nasey-text);
    font-size: 30px;
    margin: 0 0 14px;
    font-weight: 800;
}

.nasey-quote-success p {
    color: var(--nasey-text-muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 500px;
    margin: 0 auto 30px;
}

.nasey-quote-btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--nasey-text);
    color: #fff !important;
    padding: 14px 32px;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.2s ease;
}

.nasey-quote-btn-secondary:hover {
    background: #111827;
    transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. Responsive
   -------------------------------------------------------------------------- */

@media (max-width: 768px) {
    .nasey-quote-wrap { margin: 30px auto; }
    .nasey-quote-form { padding: 28px 20px; border-radius: 16px; }
    .nasey-quote-intro h2 { font-size: 26px; }
    .nasey-quote-intro p { font-size: 15px; }
    .nasey-quote-row { grid-template-columns: 1fr; gap: 0; }
    .nasey-quote-row .nasey-quote-field { margin-bottom: 22px; }
    .nasey-quote-row .nasey-quote-field:last-child { margin-bottom: 0; }
    .nasey-quote-services { grid-template-columns: repeat(2, 1fr); }
    .nasey-quote-service-icon { font-size: 28px; }
    .nasey-quote-service-label { font-size: 13px; }
    .nasey-quote-service-card { min-height: 110px; padding: 18px 10px; }
    .nasey-quote-step-header h3 { font-size: 18px; }
    .nasey-quote-submit { padding: 14px 32px; font-size: 15px; }
}
