/* =========================
   HELP CENTER (Owner-like)
========================= */

:root {
    --text: #0b0f14;
    --muted: rgba(11, 15, 20, .68);
    --muted2: rgba(11, 15, 20, .50);

    --glass: rgba(255, 255, 255, .70);
    --glass2: rgba(255, 255, 255, .78);
    --border: rgba(255, 255, 255, .55);

    --shadow: 0 14px 40px rgba(0, 0, 0, .10);
    --shadow2: 0 10px 28px rgba(0, 0, 0, .08);
    --header-bg: none;
    --radius-lg: 18px;
    --radius-md: 14px;
    --radius-sm: 12px;
    --body-bg-rgb: 255, 255, 255;
    --header-image: url(https://downloads.intercomcdn.com/i/o/hp1vbc70/819548/8ce1c1b…/512be10….jpg);
    --max: 1120px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
    background: #fff;
    color: var(--text);
}

/* --------------------------------
   HEADER (top overlay like Owner)
--------------------------------- */
.help-header {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
}

.header-inner {
    max-width: var(--max);
    margin: 0 auto;
    padding: 18px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    height: 34px;
    width: auto;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 18px;
}

.login-link {
    font-size: 14px;
    font-weight: 500;
    color: #111;
    text-decoration: none;
    opacity: .9;
}

.login-link:hover {
    text-decoration: underline;
}

.lang-btn {
    border: 0;
    background: transparent;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #111;
    opacity: .9;
}

/* --------------------------------
   HERO
--------------------------------- */
.help-hero {
    position: relative;
    min-height: 520px;
    padding-top: 60px;
    /* space for header */
    background: url("../images/Rectangle 286 (1).png") center/cover no-repeat;
}

/* Owner-like: not fully white.
   Use subtle dark-to-light overlay so image stays visible */
.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(333.38% 100% at 50% 0%,
            rgba(var(--body-bg-rgb), 0) 0%,
            rgba(var(--body-bg-rgb), 0.01) 12%,
            rgba(var(--body-bg-rgb), 0.04) 22%,
            rgba(var(--body-bg-rgb), 0.08) 30%,
            rgba(var(--body-bg-rgb), 0.14) 36%,
            rgba(var(--body-bg-rgb), 0.22) 41%,
            rgba(var(--body-bg-rgb), 0.30) 45%,
            rgba(var(--body-bg-rgb), 0.40) 50%,
            rgba(var(--body-bg-rgb), 0.50) 55%,
            rgba(var(--body-bg-rgb), 0.60) 60%,
            rgba(var(--body-bg-rgb), 0.72) 66%,
            rgba(var(--body-bg-rgb), 0.85) 74%,
            rgba(var(--body-bg-rgb), 1) 100%),
        url("../images/Rectangle 286 (1).png"),
        rgb(var(--body-bg-rgb));

    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

/* Content column */
.hero-content {
    position: relative;
    max-width: var(--max);
    margin: 0 auto;
    padding: 110px 24px 0;
}

.hero-content h1 {
    font-size: 38px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 18px;
    color: #111;
}

/* --------------------------------
   Search bar (glass)
--------------------------------- */
.search-box {
    display: flex;
    align-items: center;
    gap: 12px;

    width: 100%;
    height: 54px;

    padding: 0 18px;
    border-radius: var(--radius-md);

    background: rgba(255, 255, 255, .55);
    border: 1px solid rgba(255, 255, 255, .60);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    box-shadow: var(--shadow2);
}

.search-box {
    background: rgba(255, 255, 255, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.65);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}


.search-box svg {
    width: 20px;
    height: 20px;
    stroke: rgba(11, 15, 20, .55);
    fill: none;
    stroke-width: 2;
    flex: 0 0 auto;
}

.search-box input {
    width: 100%;
    height: 100%;
    border: 0;
    outline: none;
    background: transparent;
    font-size: 16px;
    color: #111;
}

.search-box input::placeholder {
    color: rgba(11, 15, 20, .55);
}

/* --------------------------------
   Most viewed panel (glass)
--------------------------------- */
/* .popular-box {
    margin-top: 67px;
    border-radius: var(--radius-lg);
    padding: 22px 22px;

    background: rgb(255 255 255);
    border: 1px solid rgb(224 224 224 / 60%);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
} */
.popular-box {
    margin-top: 72px;
    border-radius: 20px;
    padding: 26px 28px;

    background: rgb(255 255 255);
    border: 1px solid rgb(230 231 231);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    /* box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.10); */
}

.popular-box h3 {
    font-size: 22px;
    font-weight: 800;
    letter-spacing: -0.01em;
    margin-bottom: 14px;
    color: #111;
}

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

.popular-links a {
    position: relative;
    text-decoration: none;
    color: #111;
    font-size: 15px;
    font-weight: 500;
    line-height: 1.25;
    /* padding-right: 22px; */
    padding: 20px;
}

.popular-links a::after {
    content: "›";
    position: absolute;
    right: 0;
    top: 0;
    color: #1d4ed8;
    font-size: 22px;
    line-height: 1;
    margin-top: 16px;
    padding-right: 5px;
}

.popular-links a:hover {
    background-color: #ddeff7;
    color: #006cf2;
    padding: 20px;
    font-size: 15px;
    border-radius: 10px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    -ms-border-radius: 10px;
    -o-border-radius: 10px;
}

/* --------------------------------
   CATEGORIES SECTION
--------------------------------- */
.categories {
    padding: 26px 24px 70px;
    background: #fff;
}

.categories-grid {
    max-width: var(--max);
    margin: 0 auto;

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

/* category card matches screenshot: white, thin border, soft shadow */
.category-card {
    background: #fff;
    border: 1px solid rgba(11, 15, 20, .10);
    border-radius: 25px;
    padding: 25px 36px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, .05);
    cursor: pointer;
    transition: transform .15s ease, box-shadow .15s ease;
    -webkit-border-radius: 25px;
    -moz-border-radius: 25px;
    -ms-border-radius: 25px;
    -o-border-radius: 25px;
}

.category-card:hover {
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, .07);
}

.category-card h4 {
    display: flex;
    align-items: center;
    gap: 10px;

    font-size: 16px;
    font-weight: 800;
    color: #111;
    margin-bottom: 6px;
}

.category-card p {
    font-size: 13px;
    color: rgba(11, 15, 20, .55);
    margin-left: 33px;
}

/* --------------------------------
   FOOTER
--------------------------------- */
.help-footer {
    padding: 44px 24px 60px;
    text-align: center;
    background: #fff;
}

.help-footer h3 {
    font-size: 30px;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 10px;
    color: #111;
}

.help-footer p {
    font-size: 14px;
    color: rgba(11, 15, 20, .65);
}

/* --------------------------------
   Responsive
--------------------------------- */
@media (max-width: 980px) {
    .popular-links {
        grid-template-columns: 1fr;
    }

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

    .hero-content {
        padding-top: 96px;
    }
}

@media (max-width: 640px) {
    .hero-content h1 {
        font-size: 32px;
    }

    .categories-grid {
        grid-template-columns: 1fr;
    }
}