/* pricing.css — ZSM Digital Pricing Page (light theme) */

body.light-theme .pricing-hero {
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 160px 40px 80px;
    position: relative;
    overflow: hidden;
    background: radial-gradient(ellipse 80% 60% at 50% 40%, rgba(0, 0, 0, 0.03) 0%, transparent 70%),
        var(--bg-main);
}
body.light-theme .pricing-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(0, 0, 0, 0.10) 1px, transparent 1px);
    background-size: 24px 24px;
    z-index: 1;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 72%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 45%, black 20%, transparent 72%);
}
body.light-theme .pricing-hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -55%);
    background: radial-gradient(circle, rgba(0, 0, 0, 0.02) 0%, transparent 70%);
    z-index: 1;
    pointer-events: none;
}
body.light-theme .pricing-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
    opacity: 0;
    transform: translateY(30px);
    animation: pricingHeroReveal 1s cubic-bezier(0.23, 1, 0.32, 1) 0.3s forwards;
}
@keyframes pricingHeroReveal {
    to { opacity: 1; transform: translateY(0); }
}
body.light-theme .pricing-hero .hero-badge {
    background: #fff;
    border: 1px solid var(--border-soft);
    color: var(--text-gray);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
}
body.light-theme .pricing-hero h1 {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 300;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.03em;
    color: var(--text-dark);
}
body.light-theme .pricing-hero h1 em {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}
body.light-theme .pricing-hero h1 strong { font-weight: 400; }
body.light-theme .pricing-hero p {
    font-size: 1.1rem;
    color: var(--text-gray);
    line-height: 1.6;
    max-width: 560px;
    margin: 0 auto;
}

body.light-theme .pricing-tiers,
body.light-theme .pricing-addons,
body.light-theme .pricing-compare {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 40px;
}
body.light-theme .pricing-tiers > h2,
body.light-theme .pricing-addons > h2,
body.light-theme .pricing-compare > h2 {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 500;
    line-height: 1.1;
    letter-spacing: -1.5px;
    text-align: center;
    color: var(--text-dark);
    margin-bottom: 12px;
}
body.light-theme .pricing-tiers > h2 .highlight,
body.light-theme .pricing-addons > h2 .highlight {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}
body.light-theme .pricing-section-intro {
    text-align: center;
    color: var(--text-gray);
    font-size: 17px;
    line-height: 1.6;
    max-width: 620px;
    margin: 0 auto 48px;
}

/* Inline text links (not buttons / addon links) */
body.light-theme .pricing-section-intro a,
body.light-theme .pricing-compare-card p a,
body.light-theme .pricing-hosting-footnote a,
body.light-theme .pricing-logic-intro a,
body.light-theme .pricing-logic-note a {
    color: var(--text-dark);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 3px;
    text-decoration-color: rgba(0, 0, 0, 0.28);
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}
body.light-theme .pricing-section-intro a:hover,
body.light-theme .pricing-compare-card p a:hover,
body.light-theme .pricing-hosting-footnote a:hover,
body.light-theme .pricing-logic-intro a:hover,
body.light-theme .pricing-logic-note a:hover {
    color: #111;
    text-decoration-color: rgba(0, 0, 0, 0.55);
}

body.light-theme .pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
body.light-theme .pricing-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: var(--radius-card);
    padding: 36px 32px;
    box-shadow: var(--shadow-card);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-dark);
    display: flex;
    flex-direction: column;
    position: relative;
}
body.light-theme .pricing-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 0, 0, 0.08);
}
body.light-theme .pricing-card.premium {
    background: #111;
    color: #fff;
    border-color: #111;
}
body.light-theme .pricing-card.premium .plan-name,
body.light-theme .pricing-card.premium .plan-price,
body.light-theme .pricing-card.premium .plan-period,
body.light-theme .pricing-card.premium p,
body.light-theme .pricing-card.premium .plan-features li {
    color: #fff;
}
body.light-theme .pricing-card.premium .plan-features li::before {
    border-color: #fff;
}
body.light-theme .pricing-card .plan-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 5px 10px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    color: #fff;
}
body.light-theme .pricing-card:not(.premium) .plan-badge {
    background: #111;
    color: #fff;
}
body.light-theme .plan-name {
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-gray);
    margin-bottom: 16px;
}
body.light-theme .plan-price {
    font-size: 48px;
    font-weight: 500;
    letter-spacing: -2px;
    color: var(--text-dark);
    line-height: 1;
}
body.light-theme .pricing-card.premium .plan-price { color: #fff; }
body.light-theme .plan-period {
    font-size: 12px;
    color: var(--text-gray);
    margin: 8px 0 16px;
}
body.light-theme .pricing-card.premium .plan-period { color: rgba(255, 255, 255, 0.65); }
body.light-theme .pricing-card > p {
    font-size: 14.5px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0 0 24px;
}
body.light-theme .pricing-card.premium > p { color: rgba(255, 255, 255, 0.75); }
body.light-theme .plan-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 10px;
    flex-grow: 1;
}
body.light-theme .plan-features li {
    position: relative;
    padding-left: 24px;
    font-size: 14px;
    color: var(--text-mid);
}
body.light-theme .pricing-card.premium .plan-features li { color: rgba(255, 255, 255, 0.85); }
body.light-theme .plan-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 8px;
    border-left: 2px solid #111;
    border-bottom: 2px solid #111;
    transform: rotate(-45deg);
}
body.light-theme .plan-button {
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 24px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s;
    font-family: inherit;
    border: 1px solid transparent;
}
body.light-theme .plan-button.primary {
    background: #fff;
    color: #111;
    border-color: #fff;
}
body.light-theme .plan-button.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.2);
}
body.light-theme .plan-button.secondary {
    background: #111;
    color: #fff;
    border-color: #111;
}
body.light-theme .plan-button.secondary:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

body.light-theme .pricing-addon-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
body.light-theme .pricing-addon {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 16px;
    padding: 28px 26px;
    box-shadow: var(--shadow-card);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}
body.light-theme .pricing-addon:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-card-hover);
    border-color: rgba(0, 0, 0, 0.08);
}
body.light-theme .pricing-addon-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--text-faint);
    margin-bottom: 10px;
}
body.light-theme .pricing-addon h3 {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 8px;
    letter-spacing: -0.02em;
}
body.light-theme .pricing-addon-price {
    font-size: 1.75rem;
    font-weight: 500;
    color: var(--text-dark);
    letter-spacing: -0.03em;
    margin-bottom: 4px;
}
body.light-theme .pricing-addon-note {
    font-size: 12px;
    color: var(--text-gray);
    margin-bottom: 14px;
}
body.light-theme .pricing-addon p {
    font-size: 14px;
    line-height: 1.6;
    color: var(--text-gray);
    margin: 0 0 20px;
    flex-grow: 1;
}
body.light-theme .pricing-addon-link {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.2s;
}
body.light-theme .pricing-addon-link:hover { gap: 10px; }

body.light-theme .pricing-hosting-footnote {
    text-align: center;
    font-size: 14px;
    color: var(--text-gray);
    margin-top: 28px;
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

body.light-theme .pricing-hosting {
    max-width: 820px;
    margin: 0 auto;
    padding: 20px 24px 60px;
}
body.light-theme .pricing-hosting-card {
    background: linear-gradient(145deg, #111 0%, #1a1a1a 100%);
    color: #fff;
    border-radius: 24px;
    padding: 48px 44px;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
    position: relative;
    overflow: hidden;
}
body.light-theme .pricing-hosting-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, 0.06) 1px, transparent 1px);
    background-size: 20px 20px;
    opacity: 0.5;
    pointer-events: none;
}
body.light-theme .pricing-hosting-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 6px 14px;
    border-radius: 100px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
body.light-theme .pricing-hosting-card h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 500;
    letter-spacing: -1px;
    margin-bottom: 16px;
    color: #fff;
    position: relative;
    z-index: 1;
}
body.light-theme .pricing-hosting-card h2 .highlight {
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}
body.light-theme .pricing-hosting-lead {
    font-size: 16px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 24px;
    position: relative;
    z-index: 1;
}
body.light-theme .pricing-hosting-features {
    list-style: none;
    padding: 0;
    margin: 0 0 28px;
    display: grid;
    gap: 12px;
    position: relative;
    z-index: 1;
}
body.light-theme .pricing-hosting-features li {
    position: relative;
    padding-left: 26px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, 0.88);
}
body.light-theme .pricing-hosting-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    width: 14px;
    height: 8px;
    border-left: 2px solid #fff;
    border-bottom: 2px solid #fff;
    transform: rotate(-45deg);
}
body.light-theme .pricing-hosting-contract {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    padding: 22px 24px;
    margin-bottom: 28px;
    position: relative;
    z-index: 1;
}
body.light-theme .pricing-hosting-contract p {
    margin: 0 0 12px;
    font-size: 14px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.75);
}
body.light-theme .pricing-hosting-contract p:last-child { margin-bottom: 0; }
body.light-theme .pricing-hosting-contract strong { color: #fff; }
body.light-theme .pricing-hosting-card .plan-button {
    position: relative;
    z-index: 1;
    background: #fff;
    color: #111;
    border-color: #fff;
}
body.light-theme .pricing-hosting-card .plan-button:hover {
    background: #f0f0f3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(255, 255, 255, 0.15);
}

body.light-theme .pricing-compare {
    padding-top: 40px;
    padding-bottom: 60px;
}
body.light-theme .pricing-compare-card {
    background: var(--bg-card);
    border: 1px solid var(--border-soft);
    border-radius: 20px;
    padding: 32px 36px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
    box-shadow: var(--shadow-card);
}
body.light-theme .pricing-compare-card p {
    margin: 0;
    color: var(--text-gray);
    font-size: 15px;
    line-height: 1.6;
    max-width: 520px;
}
body.light-theme .pricing-compare-card strong { color: var(--text-dark); }
body.light-theme .pricing-compare-links {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
body.light-theme .pricing-compare-links a {
    font-size: 14px;
    font-weight: 500;
    padding: 12px 20px;
    border-radius: 10px;
    text-decoration: none;
    border: 1px solid var(--border-soft);
    color: var(--text-dark);
    background: #fff;
    transition: all 0.25s;
}
body.light-theme .pricing-compare-links a:hover {
    border-color: rgba(0, 0, 0, 0.12);
    box-shadow: var(--shadow-card);
}
body.light-theme .pricing-compare-links a.primary {
    background: #111;
    color: #fff;
    border-color: #111;
}
body.light-theme .pricing-compare-links a.primary:hover {
    background: #333;
}

body.light-theme .glow-hover {
    position: relative;
}
body.light-theme .glow-hover::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
        circle at var(--glow-x, 50%) var(--glow-y, 50%),
        rgba(0, 0, 0, 0.05) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
}
body.light-theme .glow-hover:hover::after {
    opacity: 1;
}

@media (max-width: 1024px) {
    body.light-theme .pricing-grid,
    body.light-theme .pricing-addon-grid {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}
@media (max-width: 768px) {
    body.light-theme .pricing-hosting-card { padding: 32px 24px; }
    body.light-theme .pricing-hero { padding: 140px 24px 60px; min-height: auto; }
    body.light-theme .pricing-hosting { padding: 12px 20px 48px; }
    body.light-theme .pricing-tiers,
    body.light-theme .pricing-addons { padding: 60px 20px 32px; }
    body.light-theme .pricing-card { padding: 28px 24px; }
    body.light-theme .plan-price { font-size: 40px; }
    body.light-theme .pricing-compare-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 24px;
    }
}
