/* =====================================================================
   ZendSoft Host — Modern storefront design system
   Bootstrap 5 base + custom layer. Dark/indigo brand, cyan accent.
   ===================================================================== */

:root {
    /* Brand */
    --zsh-bg:        #070b16;
    --zsh-bg-2:      #0b1124;
    --zsh-surface:   #0f1730;
    --zsh-card:      #131c39;
    --zsh-line:      rgba(148, 163, 184, .14);

    --zsh-indigo:    #6366f1;
    --zsh-indigo-2:  #4f46e5;
    --zsh-cyan:      #22d3ee;
    --zsh-violet:    #a855f7;

    --zsh-grad:      linear-gradient(135deg, #6366f1 0%, #22d3ee 100%);
    --zsh-grad-soft: linear-gradient(135deg, rgba(99,102,241,.18), rgba(34,211,238,.18));

    /* Light surfaces */
    --zsh-ink:       #0f172a;
    --zsh-body:      #475569;
    --zsh-muted:     #94a3b8;
    --zsh-soft:      #f5f7fc;
    --zsh-soft-2:    #eef1f9;

    --zsh-radius:    18px;
    --zsh-radius-lg: 26px;
    --zsh-shadow:    0 24px 60px -20px rgba(15, 23, 42, .25);
    --zsh-shadow-sm: 0 8px 24px -10px rgba(15, 23, 42, .18);

    --bs-primary: #4f46e5;
}

* { scroll-behavior: smooth; }

body {
    font-family: "Inter", "Segoe UI", system-ui, -apple-system, sans-serif;
    color: var(--zsh-ink);
    background: #fff;
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
}

h1, h2, h3, h4, h5, .display-1, .display-2, .display-3, .display-4 {
    font-family: "Plus Jakarta Sans", "Inter", system-ui, sans-serif;
    letter-spacing: -.02em;
}

.fw-extra { font-weight: 800 !important; }

/* ---------- Helpers ---------- */
.zsh-section        { padding: 5.5rem 0; position: relative; }
.zsh-section-sm     { padding: 3.5rem 0; }
.zsh-bg-soft        { background: var(--zsh-soft); }
.zsh-bg-dark        { background: var(--zsh-bg); color: #e2e8f0; }
.zsh-grad-text {
    background: var(--zsh-grad);
    -webkit-background-clip: text; background-clip: text;
    -webkit-text-fill-color: transparent; color: transparent;
}
.zsh-eyebrow {
    display: inline-flex; align-items: center; gap: .45rem;
    font-size: .74rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase;
    color: var(--zsh-indigo); padding: .4rem .9rem; border-radius: 999px;
    background: rgba(99, 102, 241, .1); border: 1px solid rgba(99, 102, 241, .2);
}
.zsh-bg-dark .zsh-eyebrow { color: #c7d2fe; background: rgba(99, 102, 241, .15); border-color: rgba(99, 102, 241, .28); }
.section-head { max-width: 680px; margin: 0 auto 3rem; }
.section-head h2 { font-weight: 800; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.text-body-muted { color: var(--zsh-body); }

/* ---------- Buttons ---------- */
.btn { font-weight: 600; border-radius: 12px; padding: .6rem 1.2rem; transition: transform .15s ease, box-shadow .2s ease, filter .2s ease; }
.btn-lg { padding: .85rem 1.7rem; border-radius: 14px; }
.btn-grad {
    background: var(--zsh-grad); color: #fff; border: 0;
    box-shadow: 0 12px 28px -8px rgba(79, 70, 229, .6);
}
.btn-grad:hover { color: #fff; transform: translateY(-2px); filter: brightness(1.05); box-shadow: 0 18px 36px -10px rgba(79, 70, 229, .7); }
.btn-ghost {
    background: rgba(255, 255, 255, .04); color: #e2e8f0;
    border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(6px);
}
.btn-ghost:hover { color: #fff; background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .35); transform: translateY(-2px); }
.btn-primary { background: var(--zsh-indigo-2); border-color: var(--zsh-indigo-2); }
.btn-primary:hover { background: #4338ca; border-color: #4338ca; transform: translateY(-2px); }
.btn-outline-primary { color: var(--zsh-indigo-2); border-color: rgba(79, 70, 229, .4); }
.btn-outline-primary:hover { background: var(--zsh-indigo-2); border-color: var(--zsh-indigo-2); transform: translateY(-2px); }

/* ---------- Navbar ---------- */
.zsh-navbar {
    background: rgba(7, 11, 22, .72);
    backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(148, 163, 184, .1);
    transition: background .25s ease, box-shadow .25s ease, padding .25s ease;
    padding-top: .85rem; padding-bottom: .85rem;
}
.zsh-navbar.scrolled { background: rgba(7, 11, 22, .94); box-shadow: 0 10px 30px -12px rgba(0, 0, 0, .6); padding-top: .55rem; padding-bottom: .55rem; }
.zsh-navbar .navbar-brand { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.3rem; font-weight: 800; color: #fff; }
.zsh-navbar .nav-link { color: #cbd5e1; font-weight: 500; padding: .5rem .9rem !important; border-radius: 9px; transition: color .15s ease, background .15s ease; }
.zsh-navbar .nav-link:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.zsh-navbar .nav-link.active { color: #fff; }
.zsh-navbar .nav-link.active::after {
    content: ""; display: block; height: 2px; width: 18px; margin: 2px auto 0;
    background: var(--zsh-grad); border-radius: 2px;
}
.brand-dot { color: var(--zsh-cyan); }
.navbar-toggler { border-color: rgba(255, 255, 255, .2); }

/* ---------- Hero ---------- */
.zsh-hero {
    position: relative; overflow: hidden; color: #fff;
    background: var(--zsh-bg);
    padding: 8.5rem 0 6rem;
}
.zsh-hero::before {
    content: ""; position: absolute; inset: 0; z-index: 0;
    background:
        radial-gradient(900px 480px at 78% -8%, rgba(99, 102, 241, .42), transparent 60%),
        radial-gradient(700px 420px at 12% 110%, rgba(34, 211, 238, .22), transparent 60%),
        linear-gradient(180deg, var(--zsh-bg) 0%, var(--zsh-bg-2) 100%);
}
.zsh-hero::after {
    content: ""; position: absolute; inset: 0; z-index: 0; opacity: .5;
    background-image:
        linear-gradient(rgba(148, 163, 184, .06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(148, 163, 184, .06) 1px, transparent 1px);
    background-size: 46px 46px;
    -webkit-mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 78%);
            mask-image: radial-gradient(circle at 50% 30%, #000 30%, transparent 78%);
}
.zsh-hero .container { position: relative; z-index: 1; }
.zsh-hero h1 { font-weight: 800; font-size: clamp(2.3rem, 4.6vw, 3.6rem); line-height: 1.08; }
.zsh-hero .lead { color: #b6c2d9; font-size: 1.12rem; }
.hero-badge {
    display: inline-flex; align-items: center; gap: .5rem;
    background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .14);
    color: #d7def0; font-size: .82rem; font-weight: 600; padding: .45rem 1rem; border-radius: 999px;
    backdrop-filter: blur(6px);
}
.hero-badge .dot { width: 8px; height: 8px; border-radius: 50%; background: #34d399; box-shadow: 0 0 0 4px rgba(52, 211, 153, .2); }
.hero-bullets { list-style: none; padding: 0; margin: 1.6rem 0 0; }
.hero-bullets li { display: flex; align-items: center; gap: .65rem; padding: .42rem 0; color: #cbd5e1; font-weight: 500; }
.hero-bullets i { color: var(--zsh-cyan); font-size: 1.05rem; }

/* Hero visual card */
.hero-visual {
    position: relative; border-radius: var(--zsh-radius-lg);
    background: linear-gradient(160deg, rgba(99, 102, 241, .18), rgba(34, 211, 238, .08));
    border: 1px solid rgba(148, 163, 184, .18);
    padding: 1.4rem; box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .8);
    backdrop-filter: blur(8px);
}
.hero-visual .term {
    background: #060912; border-radius: 14px; overflow: hidden; border: 1px solid rgba(148, 163, 184, .12);
    font-family: ui-monospace, "SF Mono", Menlo, Consolas, monospace; font-size: .82rem;
}
.hero-visual .term-bar { display: flex; gap: .4rem; padding: .7rem .9rem; background: #0c1326; border-bottom: 1px solid rgba(148, 163, 184, .1); }
.hero-visual .term-bar span { width: 11px; height: 11px; border-radius: 50%; }
.hero-visual .term-body { padding: 1rem 1.1rem; color: #9fb3d1; line-height: 1.8; }
.hero-visual .term-body .c-g { color: #4ade80; }
.hero-visual .term-body .c-c { color: var(--zsh-cyan); }
.hero-visual .term-body .c-m { color: #c4b5fd; }
.hero-stat-row { display: flex; gap: .75rem; margin-top: 1rem; }
.hero-stat {
    flex: 1; text-align: center; background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(148, 163, 184, .14); border-radius: 14px; padding: .8rem .4rem;
}
.hero-stat b { display: block; font-size: 1.2rem; color: #fff; font-family: "Plus Jakarta Sans", sans-serif; }
.hero-stat small { color: #93a4c0; font-size: .72rem; }

/* ---------- Trust / logo bar ---------- */
.trust-bar { border-top: 1px solid rgba(148, 163, 184, .1); border-bottom: 1px solid rgba(148, 163, 184, .1); background: var(--zsh-bg-2); }
.trust-bar .t-label { color: #6b7a99; font-size: .76rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 600; }
.trust-bar .t-item { color: #aebdd6; font-weight: 600; display: inline-flex; align-items: center; gap: .5rem; opacity: .85; }
.trust-bar .t-item i { font-size: 1.3rem; }

/* ---------- Dark feature cards (why choose) ---------- */
.why-card {
    height: 100%; background: var(--zsh-card); border: 1px solid var(--zsh-line);
    border-radius: var(--zsh-radius); padding: 1.8rem; transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.why-card:hover { transform: translateY(-5px); border-color: rgba(99, 102, 241, .5); box-shadow: 0 26px 50px -24px rgba(79, 70, 229, .5); }
.why-card .ic {
    width: 56px; height: 56px; border-radius: 14px; display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: #fff; background: var(--zsh-grad); box-shadow: 0 10px 24px -10px rgba(79, 70, 229, .8); margin-bottom: 1.1rem;
}
.why-card h5 { color: #fff; font-weight: 700; }
.why-card p { color: #93a4c0; font-size: .92rem; margin: 0; }

/* ---------- Feature icon (light) ---------- */
.feature-icon {
    width: 56px; height: 56px; border-radius: 16px;
    display: inline-flex; align-items: center; justify-content: center;
    background: var(--zsh-grad-soft); color: var(--zsh-indigo-2); font-size: 1.55rem;
}
.feature-tile {
    height: 100%; background: #fff; border: 1px solid var(--zsh-soft-2); border-radius: var(--zsh-radius);
    padding: 1.6rem; transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.feature-tile:hover { transform: translateY(-4px); box-shadow: var(--zsh-shadow-sm); border-color: rgba(99, 102, 241, .25); }
.feature-tile h6 { font-weight: 700; margin: .9rem 0 .35rem; }
.feature-tile p { color: var(--zsh-body); font-size: .88rem; margin: 0; }

/* ---------- Plan cards ---------- */
.plan-card {
    position: relative; height: 100%; background: #fff;
    border: 1px solid var(--zsh-soft-2); border-radius: var(--zsh-radius-lg);
    transition: transform .2s ease, box-shadow .25s ease, border-color .2s ease;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--zsh-shadow); border-color: rgba(99, 102, 241, .3); }
.plan-card.popular {
    border-color: transparent;
    box-shadow: 0 0 0 2px var(--zsh-indigo), var(--zsh-shadow);
}
.plan-card.popular::before {
    content: ""; position: absolute; inset: 0; border-radius: inherit; padding: 2px;
    background: var(--zsh-grad);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
            mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor; mask-composite: exclude; pointer-events: none;
}
.badge-popular {
    background: var(--zsh-grad); color: #fff; font-weight: 700; letter-spacing: .03em;
    border-radius: 999px; box-shadow: 0 8px 20px -6px rgba(79, 70, 229, .7);
}
.plan-cat { font-size: .72rem; font-weight: 700; letter-spacing: .12em; color: var(--zsh-indigo); }
.plan-card .price-amount { font-size: 2.6rem; font-weight: 800; line-height: 1; font-family: "Plus Jakarta Sans", sans-serif; }
.plan-card .price-original { text-decoration: line-through; color: var(--zsh-muted); font-size: .95rem; }
.price-original { text-decoration: line-through; color: var(--zsh-muted); }
.badge-save { background: #16a34a !important; font-weight: 700; border-radius: 999px; }
.spec-list { margin: 0; padding: 0; list-style: none; }
.spec-list li { display: flex; align-items: center; gap: .6rem; padding: .5rem 0; border-bottom: 1px solid var(--zsh-soft-2); color: var(--zsh-ink); font-size: .92rem; }
.spec-list li:last-child { border-bottom: 0; }
.spec-list li i { color: var(--zsh-indigo-2); font-size: 1.05rem; flex: 0 0 auto; }
.spec-list li .feat-check { color: #16a34a; }

/* ---------- Billing toggle ---------- */
.billing-toggle {
    display: inline-flex; align-items: center; gap: .25rem; padding: .3rem;
    background: var(--zsh-soft-2); border-radius: 999px; border: 1px solid #e2e8f0;
}
.zsh-bg-dark .billing-toggle { background: rgba(255,255,255,.05); border-color: rgba(148,163,184,.2); }
.billing-toggle .btn-check + .btn {
    border: 0; border-radius: 999px !important; padding: .55rem 1.4rem; font-weight: 600;
    color: var(--zsh-body); background: transparent;
}
.zsh-bg-dark .billing-toggle .btn-check + .btn { color: #b6c2d9; }
.billing-toggle .btn-check:checked + .btn { background: #fff; color: var(--zsh-indigo-2); box-shadow: var(--zsh-shadow-sm); }
.zsh-bg-dark .billing-toggle .btn-check:checked + .btn { background: var(--zsh-grad); color: #fff; }
.billing-toggle .btn .badge { font-size: .62rem; vertical-align: middle; }

/* ---------- OS logos ---------- */
.os-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; }
.os-chip {
    display: flex; flex-direction: column; align-items: center; gap: .5rem;
    min-width: 110px; padding: 1.3rem 1rem; background: #fff;
    border: 1px solid var(--zsh-soft-2); border-radius: var(--zsh-radius);
    transition: transform .2s ease, box-shadow .2s ease; color: var(--zsh-ink);
}
.os-chip:hover { transform: translateY(-4px); box-shadow: var(--zsh-shadow-sm); }
.os-chip i { font-size: 2.2rem; color: var(--zsh-indigo-2); }
.os-chip img { width: 2.2rem; height: 2.2rem; object-fit: contain; }
.os-chip span { font-size: .82rem; font-weight: 600; color: var(--zsh-body); }

/* ---------- Stats band ---------- */
.stat-band b { font-family: "Plus Jakarta Sans", sans-serif; font-weight: 800; font-size: clamp(1.8rem, 4vw, 2.8rem); }
.stat-band .zsh-grad-text { display: inline-block; }
.stat-band small { color: var(--zsh-muted); letter-spacing: .04em; text-transform: uppercase; font-size: .76rem; font-weight: 600; }

/* ---------- Testimonials ---------- */
.testi-card {
    height: 100%; background: var(--zsh-card); border: 1px solid var(--zsh-line);
    border-radius: var(--zsh-radius); padding: 1.7rem;
}
.testi-card .stars { color: #fbbf24; font-size: .95rem; }
.testi-card p { color: #c5d1e6; font-size: .95rem; line-height: 1.6; }
.testi-card .who { display: flex; align-items: center; gap: .75rem; margin-top: 1.1rem; }
.testi-avatar {
    width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
    font-weight: 700; color: #fff; background: var(--zsh-grad); flex: 0 0 auto;
}
.testi-card .who b { color: #fff; font-size: .9rem; display: block; }
.testi-card .who small { color: #8294b3; }

/* ---------- FAQ ---------- */
.faq-accordion .accordion-item { background: transparent; border: 1px solid var(--zsh-soft-2); border-radius: var(--zsh-radius) !important; margin-bottom: .85rem; overflow: hidden; }
.faq-accordion .accordion-button { font-weight: 700; color: var(--zsh-ink); padding: 1.15rem 1.3rem; background: #fff; border-radius: var(--zsh-radius) !important; }
.faq-accordion .accordion-button:not(.collapsed) { color: var(--zsh-indigo-2); background: var(--zsh-soft); box-shadow: none; }
.faq-accordion .accordion-button:focus { box-shadow: none; }
.faq-accordion .accordion-button::after { background-size: 1rem; }
.faq-accordion .accordion-body { color: var(--zsh-body); line-height: 1.7; }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative; overflow: hidden; border-radius: var(--zsh-radius-lg);
    background: var(--zsh-bg-2); border: 1px solid var(--zsh-line); color: #fff;
    padding: 3.5rem 2rem;
}
.cta-band::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(600px 300px at 85% -20%, rgba(99,102,241,.5), transparent 60%),
                radial-gradient(500px 280px at 10% 120%, rgba(34,211,238,.3), transparent 60%);
}
.cta-band > * { position: relative; z-index: 1; }

/* ---------- Footer ---------- */
.zsh-footer { background: var(--zsh-bg); color: #94a3b8; border-top: 1px solid rgba(148,163,184,.1); }
.zsh-footer h6 { color: #fff; font-weight: 700; font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 1rem; }
.zsh-footer .brand { font-family: "Plus Jakarta Sans", sans-serif; font-size: 1.25rem; font-weight: 800; color: #fff; }
.zsh-footer a { color: #94a3b8; text-decoration: none; transition: color .15s ease; }
.zsh-footer a:hover { color: var(--zsh-cyan); }
.zsh-footer ul { list-style: none; padding: 0; margin: 0; }
.zsh-footer ul li { margin-bottom: .55rem; font-size: .9rem; }
.foot-social { display: flex; gap: .55rem; }
.foot-social a {
    width: 38px; height: 38px; border-radius: 10px; display: inline-flex; align-items: center; justify-content: center;
    background: rgba(255,255,255,.05); border: 1px solid rgba(148,163,184,.16); color: #cbd5e1; font-size: 1rem;
}
.foot-social a:hover { background: var(--zsh-grad); border-color: transparent; color: #fff; transform: translateY(-2px); }
.foot-pay { display: flex; gap: .5rem; align-items: center; flex-wrap: wrap; }
.foot-pay span { background: rgba(255,255,255,.06); border: 1px solid rgba(148,163,184,.16); border-radius: 8px; padding: .35rem .7rem; font-size: .74rem; font-weight: 600; color: #cbd5e1; }
.foot-bottom { border-top: 1px solid rgba(148,163,184,.12); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
    position: relative; overflow: hidden; color: #fff; background: var(--zsh-bg);
    padding: 8rem 0 4.5rem;
}
.page-hero::before {
    content: ""; position: absolute; inset: 0;
    background: radial-gradient(800px 380px at 70% -20%, rgba(99,102,241,.4), transparent 60%),
                linear-gradient(180deg, var(--zsh-bg), var(--zsh-bg-2));
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero h1 { font-weight: 800; font-size: clamp(2rem, 4vw, 3rem); }
.page-hero .lead { color: #b6c2d9; }

/* ---------- Legal / account ---------- */
.legal-content h2 { font-size: 1.25rem; margin-top: 1.75rem; font-weight: 700; color: var(--zsh-ink); }
.legal-content p, .legal-content li { color: var(--zsh-body); line-height: 1.7; }
.account-nav .list-group-item.active { background: var(--zsh-indigo-2); border-color: var(--zsh-indigo-2); }

/* ---------- Animations ---------- */
@keyframes zsh-rise { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: translateY(0); } }
.zsh-reveal { opacity: 0; }
.zsh-reveal.in { animation: zsh-rise .6s cubic-bezier(.22,.61,.36,1) forwards; }

@media (prefers-reduced-motion: reduce) {
    .zsh-reveal { opacity: 1 !important; animation: none !important; }
    * { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 991.98px) {
    .zsh-hero { padding: 7rem 0 4rem; }
    .zsh-section { padding: 4rem 0; }
    .zsh-navbar { background: rgba(7, 11, 22, .96); }
    .zsh-navbar .navbar-collapse { padding-top: .75rem; }
}
