/* ============================================================
   service-custom.css
   Page-specific styles for the native-template customization
   service page. Shared tokens/components come from
   service-blog.css (loaded before this file).
   ============================================================ */

/* ── Quick picker: "which plan fits me" cards ── */
.pick-section {
    padding: 4rem 5%;
    background: var(--white);
}
.pick-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1.2rem;
    max-width: 1160px;
    margin: 0 auto;
}
.pick-card {
    display: block;
    text-decoration: none;
    background: var(--gray-100);
    border: 1px solid transparent;
    border-radius: var(--radius);
    padding: 1.4rem 1.3rem;
    transition: border-color .2s, box-shadow .2s, transform .15s;
}
.pick-card:hover {
    border-color: var(--coral);
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-3px);
}
.pick-card .pick-if {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 0.5rem;
}
.pick-card .pick-plan {
    display: flex;
    align-items: baseline;
    gap: 0.5rem;
    font-family: 'Noto Serif SC', serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--gray-900);
}
.pick-card .pick-price {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--coral);
}
.pick-card .pick-go {
    display: inline-block;
    margin-top: 0.7rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--coral);
}

/* ── Plan comparison table ── */
.cmp-section {
    padding: 4.5rem 5%;
    background: var(--coral-ultra);
}
.cmp-wrap {
    max-width: 1160px;
    margin: 0 auto;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    background: var(--white);
}
.cmp-table {
    width: 100%;
    min-width: 860px;
    border-collapse: separate;
    border-spacing: 0;
    font-size: 0.92rem;
}
.cmp-table th, .cmp-table td {
    padding: 0.95rem 1.1rem;
    text-align: center;
    border-bottom: 1px solid var(--gray-100);
    vertical-align: middle;
}
.cmp-table thead th {
    background: var(--gray-900);
    color: var(--white);
    font-family: 'Noto Serif SC', serif;
    font-size: 1rem;
    padding-top: 1.2rem;
    padding-bottom: 1.2rem;
}
.cmp-table thead th small {
    display: block;
    font-family: 'Noto Sans SC', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: rgba(255,255,255,0.65);
    margin-top: 0.2rem;
}
.cmp-table thead th.cmp-hot {
    background: var(--coral);
}
.cmp-table tbody th {
    text-align: left;
    font-weight: 600;
    color: var(--gray-900);
    background: var(--gray-100);
    white-space: nowrap;
}
.cmp-table td.cmp-hot-col {
    background: var(--coral-pale);
}
.cmp-yes { color: #2F855A; font-weight: 700; }
.cmp-no  { color: var(--gray-300); font-weight: 700; }
.cmp-price { font-weight: 800; color: var(--coral); white-space: nowrap; }
.cmp-note {
    max-width: 1160px;
    margin: 0.9rem auto 0;
    font-size: 0.8rem;
    color: var(--gray-500);
    text-align: right;
}

/* ── Plan detail cards ── */
.plans-section {
    padding: 4.5rem 5%;
    background: var(--white);
}
.plans-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    max-width: 1240px;
    margin: 0 auto;
}
.plan-card {
    position: relative;
    background: var(--white);
    border: 1px solid var(--gray-100);
    border-radius: var(--radius-lg);
    box-shadow: var(--card-shadow);
    padding: 1.8rem 1.6rem;
    display: flex;
    flex-direction: column;
}
.plan-card.plan-hot {
    border: 2px solid var(--coral);
}
.plan-flag {
    position: absolute;
    top: -12px;
    left: 1.4rem;
    background: var(--coral);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    border-radius: 100px;
    padding: 0.2rem 0.8rem;
}
.plan-no {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--coral);
    text-transform: uppercase;
    margin-bottom: 0.3rem;
}
.plan-title {
    font-family: 'Noto Serif SC', serif;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 0.4rem;
}
.plan-for {
    font-size: 0.85rem;
    color: var(--gray-500);
    margin-bottom: 1rem;
}
.plan-block-label {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--gray-900);
    letter-spacing: 0.05em;
    margin: 0.9rem 0 0.4rem;
}
.plan-list {
    list-style: none;
    font-size: 0.88rem;
    color: var(--gray-700);
}
.plan-list li {
    padding: 0.28rem 0 0.28rem 1.3rem;
    position: relative;
}
.plan-list li::before {
    content: '✔';
    position: absolute;
    left: 0;
    color: #2F855A;
    font-size: 0.8rem;
}
.plan-list.plan-cons li::before {
    content: '—';
    color: var(--gray-300);
}
.plan-prices {
    margin-top: auto;
    padding-top: 1rem;
}
.plan-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    font-size: 0.88rem;
    padding: 0.55rem 0;
    border-top: 1px dashed var(--gray-300);
}
.plan-price-row .p-name { color: var(--gray-700); }
.plan-price-row .p-name small { color: var(--gray-500); }
.plan-price-row .p-val {
    font-weight: 800;
    color: var(--coral);
    white-space: nowrap;
}
.plan-price-row .p-val del {
    font-weight: 400;
    color: var(--gray-300);
    font-size: 0.8rem;
    margin-right: 0.3rem;
}
.plan-price-row a.p-buy {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--coral);
    text-decoration: none;
    white-space: nowrap;
}
.plan-price-row a.p-buy:hover { text-decoration: underline; }
.plan-cta {
    margin-top: 1.1rem;
}
.plan-cta .btn-primary, .plan-cta .btn-secondary {
    width: 100%;
    justify-content: center;
    font-size: 0.92rem;
    padding: 0.7rem 1rem;
}

/* ── Plan 4: deep customization highlight ── */
.deep-section {
    padding: 4.5rem 5%;
    background: var(--gray-900);
    color: var(--white);
}
.deep-section .section-label { color: var(--coral-light); }
.deep-section .section-title { color: var(--white); }
.deep-section .section-sub { color: rgba(255,255,255,0.65); }
.deep-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
    max-width: 1160px;
    margin: 0 auto 2.2rem;
}
.deep-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius);
    padding: 1.4rem 1.3rem;
}
.deep-card .deep-icon { font-size: 1.5rem; margin-bottom: 0.6rem; }
.deep-card h3 {
    font-size: 1.02rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.45rem;
}
.deep-card p {
    font-size: 0.86rem;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
}
.deep-stack {
    max-width: 1160px;
    margin: 0 auto;
    text-align: center;
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
}
.deep-stack code {
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 6px;
    padding: 0.15rem 0.55rem;
    margin: 0 0.2rem;
    font-size: 0.84rem;
    color: var(--coral-light);
}
.deep-cta {
    text-align: center;
    margin-top: 2.2rem;
}

/* ── Responsive tweaks ── */
@media (max-width: 768px) {
    .pick-section, .cmp-section, .plans-section, .deep-section { padding: 3rem 4%; }
    .plans-grid { grid-template-columns: 1fr; }
}
