/* DET pricing layout with OET's persistent light/dark theme. */
.oet-price-page {
    --price-green: #2d5f4d;
    --price-border: #5c6f5c;
    --price-fill: linear-gradient(135deg, #5c6f5c, #2d5f4d);
    background: var(--oet-bg);
    color: var(--oet-text);
    font-family: Poppins, sans-serif;
    padding-bottom: 5rem;
}
[data-oet-theme="dark"] .oet-price-page {
    --price-green: #a7ceb3;
    --price-border: #87aa91;
}
.oet-price-page *, .oet-price-page *::before, .oet-price-page *::after { box-sizing: border-box; }
.oet-price-page [hidden] { display: none; }
.oet-price-page :is(a, button, summary):focus-visible { outline: 3px solid var(--oet-sage); outline-offset: 3px; }
.oet-price-shell { max-width: 1240px; margin: 0 auto; padding: 0 1.25rem; }
.oet-price-top {
    padding: 1.75rem 0 3rem;
    background: radial-gradient(ellipse at top right, #5c6f5c12, transparent 45%),
        linear-gradient(135deg, var(--oet-bg), var(--oet-paper));
}
.oet-price-hero { max-width: 1000px; margin: 0 auto 1.5rem; text-align: center; }
.oet-price-label, .oet-plan-badge {
    display: inline-flex; align-items: center; gap: .45rem; border: 1px solid #5c6f5c35;
    border-radius: 4px; color: var(--price-green); background: #5c6f5c16;
    padding: .5rem .85rem; font-size: .72rem; font-weight: 800; letter-spacing: .1em; text-transform: uppercase;
}
.oet-price-label svg { width: 15px; height: 15px; }
.oet-price-hero h1 { margin: .85rem 0 .7rem; font: 800 clamp(2rem,4.5vw,3.5rem)/1.08 Poppins,sans-serif; letter-spacing: -.045em; }
.oet-price-hero em { font-family: 'Instrument Serif',Georgia,serif; font-weight: 400; font-style: italic; letter-spacing: -.01em; color: var(--price-green); }
.oet-price-hero > p { color: var(--oet-muted); font-size: 1rem; line-height: 1.6; max-width: 780px; margin: 0 auto; }
.oet-price-assurance { display: flex; flex-wrap: wrap; gap: .5rem 1.25rem; justify-content: center; margin-top: .8rem; }
.oet-price-assurance span { display: inline-flex; align-items: center; gap: .42rem; color: var(--oet-muted); font-size: .82rem; font-weight: 600; }
.oet-price-assurance svg, .oet-plan li svg { width: 17px; height: 17px; color: var(--price-green); flex-shrink: 0; }

.oet-plans { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 1rem; }
.oet-plan {
    min-width: 0; display: flex; flex-direction: column; position: relative; overflow: hidden;
    background: var(--oet-paper); border: 1px solid var(--oet-line); border-radius: 12px;
    box-shadow: 0 2px 8px #1a181610; padding: 1.55rem;
}
.oet-plan.is-featured { border: 2px solid var(--price-border); padding: calc(1.55rem - 1px); box-shadow: 0 4px 16px #5c6f5c24; }
.oet-plan.is-featured::before { content: ''; position: absolute; inset: 0 0 auto; height: 3px; background: var(--price-border); }
.oet-plan-badge { align-self: flex-start; font-size: .68rem; letter-spacing: .08em; padding: .38rem .65rem; margin-bottom: 1.15rem; }
.oet-plan.is-featured .oet-plan-badge { color: white; background: #2d5f4d; }
.oet-plan h2 { font-size: 1.25rem; font-weight: 800; letter-spacing: -.025em; margin: 0 0 1rem; }
.oet-plan-price { display: flex; align-items: baseline; flex-wrap: wrap; gap: .4rem; margin-bottom: .85rem; }
.oet-plan-price strong { font: 800 2.65rem/1 Inter,sans-serif; letter-spacing: -.055em; color: var(--price-green); }
.oet-plan-price span { font-size: .78rem; font-weight: 700; color: var(--oet-muted); }
.oet-plan-subtitle, .oet-renewal { color: var(--oet-muted); margin: 0 0 .85rem; }
.oet-plan-subtitle { min-height: 2.55rem; font-size: .82rem; line-height: 1.55; }
.oet-renewal { font-size: .73rem; line-height: 1.5; }
.oet-plan ul { border-top: 1px solid var(--oet-line); display: grid; gap: .8rem; padding: 1.2rem 0 0; margin: .6rem 0 0; list-style: none; }
.oet-plan li { display: flex; align-items: flex-start; gap: .55rem; font-size: .82rem; line-height: 1.48; }
.oet-plan li svg { margin-top: 1px; }
.oet-plan-action { margin-top: auto; padding-top: 1rem; }
.oet-cta {
    width: 100%; display: inline-flex; align-items: center; justify-content: center; min-height: 48px;
    padding: .78rem 1rem; border: 2px solid var(--price-border); border-radius: 8px;
    color: var(--price-green); background: var(--oet-paper); font: 700 .87rem/1.4 Poppins,sans-serif; cursor: pointer;
}
.oet-cta:hover { background: var(--oet-tint); border-color: var(--price-green); }
.oet-cta-primary { color: white; background: var(--price-fill); border-color: #2d5f4d; }
.oet-cta-primary:hover { background: #214b3b; }
.oet-cta:disabled { opacity: .65; cursor: default; }
.oet-price-note, .oet-checkout-error { color: var(--oet-muted); font-size: .78rem; line-height: 1.6; margin: .85rem 0; }
.oet-checkout-error { color: var(--oet-error); }
.oet-billing-status { display: flex; align-items: center; flex-wrap: wrap; justify-content: space-between; gap: .75rem; padding: 1rem; margin: 0 0 1rem; background: var(--oet-paper); border: 1px solid var(--oet-line); border-radius: 10px; }
.oet-billing-status .oet-cta { width: auto; }

.oet-mock-included {
    display: grid; grid-template-columns: minmax(0,1fr) auto; align-items: center; gap: 1.5rem 2rem;
    background: linear-gradient(135deg,#1f4537,#2d5f4d); color: white; border-radius: 18px;
    padding: clamp(1.4rem,3vw,2rem); margin-top: 1.5rem; box-shadow: 0 14px 32px #1f453725;
}
.oet-mock-label, .oet-faq-label { font-size: .7rem; font-weight: 800; text-transform: uppercase; letter-spacing: .1em; }
.oet-mock-label { color: #fde68a; margin: 0 0 .4rem; }
.oet-mock-included h2 { font-size: clamp(1.5rem,3vw,2.15rem); font-weight: 800; line-height: 1.12; letter-spacing: -.035em; margin: 0; }
.oet-mock-included div > p:last-child { color: #dce7e1; font-size: .84rem; line-height: 1.65; max-width: 760px; margin: .65rem 0 0; }
.oet-mock-actions { display: grid; gap: .65rem; }
.oet-mock-actions a { display: flex; align-items: center; justify-content: center; gap: .4rem; min-height: 46px; padding: .75rem 1.3rem; font-size: .82rem; font-weight: 700; color: white; border: 1px solid #ffffff80; border-radius: 8px; text-decoration: none; }
.oet-mock-actions a:first-child { background: white; color: #1f4537; }
.oet-mock-actions a:hover { text-decoration: underline; }
.oet-price-section { padding-top: 4.5rem; }
.oet-price-section h2 { color: var(--oet-text); font: 400 clamp(2.25rem,4vw,3.35rem)/1.08 'Instrument Serif',Georgia,serif; letter-spacing: -.025em; margin: 0 0 1.5rem; }
.oet-compare, .oet-faqs { background: var(--oet-paper); border: 1px solid var(--oet-line); border-radius: 16px; }
.oet-compare { overflow: hidden; }
.oet-compare table { width: 100%; border-collapse: collapse; font-size: .85rem; text-align: left; }
.oet-compare :is(th,td) { padding: .85rem 1.25rem; }
.oet-compare thead { color: var(--price-green); background: var(--oet-tint); }
.oet-compare tbody :is(th,td) { border-top: 1px solid var(--oet-line); }
.oet-compare tbody th { font-weight: 500; }

.oet-faq-section { display: grid; align-items: start; grid-template-columns: minmax(230px,.8fr) minmax(0,2fr); gap: 1.5rem 3rem; }
.oet-faq-label { display: flex; align-items: center; gap: .65rem; margin: .75rem 0 1rem; color: var(--price-green); }
.oet-faq-label::before { content: ''; width: 1.75rem; height: 1px; background: currentColor; }
.oet-faq-section h2 { max-width: 18rem; font-size: clamp(2rem,3.3vw,2.8rem); margin: 0; }
.oet-faqs { padding: .25rem 1.5rem; }
.oet-faqs details + details { border-top: 1px solid var(--oet-line); }
.oet-faqs summary { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 64px; padding: 1rem 0; font-size: .9rem; font-weight: 500; list-style: none; cursor: pointer; }
.oet-faqs summary::-webkit-details-marker { display: none; }
.oet-faqs details[open] summary, .oet-faqs summary:hover { color: var(--price-green); }
.oet-faq-icon { width: 26px; height: 26px; flex: 0 0 auto; display: grid; place-items: center; border: 1px solid var(--oet-line); border-radius: 50%; color: var(--price-green); }
.oet-faq-icon::before, .oet-faq-icon::after { content: ''; width: 10px; height: 1.5px; background: currentColor; grid-area: 1/1; }
.oet-faq-icon::after { transform: rotate(90deg); }
.oet-faqs details[open] .oet-faq-icon::after { display: none; }
.oet-faqs details[open] .oet-faq-icon { background: var(--oet-accent); }
.oet-faqs p { font-size: .84rem; line-height: 1.8; color: var(--oet-muted); padding: 0 2.9rem 1.15rem 0; margin: 0; }

@media (max-width: 1060px) {
    .oet-plans { grid-template-columns: minmax(0,1fr); max-width: 640px; margin: 0 auto; }
    .oet-plan { padding: 1.25rem; }
    .oet-plan.is-featured { padding: calc(1.25rem - 1px); }
    .oet-plan-badge { margin-bottom: .75rem; }
    .oet-plan-subtitle { min-height: 0; }
}
@media (max-width: 780px) {
    .oet-mock-included, .oet-faq-section { grid-template-columns: 1fr; }
    .oet-price-section { padding-top: 3rem; }
}
@media (max-width: 620px) {
    .oet-price-shell { padding: 0 .9rem; }
    .oet-price-top { padding: 1.25rem 0 2.25rem; }
    .oet-price-hero > p { font-size: .9rem; }
    .oet-price-assurance { gap: .4rem .8rem; }
    .oet-price-assurance span { font-size: .75rem; }
    .oet-compare table { font-size: .75rem; }
    .oet-compare :is(th,td) { padding: .75rem .55rem; overflow-wrap: break-word; }
    .oet-faqs { padding: .15rem 1rem; }
    .oet-faqs p { padding-right: 0; }
}
