:root {
    --price-navy: #071a2e;
    --price-navy-2: #0b2747;
    --price-blue: #1ca8ec;
    --price-blue-2: #0879bd;
    --price-green: #159b70;
    --price-violet: #7557d9;
    --price-ink: #10233b;
    --price-muted: #5f7186;
    --price-line: #d5e3ec;
    --price-ice: #edf6fa;
    --price-paper: #ffffff;
}

html { scroll-behavior: smooth; }
.price-page { overflow: hidden; background: var(--price-paper); color: var(--price-ink); }
.price-wrap { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.price-page a { text-decoration: none; }

.price-hero {
    position: relative;
    padding: 96px 0 0;
    color: #fff;
    background:
        linear-gradient(90deg, rgba(28,168,236,.12) 1px, transparent 1px) 0 0 / 72px 72px,
        linear-gradient(rgba(28,168,236,.08) 1px, transparent 1px) 0 0 / 72px 72px,
        var(--price-navy);
}
.price-hero::after {
    content: "";
    position: absolute;
    right: -130px;
    top: -190px;
    width: 480px;
    height: 480px;
    border: 78px solid rgba(28,168,236,.1);
    border-radius: 50%;
}
.price-hero-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 1.3fr .7fr; gap: 80px; align-items: center; }
.price-kicker,
.price-section-head span,
.payment-copy > span,
.price-final span {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--price-blue);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}
.price-hero h1 { margin: 20px 0 18px; max-width: 760px; font-size: clamp(48px, 6.5vw, 82px); line-height: .94; letter-spacing: -.055em; }
.price-hero h1 em { color: var(--price-blue); font-style: normal; }
.price-hero-grid > div > p { max-width: 650px; color: #c4d5e4; font-size: 19px; line-height: 1.7; }
.price-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.price-btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 50px; padding: 0 22px; border: 1px solid transparent; color: #fff; font-weight: 800; }
.price-btn-main { background: var(--price-blue); box-shadow: 0 10px 28px rgba(28,168,236,.2); }
.price-btn-main:hover { background: #42b8ed; color: var(--price-navy); transform: translateY(-2px); }
.price-btn-line { border-color: #3b5976; background: rgba(255,255,255,.025); }
.price-btn-line:hover { border-color: var(--price-blue); color: var(--price-blue); }

.price-map { position: relative; border: 1px solid #284965; background: rgba(3,18,34,.82); box-shadow: 18px 18px 0 rgba(28,168,236,.08); }
.price-map-label { display: block; padding: 16px 20px; border-bottom: 1px solid #284965; color: #8aa5bc; font-size: 11px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }
.price-map-row { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; gap: 10px; padding: 19px 20px; border-bottom: 1px solid #1a3853; }
.price-map-row:last-child { border: 0; }
.price-map-row b { color: var(--price-blue); font-size: 12px; }
.price-map-row span { font-weight: 700; }
.price-map-row small { color: #7f9ab2; }

.price-jump { position: relative; z-index: 2; display: flex; align-items: center; gap: 0; margin-top: 72px; border-top: 1px solid #24415d; }
.price-jump a { flex: 1; padding: 20px 18px; border-right: 1px solid #24415d; color: #9fb5c8; text-align: center; font-size: 13px; font-weight: 700; }
.price-jump a:first-child { border-left: 1px solid #24415d; }
.price-jump a:hover { background: var(--price-blue); color: var(--price-navy); }

.price-section { padding: 96px 0; }
.price-section-head { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: end; margin-bottom: 38px; }
.price-section-head h2,
.payment-copy h2,
.price-final h2 { margin: 8px 0 0; color: var(--price-ink); font-size: clamp(34px, 4vw, 51px); line-height: 1.05; letter-spacing: -.04em; }
.price-section-head > p { margin: 0; color: var(--price-muted); font-size: 17px; line-height: 1.6; }

.email-plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(245px, 1fr)); gap: 14px; align-items: stretch; }
.email-plan { position: relative; display: flex; flex-direction: column; min-height: 100%; border: 1px solid var(--price-line); background: #fff; }
.email-plan.is-featured { border: 2px solid var(--price-blue); box-shadow: 0 18px 50px rgba(10,49,78,.12); }
.email-plan-badge { position: absolute; top: -14px; left: 20px; padding: 7px 12px; background: var(--price-blue); color: var(--price-navy); font-size: 11px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.email-plan-top { padding: 28px 26px 22px; border-bottom: 1px solid var(--price-line); background: #f7fbfd; }
.is-featured .email-plan-top { background: #e8f7fd; }
.email-plan-top > span { color: var(--price-blue-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.email-plan h3 { margin: 9px 0 20px; font-size: 24px; }
.email-plan-price { margin: 0; color: var(--price-ink); font-size: 38px; font-weight: 800; letter-spacing: -.04em; }
.email-plan-price small { margin-left: 5px; color: var(--price-muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.email-plan ul { flex: 1; margin: 0; padding: 24px 26px; list-style: none; }
.email-plan li { display: grid; grid-template-columns: 18px 1fr; gap: 7px; margin: 0 0 13px; color: #344a60; font-size: 14px; line-height: 1.35; }
.email-plan li i { color: var(--price-green); margin-top: 3px; }
.email-plan > a { display: flex; justify-content: space-between; align-items: center; margin: 0 26px 26px; padding: 14px 0; border-top: 1px solid var(--price-line); border-bottom: 1px solid var(--price-line); color: var(--price-ink); font-weight: 800; }
.email-plan > a:hover { color: var(--price-blue-2); }
.price-empty { padding: 32px; border: 1px dashed var(--price-line); background: var(--price-ice); color: var(--price-muted); }

.price-section-usage { background: var(--price-ice); }
.usage-board { display: grid; grid-template-columns: .72fr 1.28fr; min-height: 520px; border: 1px solid #bcd2df; background: #fff; box-shadow: 16px 16px 0 #dcebf2; }
.usage-intro { padding: 38px; border-right: 1px solid #c7d9e4; }
.usage-icon { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 46px; background: var(--price-blue); color: var(--price-navy); font-size: 24px; }
.usage-intro > span,
.usage-kyc-head span,
.subscription-title > span { color: var(--price-blue-2); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.usage-intro h3 { margin: 8px 0 16px; font-size: 43px; letter-spacing: -.04em; }
.usage-intro h3 small { display: block; margin-top: 2px; color: var(--price-muted); font-size: 13px; font-weight: 500; letter-spacing: 0; }
.usage-intro p { color: var(--price-muted); line-height: 1.6; }
.usage-intro ul { display: flex; flex-wrap: wrap; gap: 8px; margin: 22px 0 32px; padding: 0; list-style: none; }
.usage-intro li { padding: 7px 10px; border: 1px solid var(--price-line); color: #405870; font-size: 12px; }
.usage-intro a,
.usage-kyc-foot a,
.subscription-panel > a { display: inline-flex; align-items: center; gap: 9px; color: var(--price-blue-2); font-weight: 800; }

.usage-kyc { display: flex; flex-direction: column; }
.usage-kyc-head { display: flex; justify-content: space-between; align-items: center; padding: 30px 34px; border-bottom: 1px solid var(--price-line); background: var(--price-navy); }
.usage-kyc-head h3 { margin: 6px 0 0; color: #fff; font-size: 26px; }
.usage-kyc-head i { color: var(--price-blue); font-size: 34px; }
.kyc-rate-list { display: grid; grid-template-columns: repeat(2, 1fr); flex: 1; }
.kyc-rate-list > div { display: grid; grid-template-columns: 1fr auto; align-items: baseline; gap: 6px 20px; padding: 24px 28px; border-right: 1px solid var(--price-line); border-bottom: 1px solid var(--price-line); }
.kyc-rate-list > div:nth-child(even) { border-right: 0; }
.kyc-rate-list span { font-size: 18px; font-weight: 800; }
.kyc-rate-list strong { color: var(--price-green); font-size: 22px; }
.kyc-rate-list small { grid-column: 1 / -1; color: var(--price-muted); }
.usage-kyc-foot { display: flex; justify-content: space-between; align-items: center; gap: 24px; padding: 26px 30px; }
.usage-kyc-foot p { max-width: 500px; margin: 0; color: var(--price-muted); line-height: 1.5; }
.usage-kyc-foot a { white-space: nowrap; }

.subscription-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.subscription-panel { position: relative; display: flex; flex-direction: column; padding: 38px; border: 1px solid var(--price-line); }
.webmail-panel { background: #f7fbfd; }
.ai-panel { background: var(--price-navy); color: #fff; }
.subscription-title h3 { margin: 9px 0 18px; font-size: 30px; line-height: 1.15; }
.subscription-title > p { margin: 0 0 22px; font-size: 32px; font-weight: 800; letter-spacing: -.03em; }
.subscription-title > p small { margin-left: 6px; color: var(--price-muted); font-size: 13px; font-weight: 500; }
.subscription-benefits { margin: 0 0 25px; padding: 0; list-style: none; columns: 2; column-gap: 24px; }
.subscription-benefits li { break-inside: avoid; margin: 0 0 12px; color: #3d5369; font-size: 14px; }
.subscription-benefits i { margin-right: 6px; color: var(--price-green); }
.period-table { border-top: 1px solid var(--price-line); }
.period-table > div { display: flex; justify-content: space-between; gap: 20px; padding: 11px 0; border-bottom: 1px solid var(--price-line); font-size: 14px; }
.period-table span { color: var(--price-muted); }
.subscription-panel > a { margin-top: 28px; }
.ai-panel .subscription-title > span { color: #a997ff; }
.ai-panel .subscription-title h3 { color: #fff; }
.ai-panel .subscription-title > p { color: #d7e2ec; font-size: 18px; font-weight: 500; letter-spacing: 0; }
.ai-product { padding: 20px 0; border-top: 1px solid #29445e; }
.ai-product > div { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.ai-product h4 { margin: 0; font-size: 18px; }
.ai-product strong { color: #a997ff; font-size: 22px; white-space: nowrap; }
.ai-product strong small { color: #8fa7bc; font-size: 11px; }
.ai-product > p { margin: 10px 0 14px; color: #aabdd0; line-height: 1.5; }
.ai-product summary { cursor: pointer; color: var(--price-blue); font-size: 13px; font-weight: 700; }
.ai-panel .period-table { margin-top: 12px; border-color: #29445e; }
.ai-panel .period-table > div { border-color: #29445e; }
.ai-panel .period-table span { color: #91a8bb; }
.ai-panel .subscription-panel > a,
.ai-panel > a { color: var(--price-blue); }

.price-payment { padding: 90px 0; background: #f3f8fb; }
.payment-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 90px; align-items: center; }
.payment-copy h2 { margin-bottom: 18px; }
.payment-copy > p { color: var(--price-muted); font-size: 17px; line-height: 1.6; }
.payment-copy ul { margin: 26px 0 0; padding: 0; list-style: none; }
.payment-copy li { margin: 12px 0; color: #40566c; }
.payment-copy li i { width: 22px; color: var(--price-green); }
.gateway-list { display: grid; gap: 12px; }
.gateway-card { display: grid; grid-template-columns: 150px 1fr auto; align-items: center; gap: 24px; min-height: 118px; padding: 20px 24px; border: 1px solid var(--price-line); background: #fff; color: var(--price-ink); box-shadow: 8px 8px 0 #e0edf3; }
.gateway-card:hover { border-color: var(--price-blue); transform: translate(-2px, -2px); }
.gateway-logo { display: grid; place-items: center; height: 58px; padding: 10px; border-right: 1px solid var(--price-line); }
.gateway-logo img { display: block; max-width: 125px; max-height: 42px; width: auto; height: auto; object-fit: contain; }
.gateway-card > span:nth-child(2) { display: grid; gap: 7px; }
.gateway-card strong { font-size: 19px; }
.gateway-card small { color: var(--price-muted); line-height: 1.4; }
.gateway-card > i { color: var(--price-blue-2); }
.gateway-note { margin: 10px 0 0; color: var(--price-muted); font-size: 12px; line-height: 1.5; }

.price-final { padding: 78px 0; background: var(--price-navy); color: #fff; }
.price-final-inner { display: flex; justify-content: space-between; align-items: center; gap: 50px; }
.price-final h2 { max-width: 730px; color: #fff; }
.price-final-inner > div:last-child { display: flex; align-items: center; gap: 22px; white-space: nowrap; }
.price-final-inner > div:last-child > a:last-child { color: #b7c8d7; font-weight: 700; }
.price-final-inner > div:last-child > a:last-child:hover { color: var(--price-blue); }

@media (max-width: 960px) {
    .price-hero-grid, .price-section-head, .payment-grid { grid-template-columns: 1fr; }
    .price-hero-grid { gap: 48px; }
    .price-section-head { gap: 14px; }
    .price-section-head > p { max-width: 660px; }
    .usage-board, .subscription-grid { grid-template-columns: 1fr; }
    .usage-intro { border-right: 0; border-bottom: 1px solid var(--price-line); }
    .payment-grid { gap: 45px; }
    .price-final-inner { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 680px) {
    .price-wrap { width: min(100% - 24px, 1180px); }
    .price-hero { padding-top: 68px; }
    .price-hero h1 { font-size: clamp(42px, 15vw, 61px); }
    .price-hero-grid > div > p { font-size: 16px; }
    .price-map-row { grid-template-columns: 34px 1fr; }
    .price-map-row small { grid-column: 2; }
    .price-jump { overflow-x: auto; }
    .price-jump a { min-width: 120px; }
    .price-section { padding: 70px 0; }
    .price-section-head h2, .payment-copy h2, .price-final h2 { font-size: 35px; }
    .email-plan-grid { grid-template-columns: 1fr; gap: 20px; }
    .usage-intro, .subscription-panel { padding: 27px 22px; }
    .usage-icon { margin-bottom: 28px; }
    .usage-kyc-head { padding: 24px 20px; }
    .kyc-rate-list { grid-template-columns: 1fr; }
    .kyc-rate-list > div { border-right: 0; padding: 20px; }
    .usage-kyc-foot { align-items: flex-start; flex-direction: column; padding: 24px 20px; }
    .subscription-benefits { columns: 1; }
    .ai-product > div { align-items: flex-start; flex-direction: column; }
    .gateway-card { grid-template-columns: 1fr auto; gap: 14px; padding: 18px; }
    .gateway-logo { grid-column: 1 / -1; justify-content: start; border-right: 0; border-bottom: 1px solid var(--price-line); }
    .price-final-inner > div:last-child { align-items: flex-start; flex-direction: column; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .price-page * { transition: none !important; }
}
