/**
 * Pricing page styles.
 * Faithful port of dylan-draft.com /pricing.html. Every rule is scoped under
 * .pricing-page so it cannot collide with the global theme or other page
 * styles. The shared theme header is reused (it already reserves 96px for
 * the fixed nav); this page renders its own inline footer instead of the
 * shared theme footer.
 */

.pricing-page {
    font-family: 'Work Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    background: #fff;
    color: #0d1f3c;
    padding-top: 96px;
}

.pricing-page *,
.pricing-page *::before,
.pricing-page *::after {
    box-sizing: border-box;
}

.pricing-page .eyebrow {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: #307FE2;
    margin-bottom: 16px;
    display: block;
}

/* ── Hero ── */
.pricing-page #pr-hero {
    padding: 80px 24px 80px;
    background: linear-gradient(180deg, #f4f7ff 0%, #fff 100%);
    text-align: center;
}

.pricing-page #pr-hero h1 {
    font-size: clamp(36px, 5vw, 60px);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.08;
    color: #0d1f3c;
    margin: 0 0 20px;
}

.pricing-page #pr-hero p {
    font-size: 18px;
    line-height: 1.7;
    color: rgba(7, 21, 56, 0.6);
    max-width: 540px;
    margin: 0 auto;
}

/* ── Section shared ── */
.pricing-page section {
    padding: 96px 24px;
}

.pricing-page .section-wrap {
    max-width: 1100px;
    margin: 0 auto;
}

.pricing-page .section-header {
    text-align: center;
    margin-bottom: 56px;
}

.pricing-page .section-header h2 {
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #0d1f3c;
    margin: 0 0 14px;
}

.pricing-page .section-header p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(7, 21, 56, 0.55);
    max-width: 520px;
    margin: 0 auto;
}

.pricing-page #pr-hardware {
    padding: 0 24px 96px;
    background: #fff;
}

/* ── Hardware cards ── */
.pricing-page .hw-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.pricing-page .hw-card {
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 24px;
    padding: 40px;
    background: #fff;
    position: relative;
    overflow: hidden;
    transition: transform 0.25s, box-shadow 0.25s;
}

.pricing-page .hw-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px rgba(48, 127, 226, 0.12);
}

.pricing-page .hw-card.featured {
    background: linear-gradient(145deg, #0d1f3c 0%, #0f2a4a 100%);
    border-color: transparent;
}

.pricing-page .hw-badge {
    display: inline-block;
    background: #307FE2;
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 12px;
    border-radius: 100px;
    margin-bottom: 20px;
}

.pricing-page .hw-card.featured .hw-badge {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.pricing-page .hw-img {
    width: 140px;
    height: 140px;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 8px 20px rgba(48, 127, 226, 0.15));
}

.pricing-page .hw-card.featured .hw-img {
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.4));
}

.pricing-page .hw-name {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #0d1f3c;
    margin: 0 0 6px;
}

.pricing-page .hw-card.featured .hw-name {
    color: #fff;
}

.pricing-page .hw-tagline {
    font-size: 14px;
    color: rgba(7, 21, 56, 0.5);
    margin: 0 0 24px;
}

.pricing-page .hw-card.featured .hw-tagline {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-page .hw-price {
    font-size: 42px;
    font-weight: 800;
    letter-spacing: -0.04em;
    color: #0d1f3c;
    line-height: 1;
}

.pricing-page .hw-price .hw-price-plus {
    font-size: 18px;
    font-weight: 500;
    color: rgba(7, 21, 56, 0.4);
}

.pricing-page .hw-card.featured .hw-price {
    color: #fff;
}

.pricing-page .hw-price-note {
    font-size: 13px;
    color: rgba(7, 21, 56, 0.45);
    margin: 6px 0 28px;
}

.pricing-page .hw-card.featured .hw-price-note {
    color: rgba(255, 255, 255, 0.4);
}

.pricing-page .hw-features {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.pricing-page .hw-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: rgba(7, 21, 56, 0.75);
}

.pricing-page .hw-card.featured .hw-features li {
    color: rgba(255, 255, 255, 0.8);
}

.pricing-page .hw-features li svg {
    flex-shrink: 0;
}

.pricing-page .hw-cta {
    display: inline-block;
    width: 100%;
    text-align: center;
    padding: 14px;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.pricing-page .hw-cta.blue {
    background: #307FE2;
    color: #fff;
    box-shadow: 0 4px 16px rgba(48, 127, 226, 0.3);
}

.pricing-page .hw-cta.blue:hover {
    background: #1f6dd4;
    transform: translateY(-1px);
    box-shadow: 0 8px 24px rgba(48, 127, 226, 0.4);
}

.pricing-page .hw-cta.ghost {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, 0.25);
}

.pricing-page .hw-cta.ghost:hover {
    background: rgba(255, 255, 255, 0.18);
}

/* ── Plan comparison table ── */
.pricing-page #pr-plans {
    background: #f4f7ff;
}

.pricing-page .plan-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(48, 127, 226, 0.08);
}

.pricing-page .plan-table th {
    padding: 28px 24px;
    text-align: left;
    background: #0d1f3c;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
}

.pricing-page .plan-table th.center {
    text-align: center;
}

.pricing-page .plan-table th.plan-col {
    width: 180px;
    text-align: center;
}

.pricing-page .plan-table th .plan-price {
    font-size: 28px;
    font-weight: 800;
    letter-spacing: -0.03em;
    display: block;
    margin-top: 4px;
}

.pricing-page .plan-table th .plan-price span {
    font-size: 13px;
    font-weight: 500;
    opacity: 0.55;
}

.pricing-page .plan-table th.highlight {
    background: #307FE2;
}

.pricing-page .plan-table td {
    padding: 16px 24px;
    background: #fff;
    border-bottom: 1px solid #edf0f7;
    font-size: 14px;
    color: rgba(7, 21, 56, 0.75);
}

.pricing-page .plan-table td.center {
    text-align: center;
}

.pricing-page .plan-table td.feature-name {
    font-weight: 600;
    color: #0d1f3c;
}

.pricing-page .plan-table td.highlight-text {
    color: #307FE2;
    font-weight: 600;
}

.pricing-page .plan-table td.cat-row {
    background: #f4f7ff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #307FE2;
    padding: 10px 24px 6px;
}

.pricing-page .plan-table tr:last-child td {
    border-bottom: none;
}

.pricing-page .check {
    color: #307FE2;
}

.pricing-page .check-green {
    color: #22c55e;
}

.pricing-page .dash {
    color: rgba(7, 21, 56, 0.2);
}

/* Small annotation next to a table checkmark, e.g. "(1 business day)" */
.pricing-page .plan-table .cell-note {
    font-size: 12px;
    color: rgba(7, 21, 56, 0.5);
    white-space: nowrap;
    vertical-align: middle;
}

.pricing-page .plan-table-scroll {
    overflow-x: auto;
}

.pricing-page .plan-cta-row td {
    background: #fff;
    border-bottom: none;
}

.pricing-page .plan-cta-row td.center {
    padding: 24px;
}

.pricing-page .plan-cta-row td.highlight {
    background: #307FE2;
}

.pricing-page .plan-cta-btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s;
}

.pricing-page .plan-cta-btn.entry {
    background: #f0f4ff;
    color: #307FE2;
    border: 1.5px solid #307FE2;
}

.pricing-page .plan-cta-btn.entry:hover {
    background: #307FE2;
    color: #fff;
}

.pricing-page .plan-cta-btn.pro {
    background: #fff;
    color: #307FE2;
}

.pricing-page .plan-cta-btn.pro:hover {
    background: rgba(255, 255, 255, 0.9);
}

/* ── FAQ ── */
.pricing-page #pr-faq {
    background: #fff;
}

.pricing-page .faq-list {
    max-width: 720px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.pricing-page .faq-item {
    border-bottom: 1px solid #edf0f7;
}

.pricing-page .faq-item:first-child {
    border-top: 1px solid #edf0f7;
}

.pricing-page .faq-q {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 0;
    font-size: 15px;
    font-weight: 600;
    color: #0d1f3c;
    text-align: left;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    font-family: inherit;
    transition: color 0.2s;
}

.pricing-page .faq-q:hover {
    color: #307FE2;
}

.pricing-page .faq-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #f0f4ff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: background 0.2s, transform 0.3s;
}

.pricing-page .faq-item.open .faq-icon {
    background: #307FE2;
    transform: rotate(45deg);
}

.pricing-page .faq-icon svg {
    stroke: #307FE2;
    transition: stroke 0.2s;
}

.pricing-page .faq-item.open .faq-icon svg {
    stroke: #fff;
}

.pricing-page .faq-a {
    display: none;
    padding: 0 0 20px;
    font-size: 14px;
    line-height: 1.8;
    color: rgba(7, 21, 56, 0.6);
}

.pricing-page .faq-item.open .faq-a {
    display: block;
}

/* ── CTA ── */
.pricing-page #pr-cta {
    background: linear-gradient(135deg, #0d1f3c 0%, #0f2a4a 100%);
    text-align: center;
    padding: 96px 24px;
}

.pricing-page #pr-cta .cta-inner {
    max-width: 600px;
    margin: 0 auto;
}

.pricing-page #pr-cta .eyebrow {
    color: rgba(255, 255, 255, 0.5);
}

.pricing-page #pr-cta h2 {
    font-size: clamp(28px, 4vw, 44px);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: #fff;
    margin: 0 0 16px;
}

.pricing-page #pr-cta p {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.55);
    margin: 0 0 40px;
    max-width: 480px;
    margin-left: auto;
    margin-right: auto;
}

.pricing-page .cta-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.pricing-page .btn-cta-primary {
    display: inline-block;
    background: #307FE2;
    color: #fff;
    padding: 15px 36px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: 0 4px 18px rgba(48, 127, 226, 0.4);
    transition: all 0.2s;
}

.pricing-page .btn-cta-primary:hover {
    background: #1f6dd4;
    transform: translateY(-2px);
}

.pricing-page .btn-cta-ghost {
    display: inline-block;
    background: transparent;
    color: #fff;
    padding: 15px 36px;
    border-radius: 100px;
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    border: 2px solid rgba(255, 255, 255, 0.25);
    transition: all 0.2s;
}

.pricing-page .btn-cta-ghost:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-2px);
}

/* ── Footer ── */
.pricing-page-footer {
    background: #0a1628;
    padding: 40px 48px;
    text-align: center;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}

.pricing-page-footer p {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.3);
    margin: 0;
}

.pricing-page-footer a {
    color: rgba(255, 255, 255, 0.4);
    text-decoration: none;
}

@media (max-width: 768px) {
    .pricing-page .hw-grid {
        grid-template-columns: 1fr;
    }

    .pricing-page .plan-table th.plan-col {
        width: 120px;
    }

    .pricing-page .plan-table th .plan-price {
        font-size: 22px;
    }

    .pricing-page .plan-table td,
    .pricing-page .plan-table th {
        padding: 12px 14px;
    }
}
