/* Landing refresh: clearer hierarchy, compact sections and accessible controls. */
:root {
    --refresh-text: #f5f0fb;
    --refresh-text-secondary: #d8d0e2;
    --refresh-text-muted: #b2a7bf;
    --refresh-surface: rgba(17, 8, 31, 0.88);
    --refresh-surface-raised: rgba(25, 11, 45, 0.92);
    --refresh-border: rgba(206, 159, 255, 0.18);
    --refresh-border-strong: rgba(206, 159, 255, 0.38);
    --refresh-accent: #ca62ff;
    --refresh-accent-soft: rgba(190, 80, 255, 0.12);
    --refresh-radius: 18px;
}

.brand-mark {
    display: inline-flex;
    width: 40px;
    height: 37px;
    flex: 0 0 40px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--refresh-accent);
    border-radius: 8px;
    background: #170d27 !important;
    color: var(--refresh-accent) !important;
    font-size: 13px !important;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.brand-mark::before {
    content: "HL";
}

.navbar .navbar-brand-text {
    background: none !important;
    background-image: none !important;
    color: var(--refresh-text) !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
}

/* Flat typography and controls */
h1,
h2,
h3,
h4,
.section-name,
.text-gradient {
    background: none !important;
    background-image: none !important;
    color: var(--refresh-text) !important;
    -webkit-background-clip: border-box !important;
    background-clip: border-box !important;
    -webkit-text-fill-color: currentColor !important;
}

button,
.btn,
.btn-hero,
.btn-large,
.plan-cta,
.section-toggle,
.feature-filter,
.hub-cta-btn,
.promo-copy-btn,
.plan-badge {
    background-image: none !important;
}

.btn-hero-accent,
.btn-large,
.plan-cta,
#servers .hub-cta-btn,
.promo-copy-btn {
    border-color: #a75bc8 !important;
    background-color: #8f3bb6 !important;
    color: #fff !important;
}

.btn-hero-accent:hover,
.btn-large:hover,
.plan-cta:hover,
#servers .hub-cta-btn:hover,
.promo-copy-btn:hover {
    background-color: #a448ca !important;
}

.btn-hero-outline,
.plan-cta-secondary,
.section-toggle,
.feature-filter {
    background-color: #160b22 !important;
}

#home .auth-form .btn-large,
#servers .search-button {
    border-color: #a75bc8 !important;
    background: #8f3bb6 !important;
    background-image: none !important;
    color: #fff !important;
    box-shadow: none !important;
}

.btn-hero-accent,
.btn-hero-outline,
.btn-large,
.plan-cta,
.section-toggle,
#servers .search-button,
#servers .hub-cta-btn {
    box-shadow: none !important;
}

body {
    color: var(--refresh-text);
    font-size: 16px;
    line-height: 1.65;
}

main {
    background: #080216;
}

.home::after {
    background: rgba(8, 2, 22, 0.42) !important;
}

#servers,
#why-hlbot,
#bot-functions,
#product-preview,
#features-content,
#news,
#how-it-works,
#reviews,
#pricing,
#faq,
#get-started {
    border-top: 1px solid var(--refresh-border);
    background: #080216 !important;
    background-image: none !important;
}

#product-preview::before,
.feature-card::before {
    display: none !important;
    background: none !important;
}

.section-name::after,
.step-number {
    background: #8f3bb6 !important;
    background-image: none !important;
}


body p,
.section-description,
.hero-subtitle,
.feature-card__desc,
.news-text,
.faq-content,
.why-content p,
.features-content p,
.step-card p,
.testimonial-card p {
    color: var(--refresh-text-secondary) !important;
}

.nav-link,
.meta,
.news-date,
.rating-count,
.hub-rmeta,
.product-preview-note {
    color: var(--refresh-text-muted) !important;
}

.panel-section,
.why-hlbot-section,
.how-it-works-section,
.product-preview-section,
.pricing-section {
    padding-top: clamp(64px, 7vw, 96px) !important;
    padding-bottom: clamp(64px, 7vw, 96px) !important;
}

.section-name {
    margin-bottom: 32px !important;
    letter-spacing: -0.025em;
}

.section-name::after {
    width: 56px !important;
    height: 3px !important;
    margin-top: 16px !important;
    border-radius: 999px;
}

.section-description,
.pricing-section .subtitle {
    max-width: 720px;
    margin-right: auto !important;
    margin-left: auto !important;
    font-size: 1.05rem;
    line-height: 1.7;
}

/* Hero and form */
.home {
    min-height: auto !important;
    padding-top: 132px !important;
    padding-bottom: 72px !important;
}

.home .container .hero-grid .hero-left h1 {
    max-width: 680px;
    margin-right: auto;
    margin-left: auto;
    font-size: clamp(2.4rem, 3.7vw, 3.25rem) !important;
    line-height: 1.08 !important;
    letter-spacing: -0.04em;
}

.home .hero-subtitle {
    max-width: 620px !important;
    font-size: 1.08rem !important;
    line-height: 1.7 !important;
}

.hero-cta {
    gap: 12px !important;
}

.btn-hero,
.btn-large,
.plan-cta,
.section-toggle {
    min-height: 48px;
}

.auth-glass,
.auth-form {
    border-color: var(--refresh-border-strong) !important;
    background: rgba(12, 5, 25, 0.9) !important;
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.42), 0 0 40px rgba(168, 65, 230, 0.12) !important;
}

.auth-form {
    padding: 28px !important;
}

.auth-form h3 {
    margin-bottom: 22px !important;
}

.auth-form .form-group {
    margin-bottom: 14px !important;
}

.form-label {
    display: block;
    margin-bottom: 6px;
    color: var(--refresh-text-secondary);
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-align: left;
}

.home .auth-forms .auth-form .form-group .form-control {
    min-height: 48px;
    padding: 12px 46px 12px 14px !important;
    border-color: rgba(210, 170, 245, 0.32) !important;
    background: rgba(5, 2, 12, 0.7) !important;
    color: var(--refresh-text) !important;
}

.form-control::placeholder {
    color: #8f819d !important;
    opacity: 1;
}

.form-control:focus {
    border-color: var(--refresh-accent) !important;
    box-shadow: 0 0 0 3px rgba(202, 98, 255, 0.18) !important;
}

.password-input {
    position: relative;
}

.home .auth-forms .auth-form .form-group .password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    display: inline-flex;
    width: 40px !important;
    max-width: 40px !important;
    height: 40px !important;
    align-items: center;
    justify-content: center;
    padding: 0 !important;
    transform: translateY(-50%);
    border: 0 !important;
    border-radius: 9px !important;
    background: transparent !important;
    color: var(--refresh-text-muted) !important;
    cursor: pointer;
}

.password-toggle:hover,
.password-toggle:focus-visible {
    background: var(--refresh-accent-soft);
    color: var(--refresh-text);
    outline: none;
}

.password-toggle svg {
    width: 19px;
    height: 19px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.checkbox {
    color: var(--refresh-text-secondary) !important;
    line-height: 1.5;
}

.captcha-container {
    margin: 12px 0 0 !important;
}

.h-captcha:not(:has(iframe)) {
    display: none !important;
}

.captcha-container .text-center:has(.h-captcha:not(:has(iframe))) {
    display: none !important;
}

.home .auth-forms .auth-form .captcha-container > .form-group {
    margin-top: 0 !important;
}

.auth-form .text-center:last-child,
.auth-form .form-group:last-child {
    margin-bottom: 0 !important;
}

/* Shared compact cards */
.feature-card,
.why-box,
.step-card,
.testimonial-card,
.seo-benefit-card,
.faq-item,
.pricing-section .card {
    border-color: var(--refresh-border) !important;
    background: var(--refresh-surface) !important;
}

.feature-card:hover,
.why-box:hover,
.step-card:hover,
.testimonial-card:hover,
.seo-benefit-card:hover,
.pricing-section .card:hover {
    border-color: var(--refresh-border-strong) !important;
}

/* Why HLBot */
.why-hlbot-section {
    padding-top: 56px !important;
    padding-bottom: 56px !important;
    background: #080216 !important;
}

.why-hlbot-section .section-name {
    margin-bottom: 22px !important;
}

.why-grid {
    display: grid !important;
    max-width: 1120px;
    margin: 0 auto;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
}

.why-box {
    display: block !important;
    min-height: 0 !important;
    padding: 18px !important;
    border: 1px solid var(--refresh-border) !important;
    border-radius: var(--refresh-radius) !important;
}

.why-content {
    display: grid !important;
    width: 100% !important;
    max-width: none !important;
    grid-template-columns: 42px minmax(0, 1fr);
    column-gap: 16px;
    align-items: start !important;
    padding: 0 !important;
    text-align: left !important;
}

.why-content h3 {
    display: block !important;
    margin-bottom: 10px !important;
    font-size: 1.1rem !important;
    text-align: left !important;
    grid-column: 2;
}

.why-content p {
    margin: 0 !important;
    grid-column: 2;
    font-size: 0.95rem;
    line-height: 1.65 !important;
    text-align: left !important;
}

.why-icon {
    display: inline-flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    margin: 0;
    grid-row: 1 / span 2;
    grid-column: 1;
    border: 1px solid rgba(202, 98, 255, 0.32);
    border-radius: 12px;
    background: var(--refresh-accent-soft);
    color: #dda2ff;
}

.why-icon svg {
    width: 23px;
    height: 23px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

/* Feature cards */
#bot-functions {
    background: #080216 !important;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.feature-grid-item {
    display: flex;
    min-width: 0;
}

.feature-grid-item:last-child:nth-child(3n + 1) {
    grid-column: 2;
}

.feature-icon-sprite {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
}

.feature-card {
    position: relative;
    min-height: 0 !important;
    padding: 18px !important;
    overflow: hidden;
    border: 1px solid var(--refresh-border) !important;
    border-radius: var(--refresh-radius) !important;
    transform: none !important;
}

.feature-card:hover {
    transform: translateY(-3px) !important;
}

.feature-card__title {
    margin-bottom: 10px !important;
    font-size: 1rem !important;
}

.feature-card__link {
    display: flex;
    align-items: center;
    gap: 11px;
    color: var(--refresh-text) !important;
    text-decoration: none !important;
}

.feature-card__icon {
    flex: 0 0 auto;
    width: 36px;
    height: 36px;
    padding: 8px;
    border: 1px solid rgba(202, 98, 255, 0.3);
    border-radius: 11px;
    background: var(--refresh-accent-soft);
    color: #dda2ff;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.feature-filter {
    display: inline-flex;
    min-height: 40px;
    align-items: center;
    gap: 7px;
    padding: 8px 12px !important;
    border: 1px solid var(--refresh-border) !important;
    border-radius: 10px !important;
    background: rgba(255, 255, 255, 0.025) !important;
    color: var(--refresh-text-secondary) !important;
    font: inherit;
    font-size: 0.84rem !important;
    cursor: pointer;
}

.feature-filter:hover,
.feature-filter:focus-visible,
.feature-filter.active {
    border-color: var(--refresh-border-strong) !important;
    background: var(--refresh-accent-soft) !important;
    color: var(--refresh-text) !important;
}

.filter-icon {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.8;
}

.feature-card__desc {
    margin: 0 !important;
    color: var(--refresh-text-secondary) !important;
    font-size: 0.9rem !important;
    line-height: 1.55 !important;
}

.is-collapsed {
    display: none !important;
}

.section-toggle-wrap {
    display: flex;
    justify-content: center;
    margin-top: 28px;
}

.section-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 11px 20px;
    border: 1px solid var(--refresh-border-strong);
    border-radius: 999px;
    background: var(--refresh-accent-soft);
    color: var(--refresh-text);
    font-weight: 700;
    cursor: pointer;
}

.section-toggle:hover,
.section-toggle:focus-visible {
    border-color: var(--refresh-accent);
    background: rgba(202, 98, 255, 0.2);
    outline: none;
}

.section-toggle svg {
    width: 18px;
    height: 18px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 2;
    transition: transform 0.2s ease;
}

.section-toggle[aria-expanded="true"] svg {
    transform: rotate(180deg);
}

/* Product preview */
.product-preview-section {
    position: relative;
    overflow: hidden;
    background: #080216 !important;
}

.product-preview-heading {
    position: relative;
    max-width: 720px;
    margin: 0 auto 32px;
    text-align: center;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: 12px;
    color: #d991ff;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.product-preview-heading h2 {
    margin-bottom: 14px;
    font-size: clamp(2rem, 4vw, 3rem);
    letter-spacing: -0.035em;
}

.product-preview-heading p {
    margin: 0;
    color: var(--refresh-text-secondary);
    font-size: 1.05rem;
}

.product-preview-window {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    overflow: visible;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.product-preview-bar {
    display: none;
    height: 48px;
    align-items: center;
    gap: 8px;
    padding: 0 18px;
    border-bottom: 1px solid var(--refresh-border);
    background: rgba(255, 255, 255, 0.025);
}

.product-preview-bar span {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(218, 173, 255, 0.28);
}

.product-preview-bar strong {
    margin-left: auto;
    color: var(--refresh-text-muted);
    font-size: 0.72rem;
    letter-spacing: 0.12em;
}

.product-preview-tabs {
    display: none;
}

.product-preview-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 295px));
    justify-content: center;
    gap: 24px;
    padding: 0;
}

.product-preview-card {
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    text-align: center;
}


.product-preview-card img {
    display: block;
    width: 100%;
    max-width: 295px;
    height: auto;
    margin: 0 auto;
    border: 0;
    border-radius: 6px;
    image-rendering: auto;
}

.product-preview-card figcaption {
    margin-top: 12px;
    color: var(--refresh-text);
    font-size: 0.88rem;
    font-weight: 800;
}

.product-preview-note {
    margin: 18px auto 0 !important;
    text-align: center;
    font-size: 0.85rem;
}

/* Condensed SEO copy */
.features-content {
    background: #080216 !important;
}

.seo-copy-heading {
    max-width: 760px;
    margin: 0 auto 34px;
    text-align: center;
}

.seo-copy-heading > p {
    font-size: 1.05rem;
    line-height: 1.75 !important;
}

.seo-benefit-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.seo-benefit-card {
    position: relative;
    min-width: 0;
    padding: 26px;
    border: 1px solid var(--refresh-border);
    border-radius: var(--refresh-radius);
}

.seo-card-index {
    display: block;
    margin-bottom: 18px;
    color: #d991ff;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.16em;
}

.seo-benefit-card h3 {
    margin-bottom: 12px !important;
    color: var(--refresh-text) !important;
    font-size: 1.15rem !important;
}

.seo-benefit-card p,
.seo-benefit-card li {
    color: var(--refresh-text-secondary) !important;
    font-size: 0.94rem;
    line-height: 1.65;
}

.seo-benefit-card ul {
    margin: 14px 0 0;
    padding-left: 18px;
}

.seo-benefit-card li + li {
    margin-top: 8px;
}

.seo-benefit-card strong {
    display: inline-block;
    margin-top: 10px;
    color: #d991ff;
}

/* News and steps */
.news {
    background: #080216 !important;
}

#news .news-box {
    max-width: 980px !important;
    margin: 0 auto;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 0 !important;
    border-top: 1px solid var(--refresh-border);
    border-bottom: 1px solid var(--refresh-border);
}

#news .news-item {
    position: relative;
    display: grid;
    min-width: 0;
    grid-template-columns: 180px minmax(0, 1fr);
    align-self: stretch;
    padding: 0 !important;
    overflow: hidden;
    border: 0 !important;
    border-bottom: 1px solid var(--refresh-border) !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

#news .news-item:last-child {
    border-bottom: 0 !important;
}

.news-item::before {
    display: none;
}

#news .news-item-featured {
    border-left: 3px solid #8f3bb6 !important;
    background: #11081f !important;
}

#news .news-header {
    display: flex;
    min-width: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 7px;
    margin: 0 !important;
    padding: 15px 18px 15px 20px !important;
    border-right: 1px solid var(--refresh-border) !important;
    border-bottom: 0 !important;
    background: transparent !important;
}

.news-heading {
    min-width: 0;
}

.news-kicker {
    display: block;
    margin-bottom: 3px;
    color: #d991ff;
    font-size: 0.68rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.news-title {
    margin: 0 !important;
    font-size: 1.08rem !important;
}

.news-date {
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    color: var(--refresh-text-muted) !important;
    font-size: 0.76rem !important;
    font-variant-numeric: tabular-nums;
}

#news .news-content {
    align-self: start;
    padding: 15px 20px !important;
}

.news-section + .news-section {
    margin-top: 14px;
    padding-top: 14px;
    border-top: 1px solid rgba(210, 170, 245, 0.12);
}

.news-subtitle {
    margin-bottom: 7px !important;
    color: #e2b3ff !important;
    font-size: 0.88rem !important;
}

.news-text {
    color: var(--refresh-text-secondary) !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
}

.how-it-works-section {
    background: #080216 !important;
}

.steps-grid {
    gap: 16px !important;
}

.step-card {
    min-height: 0 !important;
    padding: 24px 20px !important;
    border: 1px solid var(--refresh-border) !important;
    border-radius: var(--refresh-radius) !important;
}

.step-card h3 {
    margin: 14px 0 8px !important;
    font-size: 1.05rem !important;
}

.step-card p {
    margin: 0 !important;
    font-size: 0.92rem;
}

/* Trust and reviews */
.social-proof {
    background: #080216 !important;
}

.proof-metrics {
    display: grid;
    max-width: 900px;
    margin: 0 auto 72px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    border: 1px solid var(--refresh-border);
    border-radius: 20px;
    background: rgba(202, 98, 255, 0.055);
}

.proof-metric {
    padding: 22px;
    text-align: center;
}

.proof-metric + .proof-metric {
    border-left: 1px solid var(--refresh-border);
}

.proof-metric strong {
    display: block;
    color: var(--refresh-text);
    font-size: clamp(1.6rem, 3vw, 2.25rem);
    line-height: 1.1;
}

.proof-metric span {
    display: block;
    margin-top: 7px;
    color: var(--refresh-text-muted);
    font-size: 0.84rem;
}

.testimonial-card {
    display: flex;
    min-height: 0 !important;
    flex-direction: column;
    padding: 24px !important;
    border: 1px solid var(--refresh-border) !important;
    border-radius: var(--refresh-radius) !important;
}

.testimonial-card p {
    font-size: 0.93rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: auto;
    padding-top: 18px;
    background: transparent !important;
    color: var(--refresh-text-muted);
    font-size: 0.84rem;
}

.testimonial-avatar {
    display: inline-flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--refresh-border-strong);
    border-radius: 50%;
    background: var(--refresh-accent-soft);
    color: #e0b0ff;
    font-weight: 800;
}

.reviews-source {
    display: flex;
    width: max-content;
    align-items: center;
    gap: 8px;
    margin: 24px auto 0;
    color: #d991ff !important;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Pricing */
.pricing-section {
    background: #080216 !important;
}

.pricing-explainer {
    max-width: 680px;
    margin: -12px auto 48px !important;
    color: var(--refresh-text-secondary) !important;
    text-align: center;
}

.pricing-group + .pricing-group {
    margin-top: 64px;
}

.pricing-group-title {
    margin-bottom: 24px !important;
    color: var(--refresh-text) !important;
    font-size: 1.2rem !important;
    text-align: center;
}

.pricing-section .grid {
    gap: 16px !important;
}

.pricing-license-grid {
    max-width: 920px;
    margin: 0 auto;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
}

.pricing-token-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr)) !important;
}

.pricing-section .card {
    min-height: 0 !important;
    padding: 24px 18px 18px !important;
    border: 1px solid var(--refresh-border) !important;
    border-radius: var(--refresh-radius) !important;
    transform: none !important;
}

.pricing-section .card:hover {
    transform: translateY(-3px) !important;
}

.pricing-section .card img {
    width: auto !important;
    max-width: 76px !important;
    height: 84px !important;
    margin-bottom: 14px !important;
    object-fit: contain;
}

.pricing-license-grid .card img {
    height: 96px !important;
}

.pricing-section .card h4 {
    margin-bottom: 7px !important;
    font-size: 1.05rem !important;
}

.pricing-section .card .price {
    margin-bottom: 6px !important;
    color: #e3b0ff !important;
    font-size: 1.1rem !important;
}

.plan-cost {
    margin-bottom: 6px !important;
    color: var(--refresh-text) !important;
    font-size: 0.88rem;
    font-weight: 700;
}

.pricing-section .card .meta {
    min-height: 22px;
    margin-bottom: 16px !important;
    font-size: 0.78rem !important;
}

.plan-cta {
    display: inline-flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    margin-top: auto;
    padding: 10px 12px;
    border: 1px solid #a75bc8;
    border-radius: 11px;
    background: #8f3bb6;
    color: #fff !important;
    font-size: 0.84rem;
    font-weight: 800;
    text-align: center;
}

.plan-cta:hover,
.plan-cta:focus-visible {
    box-shadow: 0 10px 28px rgba(177, 50, 237, 0.28);
    transform: translateY(-1px);
    outline: none;
}

.plan-cta-secondary {
    border-color: var(--refresh-border-strong);
    background: var(--refresh-accent-soft);
}

.plan-badge {
    top: -11px !important;
}

/* FAQ and final CTA */
.faq {
    background: #080216 !important;
}

.faq-box {
    max-width: 860px !important;
}

.faq-list {
    gap: 10px !important;
}

.faq-item {
    border: 1px solid var(--refresh-border) !important;
    border-radius: 14px !important;
}

.faq-toggle {
    min-height: 58px;
    padding: 15px 18px !important;
    color: var(--refresh-text) !important;
    font-size: 0.98rem !important;
}

.faq-content {
    padding: 0 18px 18px !important;
    font-size: 0.95rem;
}

.final-cta {
    padding: 80px 16px !important;
    background: #080216 !important;
}

.final-cta .section-name {
    margin-bottom: 20px !important;
}

.final-cta .section-name::after {
    display: none;
}

.final-cta p {
    color: var(--refresh-text-secondary) !important;
}

/* Keyboard focus */
a:focus-visible,
button:focus-visible,
input:focus-visible {
    outline: 3px solid rgba(219, 147, 255, 0.72);
    outline-offset: 3px;
}

@media (max-width: 991px) {
    .home {
        padding-top: 104px !important;
    }

    .home .container .hero-grid .hero-right {
        max-width: 520px;
        margin-right: auto;
        margin-left: auto;
    }

    .product-preview-grid,
    .seo-benefit-grid {
        grid-template-columns: 1fr;
    }

    .product-preview-grid {
        max-width: 430px;
        margin: 0 auto;
    }

    .product-preview-card img {
        width: 295px;
        max-width: 100%;
    }

    .feature-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .feature-grid-item:last-child:nth-child(3n + 1) {
        width: 100%;
        max-width: calc(50% - 7px);
        grid-column: 1 / -1;
        justify-self: center;
    }

    .pricing-token-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 767px) {
    body {
        font-size: 16px !important;
    }

    .panel-section,
    .why-hlbot-section,
    .how-it-works-section,
    .product-preview-section,
    .pricing-section {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }

    .home {
        padding: 80px 0 40px !important;
    }

    .home .container .hero-grid .hero-left h1 {
        font-size: clamp(2rem, 8.5vw, 2.45rem) !important;
    }

    .home .hero-subtitle {
        font-size: 1rem !important;
    }

    .hero-cta {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 8px !important;
    }

    .btn-hero {
        width: 100%;
        min-width: 0 !important;
        padding-right: 10px !important;
        padding-left: 10px !important;
    }

    .hero-trust {
        line-height: 1.5;
    }

    .auth-forms {
        margin-top: 20px !important;
    }

    .auth-form {
        padding: 20px 16px !important;
    }

    .home .auth-forms .auth-form .form-group {
        margin-bottom: 10px !important;
    }

    .form-label {
        margin-bottom: 4px;
    }

    .why-grid {
        grid-template-columns: 1fr !important;
        gap: 10px !important;
    }

    .why-box {
        padding: 14px !important;
    }

    .why-content {
        grid-template-columns: 36px minmax(0, 1fr);
        column-gap: 12px;
    }

    .why-icon {
        width: 36px;
        height: 36px;
        grid-row: 1;
    }

    .why-content h3 {
        margin-bottom: 5px !important;
        font-size: 1rem !important;
        align-self: center;
    }

    .why-content p {
        margin-top: 8px !important;
        grid-column: 1 / -1;
        font-size: 0.88rem;
        line-height: 1.5 !important;
    }

    .feature-grid,
    .news-list {
        grid-template-columns: 1fr;
    }

    #news .news-item {
        grid-template-columns: 1fr;
    }

    #news .news-header {
        gap: 6px;
        padding: 15px 18px 14px 20px !important;
        border-right: 0 !important;
        border-bottom: 1px solid var(--refresh-border) !important;
    }

    #news .news-content {
        padding: 16px 18px 18px 20px !important;
    }

    .feature-grid-item:last-child:nth-child(3n + 1) {
        width: auto;
        max-width: none;
        grid-column: auto;
    }

    #reviews .row {
        display: flex !important;
        flex-wrap: nowrap !important;
        gap: 14px !important;
        margin: 0 !important;
        padding-bottom: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    #reviews .row > .col-12 {
        flex: 0 0 86% !important;
        width: 86% !important;
        max-width: 86% !important;
        padding: 0 !important;
        scroll-snap-align: start;
    }

    .product-preview-heading {
        margin-bottom: 22px;
    }

    .product-preview-tabs {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: 6px;
        padding: 12px 12px 0;
    }

    .product-preview-tabs button {
        min-height: 44px;
        padding: 7px 5px;
        border: 0;
        border-bottom: 2px solid transparent;
        border-radius: 0;
        background: transparent;
        color: var(--refresh-text-muted);
        font: inherit;
        font-size: 0.76rem;
        font-weight: 700;
        cursor: pointer;
    }

    .product-preview-tabs button[aria-selected="true"] {
        border-bottom-color: var(--refresh-accent);
        background: transparent;
        color: var(--refresh-text);
    }

    .product-preview-grid {
        display: block;
        max-width: 320px;
        margin: 0 auto;
        padding: 0;
    }

    .product-preview-card {
        display: none;
        padding: 0;
    }

    .product-preview-card.is-active {
        display: block;
    }

    .product-preview-card figcaption {
        display: none;
    }

    .seo-benefit-grid {
        display: flex;
        gap: 14px;
        padding-bottom: 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .seo-benefit-card {
        flex: 0 0 86%;
        padding: 20px !important;
        scroll-snap-align: start;
    }

    .news-item {
        padding: 18px !important;
    }


    .steps-grid {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
        gap: 12px !important;
    }

    .step-card {
        padding: 18px 12px !important;
    }

    .proof-metrics {
        margin-bottom: 46px;
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .proof-metric {
        padding: 14px 8px;
    }

    .proof-metric + .proof-metric {
        border-top: 0;
        border-left: 1px solid var(--refresh-border);
    }

    .proof-metric strong {
        font-size: 1.35rem;
    }

    .proof-metric span {
        font-size: 0.72rem;
        line-height: 1.35;
    }

    .pricing-license-grid {
        display: flex !important;
        max-width: none;
        gap: 14px !important;
        padding: 12px 0 10px;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        scrollbar-width: thin;
    }

    .pricing-license-grid .plan-card {
        flex: 0 0 86%;
        scroll-snap-align: center;
    }

    .pricing-token-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pricing-section .card {
        padding: 18px 12px 14px !important;
    }

    .pricing-section .card .price,
    .plan-cost {
        font-size: 0.82rem !important;
    }

    .seo-benefit-card,
    .feature-card,
    .testimonial-card {
        padding: 20px !important;
    }

}

@media (max-width: 420px) {
    .hero-cta {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    .pricing-section .card img {
        height: 72px !important;
    }
}

@media (prefers-reduced-motion: reduce) {
    .feature-card,
    .pricing-section .card,
    .section-toggle svg,
    .password-toggle,
    .plan-cta {
        transition: none !important;
    }
}

/* One continuous surface: section boundaries use spacing and a hairline only. */
.home {
    border-bottom: 1px solid var(--refresh-border);
    background: #080216 !important;
    background-image: none !important;
}

.home::after {
    display: none !important;
}

#servers,
#why-hlbot,
#bot-functions,
#product-preview,
#features-content,
#news,
#how-it-works,
#reviews,
#pricing,
#faq,
#get-started {
    padding-top: 64px !important;
    padding-bottom: 64px !important;
}

@media (max-width: 767px) {
    #servers,
    #why-hlbot,
    #bot-functions,
    #product-preview,
    #features-content,
    #news,
    #how-it-works,
    #reviews,
    #pricing,
    #faq,
    #get-started {
        padding-top: 48px !important;
        padding-bottom: 48px !important;
    }
}

/* Keep HLBot's original artwork on one continuous, consistently spaced surface. */
html {
    background-color: #060112 !important;
}

body,
main {
    background-color: transparent !important;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
    background: url("https://hlbot.b-cdn.net/landing/bg-sub.webp") center / cover no-repeat !important;
    opacity: 0.19 !important;
}

.home {
    border-bottom: 0;
    background-color: #1a0628 !important;
    background-repeat: no-repeat !important;
    background-position: center center !important;
    background-size: cover !important;
}

.home::after {
    display: block !important;
    background: linear-gradient(to bottom, transparent 60%, #060112 100%) !important;
}

#servers,
#why-hlbot,
#bot-functions,
#product-preview,
#features-content,
#news,
#how-it-works,
#reviews,
#pricing,
#faq,
#get-started {
    background-color: transparent !important;
    background-image: none !important;
}

@media (min-width: 769px) and (max-width: 1500px) {
    .home {
        background-image: url("https://hlbot.b-cdn.net/landing/hlbot_header_1366w.webp") !important;
    }
}

@media (min-width: 1501px) and (max-width: 2200px) {
    .home {
        background-image: url("https://hlbot.b-cdn.net/landing/hlbot_header_1920w.webp") !important;
    }
}

@media (min-width: 2201px) {
    .home {
        background-image: url("https://hlbot.b-cdn.net/landing/hlbot_header_2560w.webp") !important;
    }
}

@media (max-width: 768px) {
    .home {
        background-image: none !important;
    }
}
