/* ==========================================================
   web4lesspro-pages.css
   Shared inline styles extracted from all inner pages.
   Covers: nav CTA button, reveal animations, footer layout,
   cookie table, and the scroll-reveal utility.
   ========================================================== */

/* ── Nav CTA Button (shared across all pages) ── */
.nav-links .nav-cta-btn {
    display: inline-block;
    padding: 0.5rem 1.1rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff !important;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.01em;
    white-space: nowrap;
    box-shadow: 0 0 18px rgba(0,114,255,0.45);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none !important;
}
.nav-links .nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 28px rgba(0,114,255,0.7);
}
.mobile-nav-cta {
    display: block;
    margin: 0.5rem 1rem;
    padding: 0.7rem 1.2rem;
    border-radius: 999px;
    background: linear-gradient(135deg, #00c6ff, #0072ff);
    color: #fff !important;
    font-weight: 700;
    text-align: center;
    text-decoration: none !important;
    box-shadow: 0 0 18px rgba(0,114,255,0.45);
}

/* ── Shared keyframe animations ── */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50%       { opacity: 0.5; transform: scale(1.4); }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeLeft {
    from { opacity: 0; transform: translateX(30px); }
    to   { opacity: 1; transform: translateX(0); }
}
@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50%       { background-position: 100% 50%; }
}

/* ── Scroll-reveal utility ── */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.65s cubic-bezier(.22,.61,.36,1),
                transform  0.65s cubic-bezier(.22,.61,.36,1);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.rd1 { transition-delay: 0.05s; }
.rd2 { transition-delay: 0.10s; }
.rd3 { transition-delay: 0.15s; }

/* ── Shared footer layout (multi-column) ── */
.site-footer { padding: 0 0 30px; }
.footer-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 24px;
    padding: 28px;
    border-radius: 26px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
}
.footer-logo-img { width: 48px; height: 48px; object-fit: contain; }
.footer-tagline,
.footer-contact-info span,
.footer-nav-group a,
.footer-copy,
.footer-built { color: #a9bfd0; }
.footer-contact-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 14px;
}
.footer-nav-group h5 { color: #fff; font-size: 0.98rem; margin-bottom: 12px; }
.footer-nav-group ul { list-style: none; display: grid; gap: 10px; }
.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 18px 6px 0;
}

/* ── Cookie table ── */
.cookie-table-wrap { overflow-x: auto; margin: 1.5rem 0; }
.cookie-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.92rem;
}
.cookie-table th,
.cookie-table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.cookie-table th {
    color: #fff;
    font-weight: 700;
    background: rgba(255,255,255,0.05);
}
.cookie-table td { color: #a9bfd0; }
.cookie-table tr:last-child td { border-bottom: none; }
.cookie-table tr:hover td { background: rgba(255,255,255,0.03); }

/* ── Contact page: selected plan banner ── */
#selected-plan-banner { display: none; margin: 0 auto 2rem; max-width: 680px; padding: 0 1rem; }
#selected-plan-banner.visible { display: block; }
.plan-card-link { display: block; text-decoration: none; cursor: pointer; }
.plan-selected-card {
    position: relative; border-radius: 20px; padding: 1.5rem 1.8rem;
    background: linear-gradient(135deg, rgba(0,198,255,.12), rgba(0,114,255,.18));
    border: 1px solid rgba(0,198,255,.35);
    box-shadow: 0 0 30px rgba(0,198,255,.12), 0 8px 32px rgba(0,0,0,.25);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease; overflow: hidden;
}
.plan-selected-card::before {
    content:''; position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(0,198,255,.07) 0%, transparent 60%);
    pointer-events: none; border-radius: inherit;
}
.plan-card-link:hover .plan-selected-card {
    transform: translateY(-3px);
    box-shadow: 0 0 45px rgba(0,198,255,.22), 0 12px 40px rgba(0,0,0,.3);
    border-color: rgba(0,198,255,.6);
}
.plan-card-top { display: flex; align-items: center; justify-content: space-between; gap: 1rem; flex-wrap: wrap; margin-bottom: 1rem; }
.plan-card-left { display: flex; align-items: center; gap: 1rem; }
.plan-card-emoji { font-size: 2.2rem; line-height: 1; flex-shrink: 0; }
.plan-card-badge {
    display: inline-block; font-size: 10px; font-weight: 800; letter-spacing: .1em;
    text-transform: uppercase; color: #00c6ff; background: rgba(0,198,255,.12);
    border: 1px solid rgba(0,198,255,.3); border-radius: 999px; padding: 2px 10px; margin-bottom: 4px;
}
.plan-card-name { font-size: 1.25rem; font-weight: 800; color: #fff; margin: 0; line-height: 1.2; }
.plan-card-pricing { text-align: right; flex-shrink: 0; }
.plan-card-price { font-size: 1.8rem; font-weight: 800; color: #fff; line-height: 1; }
.plan-card-price-sub { font-size: .8rem; color: rgba(255,255,255,.55); margin-top: 2px; }
.plan-card-features { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-bottom: .85rem; }
.plan-card-feature { font-size: .82rem; color: rgba(255,255,255,.75); display: flex; align-items: center; gap: 5px; }
.plan-card-feature::before { content: '✦'; color: #00c6ff; font-size: .65rem; }
.plan-card-change {
    display: flex; align-items: center; gap: 6px; font-size: .8rem;
    color: rgba(255,255,255,.45); padding-top: .85rem;
    border-top: 1px solid rgba(255,255,255,.08); transition: color .2s ease;
}
.plan-card-link:hover .plan-card-change { color: rgba(0,198,255,.85); }
.plan-card-change-arrow { font-size: .95rem; }

/* ── Contact page: toast notification ── */
#toast {
    position: fixed; top: 1.5rem; left: 50%;
    transform: translateX(-50%) translateY(-140%); z-index: 9999;
    display: flex; align-items: center; gap: .75rem;
    padding: 1rem 1.4rem; border-radius: 14px;
    font-family: 'Inter', sans-serif; font-size: .95rem; font-weight: 600;
    min-width: 300px; max-width: 90vw;
    box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 2px 8px rgba(0,0,0,.2);
    backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255,255,255,.18); opacity: 0; pointer-events: none;
    transition: transform .45s cubic-bezier(.34,1.56,.64,1), opacity .4s ease; overflow: hidden;
}
#toast.toast--visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: auto; }
#toast.toast--success { background: linear-gradient(135deg, rgba(16,185,129,.93), rgba(5,150,105,.96)); color: #fff; }
#toast.toast--error   { background: linear-gradient(135deg, rgba(239,68,68,.93),  rgba(185,28,28,.96));  color: #fff; }
#toast.toast--warning { background: linear-gradient(135deg, rgba(245,158,11,.93), rgba(180,83,9,.96));   color: #fff; }
.toast__icon { font-size: 1.25rem; flex-shrink: 0; line-height: 1; }
.toast__text { flex: 1; line-height: 1.45; word-break: break-word; }
.toast__close { background: none; border: none; color: rgba(255,255,255,.75); font-size: 1rem; cursor: pointer; padding: 0 0 0 .5rem; line-height: 1; flex-shrink: 0; transition: color .2s; }
.toast__close:hover { color: #fff; }
.toast__bar { position: absolute; bottom: 0; left: 0; height: 3px; width: 100%; border-radius: 0 0 14px 14px; background: rgba(255,255,255,.45); transform-origin: left center; }
.recaptcha-wrap { margin-top: .35rem; margin-bottom: 1rem; display: flex; justify-content: center; width: 100%; overflow: visible; }
.recaptcha-wrap > div { max-width: 100%; }

/* ── Pricing page: billing toggle + tooltip ── */
.pricing-card { overflow: visible !important; }
.pricing-features-scroll { overflow-y: auto; overflow-x: visible !important; }
.request-info-item { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.request-text { display: inline-flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.info-tip-wrap { display: inline-flex; align-items: center; }
.info-tip {
    display: inline-flex; align-items: center; justify-content: center;
    width: 18px; height: 18px; border: 1px solid rgba(255,255,255,.25);
    border-radius: 50%; background: rgba(255,255,255,.08); color: #fff;
    font-size: 11px; font-weight: 700; line-height: 1; cursor: pointer;
    transition: all .2s ease; padding: 0;
}
.info-tip:hover { transform: translateY(-1px); background: rgba(255,255,255,.14); border-color: rgba(255,255,255,.42); }
.request-tooltip {
    position: fixed; top: 0; left: 0; width: 320px; max-width: calc(100vw - 20px);
    background: rgba(8,18,28,.97); border: 1px solid rgba(255,255,255,.14);
    border-radius: 16px; padding: 14px 14px 12px;
    box-shadow: 0 25px 60px rgba(0,0,0,.5); backdrop-filter: blur(14px);
    color: #eef7fb; z-index: 2147483647; opacity: 0; visibility: hidden;
    pointer-events: none; transition: opacity .18s ease, transform .18s ease, visibility .18s ease;
}
.request-tooltip.show { opacity: 1; visibility: visible; pointer-events: auto; }
.request-tooltip::before {
    content:""; position: absolute; width: 14px; height: 14px;
    background: rgba(8,18,28,.97); transform: translateX(-50%) rotate(45deg);
}
.request-tooltip.place-bottom { transform: translateY(8px); }
.request-tooltip.place-bottom.show { transform: translateY(0); }
.request-tooltip.place-bottom::before { top:-7px; left: var(--arrow-left,50%); border-left:1px solid rgba(255,255,255,.14); border-top:1px solid rgba(255,255,255,.14); }
.request-tooltip.place-top { transform: translateY(-8px); }
.request-tooltip.place-top.show { transform: translateY(0); }
.request-tooltip.place-top::before { bottom:-7px; left: var(--arrow-left,50%); border-right:1px solid rgba(255,255,255,.14); border-bottom:1px solid rgba(255,255,255,.14); }
.request-tooltip h4 { margin:0 0 10px; font-size:14px; font-weight:700; color:#fff; }
.request-tooltip .tooltip-note { margin:0 0 10px; font-size:12.5px; line-height:1.5; color:rgba(255,255,255,.85); }
.request-tooltip .tooltip-group { margin-bottom:10px; }
.request-tooltip .tooltip-label { display:block; margin-bottom:6px; font-size:12px; font-weight:700; letter-spacing:.04em; text-transform:uppercase; color:#7ce4df; }
.request-tooltip ul { margin:0; padding-left:18px; }
.request-tooltip li { margin:0 0 5px; font-size:12.5px; line-height:1.45; color:rgba(255,255,255,.9); }
.request-tooltip .tooltip-extra { margin:8px 0 0; padding-top:10px; border-top:1px solid rgba(255,255,255,.1); font-size:12.5px; line-height:1.5; color:#fff; }
.billing-toggle-wrap {
    display:flex; align-items:center; justify-content:center; gap:10px; margin:0 0 36px;
    background:rgba(255,255,255,.05); border:1px solid rgba(255,255,255,.12); border-radius:999px;
    padding:5px; width:fit-content; margin-left:auto; margin-right:auto;
}
.billing-pill {
    display:inline-flex; align-items:center; gap:8px; padding:10px 22px; border-radius:999px;
    border:none; background:transparent; color:rgba(255,255,255,.5); font-family:inherit;
    font-size:14px; font-weight:600; cursor:pointer; transition:all .25s ease; white-space:nowrap;
}
.billing-pill:hover { color:rgba(255,255,255,.85); }
.billing-pill.active { background:rgba(124,228,223,.15); border:1px solid rgba(124,228,223,.35); color:#fff; box-shadow:0 2px 12px rgba(124,228,223,.15); }
.billing-badge { font-size:11px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; background:rgba(124,228,223,.15); border:1px solid rgba(124,228,223,.3); color:#7ce4df; border-radius:999px; padding:3px 10px; white-space:nowrap; }
.pricing-grid-monthly, .pricing-grid-onetime { display:none; contents:unset; }
.pricing-grid-monthly.active, .pricing-grid-onetime.active { display:contents; }
.pricing-footnote-onetime { display:none; }
.pricing-footnote-onetime.active { display:block; }
.pricing-footnote-monthly { display:block; }
.pricing-footnote-monthly.hidden { display:none; }

/* ── Responsive footer ── */
@media (max-width: 1100px) {
    .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .footer-top { grid-template-columns: 1fr; padding: 22px; }
    .footer-inner { padding-left: 18px; padding-right: 18px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
}
@media (max-width: 540px) {
    .plan-card-top { flex-direction: column; align-items: flex-start; }
    .plan-card-pricing { text-align: left; }
    .recaptcha-wrap { transform-origin: center top; }
}
