/* ipSmart — site-specific overrides + cleanups for the Nylo PHP port */

/* Smooth scroll for in-page nav */
html { scroll-behavior: smooth; }

/* Section anchors land under the fixed navbar */
:target { scroll-margin-top: 110px; }

/* Default body BG mirrors the dark "gondola" theme */
body.bg-gondola { background-color: #0a0d28; }

/* Preloader stops covering the page once it's removed */
#preloader.is-loaded { opacity: 0; visibility: hidden; transition: opacity .3s ease, visibility .3s ease; }

/* Drop the white-on-white fallback for missing offscreen menu items */
.mobile-menu .mobile-menu-list .menu-link { cursor: pointer; }

/* Cart-icon area shouldn't show a broken counter span (we removed cart) */
.others-options .cart.icon { display: none; }

/* RTL switch & top button keep their original Nylo styles via nylo.css.
   Re-position the top button consistently on touch devices. */
.top-btn { z-index: 99; }

/* When the navbar is "sticky" we add a subtle backdrop blur */
nav.navbar.sticky {
    background: rgba(10, 13, 40, .85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Counter values get a tiny pop animation */
.counter { transition: color .2s ease; }

/* Ensure swiper images don't overflow their slide on tiny screens */
.swiper-slide img { max-width: 100%; height: auto; }

/* Section padding helper used across partials */
.ptb-100 { padding-top: 100px; padding-bottom: 100px; }
.pt-100  { padding-top: 100px; }
.pb-100  { padding-bottom: 100px; }
.pt-150  { padding-top: 150px; }
.pb-50   { padding-bottom: 50px; }
.py-100  { padding-top: 100px; padding-bottom: 100px; }
.py-150  { padding-top: 150px; padding-bottom: 150px; }
.letter-spacing-3 { letter-spacing: .3em; }
.mw-690  { max-width: 690px; }

/* ===== Plans page ===== */
.plans-hero { background: radial-gradient(900px 460px at 80% 0%, rgba(106,156,137,.18), transparent 60%),
                          radial-gradient(900px 460px at 10% 100%, rgba(255,219,32,.10), transparent 60%),
                          #0a0d28; }

.plan-card {
    background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    padding: 28px;
    color: #e7eef0;
    display: flex;
    flex-direction: column;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.plan-card:hover { transform: translateY(-4px); border-color: rgba(164,209,192,.45); box-shadow: 0 18px 40px rgba(0,0,0,.35); }
.plan-card--vip { border-color: rgba(255,219,32,.28); }
.plan-card--vip:hover { border-color: rgba(255,219,32,.7); }
.plan-card__ribbon {
    position: absolute; top: -12px; right: 18px;
    background: #ffdb20; color: #0a0d28;
    font-size: 12px; font-weight: 700; letter-spacing: .08em;
    padding: 6px 14px; border-radius: 999px; text-transform: uppercase;
    box-shadow: 0 6px 16px rgba(255,219,32,.35);
}
.plan-card__head { text-align: center; margin-bottom: 18px; padding-bottom: 18px; border-bottom: 1px dashed rgba(255,255,255,.1); }
.plan-card__tier {
    display: inline-block; font-size: 11px; font-weight: 700;
    letter-spacing: .25em; padding: 4px 10px; border-radius: 999px;
    background: rgba(106,156,137,.18); color: #a4d1c0;
}
.plan-card--vip .plan-card__tier { background: rgba(255,219,32,.18); color: #ffdb20; }
.plan-card__months { color: #fff; font-size: 22px; font-weight: 700; margin: 10px 0 4px; }
.plan-card__quality { color: #a4d1c0; font-size: 12px; letter-spacing: .14em; margin-bottom: 12px; text-transform: uppercase; }
.plan-card__price { font-family: inherit; margin: 0; line-height: 1; }
.plan-card__cur { font-size: 22px; color: #a4d1c0; vertical-align: top; margin-right: 4px; font-weight: 700; }
.plan-card__amount { font-size: 48px; color: #fff; font-weight: 800; letter-spacing: -0.02em; }
.plan-card__list { color: #c7d0d2; font-size: 14.5px; }
.plan-card__list li { display: flex; gap: 10px; align-items: flex-start; padding: 5px 0; }
.plan-card__list li i { color: #a4d1c0; flex-shrink: 0; margin-top: 3px; }
.plan-card--vip .plan-card__list li i { color: #ffdb20; }

.plans-why__list li { display: flex; gap: 16px; align-items: flex-start; padding: 12px 0; color: #c7d0d2; }
.plans-why__list li i { color: #a4d1c0; font-size: 24px; flex-shrink: 0; margin-top: 2px; }
.plans-why__list li strong { color: #fff; display: block; margin-bottom: 4px; }

.plans-faq .accordion-item { background: transparent; border: 1px solid rgba(255,255,255,.08); border-radius: 12px; margin-bottom: 12px; overflow: hidden; }
.plans-faq .accordion-button { background: transparent; color: #fff; font-weight: 600; box-shadow: none; }
.plans-faq .accordion-button:not(.collapsed) { background: rgba(106,156,137,.15); color: #ffdb20; }
.plans-faq .accordion-body { color: #c7d0d2; }

.plans-cta { background-color: #0a0d28; }

/* ===== Install pages ===== */
.install-hero, .install-show__hero { background: radial-gradient(900px 460px at 80% 0%, rgba(106,156,137,.18), transparent 60%), #0a0d28; }
.install-breadcrumb a { color: #a4d1c0; text-decoration: none; }
.install-breadcrumb a:hover { color: #ffdb20; }

.install-card {
    background: linear-gradient(160deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 18px;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
    color: #e7eef0;
}
.install-card:hover { transform: translateY(-4px); border-color: rgba(164,209,192,.5); box-shadow: 0 18px 40px rgba(0,0,0,.35); color: #fff; }
.install-card__media { aspect-ratio: 16 / 9; overflow: hidden; background: #0a0d28; }
.install-card__media img { width: 100%; height: 100%; object-fit: cover; transition: transform .3s ease; }
.install-card:hover .install-card__media img { transform: scale(1.05); }
.install-card__body { padding: 22px 24px 26px; }
.install-card__eyebrow { display: block; font-size: 11px; letter-spacing: .2em; color: #a4d1c0; text-transform: uppercase; margin-bottom: 8px; }
.install-card__title { color: #fff; font-size: 22px; font-weight: 700; margin: 0 0 10px; }
.install-card__summary { color: #c7d0d2; font-size: 14.5px; line-height: 1.6; margin: 0 0 16px; }
.install-card__cta { display: inline-flex; align-items: center; gap: 8px; color: #ffdb20; font-weight: 600; }

/* Install show */
.install-show__embed { position: relative; padding-bottom: 56.25%; height: 0; border-radius: 14px; overflow: hidden; background: #000; }
.install-show__embed iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.install-show__intro-card { background: rgba(106,156,137,.12); border: 1px solid rgba(164,209,192,.3); border-radius: 16px; padding: 22px 26px; }

.install-show__section { margin-top: 36px; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.08); }
.install-show__section:first-child { border-top: 0; padding-top: 0; margin-top: 0; }
.install-show__list { counter-reset: step; }
.install-show__list li { display: flex; gap: 18px; padding: 14px 0; align-items: flex-start; }
.install-show__step-num { flex-shrink: 0; width: 38px; height: 38px; border-radius: 999px; background: linear-gradient(135deg, #6a9c89, #ffdb20); color: #0a0d28; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; }
.install-show__step-body { color: #c7d0d2; line-height: 1.7; font-size: 15.5px; padding-top: 6px; }
.install-show__step-body a { color: #ffdb20; }
.install-show__step-body code { background: rgba(255,255,255,.08); color: #a4d1c0; padding: 2px 6px; border-radius: 4px; font-size: 13.5px; }
.install-show__step-body strong { color: #fff; }

.install-show__tips { background: rgba(255,219,32,.08); border-left: 3px solid #ffdb20; padding: 18px 22px; border-radius: 10px; }
.install-show__tips li { display: flex; gap: 10px; padding: 6px 0; color: #c7d0d2; }
.install-show__tips li i { color: #ffdb20; flex-shrink: 0; margin-top: 5px; }

/* Small screen polish */
@media (max-width: 575px) {
    .plan-card__amount { font-size: 40px; }
    .install-show__list li { gap: 12px; }
    .install-show__step-num { width: 32px; height: 32px; font-size: 14px; }
}
