/* Service pages share the orbit palette used by the site navigation. */
body {
    --bg-color: #110e19;
    --card-bg: #201928;
    --text-color: #f5edf9;
    --text-muted: #c1b4cc;
    --service-edge: #504057;
    --service-accent: #dfb8f6;
    background-color: var(--bg-color);
    color: var(--text-color);
}
body .page-hero::before {
    background: linear-gradient(180deg, transparent 25%, #110e19);
    pointer-events: none;
}
body .page-hero h1 span { color: var(--service-accent); }
body :is(.trust-grid-new .trust-card, .testimonials .testimonial-card, .package-card, .duo-feature-card, .duo-price-card, .boost-form-card) {
    background: linear-gradient(125deg, #261d30, #1b1622);
    border-color: var(--service-edge);
    color: var(--text-color);
}
body .testimonials .testimonial-card { border-left-color: var(--service-accent); }
body .trust-card .trust-icon { color: var(--service-accent); background-color: #392940; }
body :is(.trust-card p, .info-box div, .form-group label, .page-hero p) { color: var(--text-muted); }
body .testimonials .testimonial-card span { color: var(--text-muted) !important; }
body #load-more-btn { color: var(--service-accent) !important; border-color: var(--service-edge) !important; }
body .form-group select option { background-color: #211a2a; color: var(--text-color); }

/* Use the same outer rails as the site navigation at every desktop width. */
body main.elo-workspace,
body main:has(> .info-box + .boost-layout) {
    --page-inset: clamp(1rem, 4vw, 6rem);
    box-sizing: border-box;
    width: 100%;
    max-width: none;
    padding-inline: var(--page-inset);
}
body .page-hero:has(+ main.elo-workspace) { text-align: start; padding-inline: clamp(1rem, 4vw, 6rem); }
body .page-hero:has(+ main.elo-workspace) p { margin-inline: 0; }
body main .testimonials {
    display: grid;
    width: 100%;
    max-width: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
body main .testimonials .testimonial-card { max-width: none; min-width: 0; overflow-wrap: anywhere; }
@media (min-width: 960px) {
    body main:has(> .info-box + .boost-layout) {
        display: grid;
        grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
        grid-template-rows: auto auto;
        align-items: start;
    }
    body main:has(> .info-box + .boost-layout) > .info-box { grid-column: 1 / -1; grid-row: 1; }
    body main:has(> .info-box + .boost-layout) > .boost-layout { grid-column: 1; grid-row: 2; }
    body main:has(> .info-box + .boost-layout) > .boost-layout + * {
        grid-column: 2; grid-row: 2; width: 100%; max-width: none;
        box-sizing: border-box; margin: 0 !important; padding: 0;
    }
    main .boost-layout + * .trust-grid-new { display: grid; grid-template-columns: 1fr !important; gap: 0; max-width: none; }
    main .boost-layout + * .trust-card {
        display: grid; grid-template-columns: auto 1fr; column-gap: 1rem;
        text-align: start; align-content: center; padding: 1rem 0;
        border: 0; border-bottom: 1px solid var(--service-edge); border-radius: 0; background: transparent;
    }
    main .boost-layout + * .trust-icon { grid-row: span 2; margin: 0; }
    main .boost-layout + * :is(h2,p,.section-header) { text-align: start; margin-inline: 0; }
    main .boost-layout + * .section-divider { margin-left: 0; }
    main.elo-workspace .elo-builder { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
@media (max-width: 720px) {
    body main .testimonials { grid-template-columns: 1fr; }
}
/* Shared interactive controls for boost pages */
body:not(:has(.admin-container)) :is(.range-container,.rr-input-group) { padding:1rem 1.1rem; background:linear-gradient(105deg,#21172b,#18131f); border:1px solid #5c486b; border-radius:6px; }
body:not(:has(.admin-container)) .range-container { position:relative; gap:.7rem; }
body:not(:has(.admin-container)) .range-header { color:#eee3f4; }
body:not(:has(.admin-container)) input[type=range] { accent-color:#d7a5f1; height:8px; cursor:pointer; }
body:not(:has(.admin-container)) input[type=range]::-webkit-slider-runnable-track { height:7px; background:#4b3b56; border-radius:20px; }
body:not(:has(.admin-container)) input[type=range]::-webkit-slider-thumb { width:18px;height:18px;margin-top:-5px;background:#f5ddff;border:3px solid #b873dc;box-shadow:0 0 0 4px #b873dc33; }
body:not(:has(.admin-container)) .range-value-display { color:#edcfff; background:#3b2648; padding:.3rem .65rem; border-radius:3px; }
body:not(:has(.admin-container)) .rr-input-group { display:flex; align-items:center; gap:.7rem; padding:.25rem .7rem; }
body:not(:has(.admin-container)) .rr-input-group input { flex:1; background:transparent; border:0; color:#fff; font-size:1.35rem; font-weight:800; outline:0; }
body:not(:has(.admin-container)) .rr-suffix { color:#e0aaf5; font-weight:800; }
body:not(:has(.admin-container)) .price-display-rr { color:#e4bcfa; border-top:1px solid #5c486b; border-bottom:1px solid #5c486b; padding:1rem 0; font-size:clamp(2rem,4vw,3.5rem); }
@media (max-width:700px) { body:not(:has(.admin-container)) :is(.range-container,.rr-input-group) { padding:.8rem; } }
/* Keep the RR trust section outside its calculator grid. */
body:not(:has(.admin-container)) main:has(#mevcutRR) { display:block !important; width:100%; max-width:none; padding-inline:clamp(1rem,4vw,6rem); }
body:not(:has(.admin-container)) main:has(#mevcutRR) > .boost-layout { width:min(100%,1120px); margin:0 auto; }
body:not(:has(.admin-container)) main:has(#mevcutRR) > .content-section { display:block; width:100%; max-width:none; margin-top:clamp(3rem,7vw,6rem); padding:0; }
body:not(:has(.admin-container)) main:has(#mevcutRR) > .content-section .trust-grid-new { grid-template-columns:repeat(4,minmax(0,1fr)) !important; }
@media(max-width:800px){ body:not(:has(.admin-container)) main:has(#mevcutRR) > .content-section .trust-grid-new { grid-template-columns:repeat(2,minmax(0,1fr)) !important; } }
@media(max-width:520px){ body:not(:has(.admin-container)) main:has(#mevcutRR) > .content-section .trust-grid-new { grid-template-columns:1fr !important; } }
/* Balanced calculator layouts */
@media (min-width: 960px) {
 body:not(:has(.admin-container)) main:has(#mevcutRR),
 body:not(:has(.admin-container)) main:has(#winCount),
 body:not(:has(.admin-container)) main:has(#scoreRange) {
   display:grid !important;
   grid-template-columns:minmax(0,1.15fr) minmax(20rem,.85fr) !important;
   column-gap:clamp(2rem,5vw,6rem) !important;
   align-items:start !important;
 }
 body:not(:has(.admin-container)) main:has(#mevcutRR) > .info-box,
 body:not(:has(.admin-container)) main:has(#winCount) > .info-box,
 body:not(:has(.admin-container)) main:has(#scoreRange) > .info-box {
   grid-column:1/-1 !important; grid-row:1 !important;
 }
 body:not(:has(.admin-container)) main:has(#mevcutRR) > .boost-layout,
 body:not(:has(.admin-container)) main:has(#winCount) > .boost-layout,
 body:not(:has(.admin-container)) main:has(#scoreRange) > .boost-layout {
   grid-column:1 !important; grid-row:2 !important; width:100% !important; max-width:none !important; margin:0 !important;
 }
 body:not(:has(.admin-container)) main:has(#mevcutRR) > .content-section,
 body:not(:has(.admin-container)) main:has(#winCount) > .boost-layout + *,
 body:not(:has(.admin-container)) main:has(#scoreRange) > .boost-layout + * {
   grid-column:2 !important; grid-row:2 !important; width:100% !important; max-width:none !important; margin:0 !important;
 }
 body:not(:has(.admin-container)) main:has(#mevcutRR) > .content-section .trust-grid-new { grid-template-columns:1fr 1fr !important; }
}
body:not(:has(.admin-container)) main:has(#mevcutRR) .boost-form-card,
body:not(:has(.admin-container)) main:has(#winCount) .boost-form-card,
body:not(:has(.admin-container)) main:has(#scoreRange) .boost-form-card {
 width:100% !important; max-width:none !important; box-sizing:border-box;
}
body:not(:has(.admin-container)) main:has(#mevcutRR) .price-display-rr { min-height:92px; display:flex; align-items:center; justify-content:center; }
@media(max-width:959px){
 body:not(:has(.admin-container)) main:has(#mevcutRR),body:not(:has(.admin-container)) main:has(#winCount),body:not(:has(.admin-container)) main:has(#scoreRange){display:block!important}
 body:not(:has(.admin-container)) main:has(#mevcutRR) > .content-section,body:not(:has(.admin-container)) main:has(#winCount) > .boost-layout + *,body:not(:has(.admin-container)) main:has(#scoreRange) > .boost-layout + *{margin-top:2rem!important}
}
/* First-5 visual system shared by all boost calculators. */
@media (min-width: 761px) {
 body:not(:has(.admin-container)) main:has(#winCount) .boost-form-card,
 body:not(:has(.admin-container)) main:has(#mevcutRR) .boost-form-card,
 body:not(:has(.admin-container)) main:has(#scoreRange) .boost-form-card {
   display:grid !important;
   grid-template-columns:minmax(0,1.35fr) minmax(18rem,.65fr) !important;
   gap:0 !important; padding:0 !important; overflow:hidden;
   background:linear-gradient(110deg,#21182b,#18131f 58%,#2b1b35) !important;
   border:1px solid #514060 !important; border-radius:0 !important;
 }
 body:not(:has(.admin-container)) main:has(#winCount) .boost-form-card > h2,
 body:not(:has(.admin-container)) main:has(#mevcutRR) .boost-form-card > h2,
 body:not(:has(.admin-container)) main:has(#scoreRange) .boost-form-card > h2 { grid-column:1/-1; text-align:left!important; padding:1.3rem 2rem 1rem; margin:0!important; border-bottom:1px solid #514060; background:#17121f; }
 body:not(:has(.admin-container)) main:has(#winCount) .boost-form-card > .form-group,
 body:not(:has(.admin-container)) main:has(#mevcutRR) .boost-form-card > .form-group,
 body:not(:has(.admin-container)) main:has(#scoreRange) .boost-form-card > .form-group { grid-column:1; padding-inline:2rem; }
 body:not(:has(.admin-container)) main:has(#winCount) .boost-form-card > .price-display,
 body:not(:has(.admin-container)) main:has(#mevcutRR) .boost-form-card > .price-display-rr,
 body:not(:has(.admin-container)) main:has(#scoreRange) .boost-form-card > .price-display { grid-column:2; grid-row:2 / span 3; min-height:220px; display:flex; align-items:center; justify-content:center; border-left:1px solid #514060; background:radial-gradient(circle at 50% 35%,#4a2a5e,#25182f 55%,#1c1525); color:#f3d7ff; }
 body:not(:has(.admin-container)) main:has(#winCount) .boost-form-card > #siparisVer,
 body:not(:has(.admin-container)) main:has(#mevcutRR) .boost-form-card > #siparisVer,
 body:not(:has(.admin-container)) main:has(#scoreRange) .boost-form-card > #siparisVer { grid-column:2; width:calc(100% - 3rem); margin:0 1.5rem 1rem; border-radius:0; }
 body:not(:has(.admin-container)) main:has(#winCount) .boost-form-card > p,
 body:not(:has(.admin-container)) main:has(#mevcutRR) .boost-form-card > p,
 body:not(:has(.admin-container)) main:has(#scoreRange) .boost-form-card > p { grid-column:2; text-align:center!important; }
}
@media (max-width:760px){
 body:not(:has(.admin-container)) main:has(#winCount) .boost-form-card,
 body:not(:has(.admin-container)) main:has(#mevcutRR) .boost-form-card,
 body:not(:has(.admin-container)) main:has(#scoreRange) .boost-form-card { display:block!important; }
 body:not(:has(.admin-container)) main:has(#winCount) .boost-form-card > h2,
 body:not(:has(.admin-container)) main:has(#mevcutRR) .boost-form-card > h2,
 body:not(:has(.admin-container)) main:has(#scoreRange) .boost-form-card > h2 { text-align:left!important; }
 body:not(:has(.admin-container)) main:has(#winCount) .boost-form-card > :is(.price-display,#siparisVer),
 body:not(:has(.admin-container)) main:has(#mevcutRR) .boost-form-card > :is(.price-display-rr,#siparisVer),
 body:not(:has(.admin-container)) main:has(#scoreRange) .boost-form-card > :is(.price-display,#siparisVer) { width:auto; margin:1rem 1.2rem; }
}
/* Elo uses its own semantic builder, matching the shared first-5 surface. */
body:not(:has(.admin-container)) main.elo-workspace .elo-builder {
  background:linear-gradient(110deg,#21182b,#18131f 58%,#2b1b35) !important;
  border:1px solid #514060 !important; border-radius:0 !important; box-shadow:none !important;
}
body:not(:has(.admin-container)) main.elo-workspace .elo-checkout {
  border-left-color:#514060; background:radial-gradient(circle at 50% 35%,#4a2a5e33,#1c152500 70%);
}
/* Match the First 5 price emphasis across related services. */
body:not(:has(.admin-container)) main:has(#winCount) .price-display,
body:not(:has(.admin-container)) main:has(#scoreRange) .price-display,
body:not(:has(.admin-container)) main:has(#mevcutRR) .price-display-rr { font-size:clamp(2.8rem,5vw,4.8rem) !important; font-weight:800; }
 .service-addon-option{display:flex;align-items:center;gap:.55rem;padding:.7rem .9rem;margin:.65rem 0;border:1px solid rgba(205,157,255,.35);border-radius:10px;background:linear-gradient(110deg,rgba(75,38,94,.32),rgba(25,18,36,.55));color:#f4eaff;font-weight:700;cursor:pointer;transition:.2s ease}.service-addon-option:hover{border-color:#d9a6ff;transform:translateY(-1px)}.service-addon-option input{accent-color:#ff4655;width:1rem;height:1rem}.service-addon-option i{color:#d9a6ff}.service-addon-option small{margin-left:auto;color:#ff9caf;font-weight:800}
