/* =========================================================
   WEBPANDA PUBLIC HOME
   Public WHMCS homepage sections only.
   ========================================================= */

/* =========================================================
   WEBPANDA HOMEPAGE
   Domain Search Hero
   ========================================================= */

.webpanda-domain-hero {
    position: relative;
    overflow: hidden;
    padding: 78px 0 72px;
    background:
        radial-gradient(
            circle at 18% 20%,
            rgba(141, 210, 0, 0.12),
            transparent 28%
        ),
        radial-gradient(
            circle at 82% 18%,
            rgba(141, 210, 0, 0.14),
            transparent 32%
        ),
        radial-gradient(
            circle at 50% 100%,
            rgba(141, 210, 0, 0.08),
            transparent 40%
        ),
        linear-gradient(
            135deg,
            rgba(7, 10, 14, 0.42),
            rgba(14, 20, 18, 0.42)
        ),
        url("https://cloudpanda.co.za/templates/twenty-one-child/images/domain-hero-bg.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #FFFFFF;
}

.webpanda-domain-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            to bottom,
            rgba(0, 0, 0, 0.10),
            rgba(0, 0, 0, 0.18)
        ),
        radial-gradient(
            circle at center,
            rgba(255, 255, 255, 0.05),
            transparent 55%
        );
    pointer-events: none;
}

.webpanda-domain-hero .container {
    position: relative;
    z-index: 2;
}

/* Hero content */

.webpanda-domain-hero-inner {
    max-width: 940px;
    margin: 0 auto;
    text-align: center;
}

/* Eyebrow */

/* Heading */

.webpanda-domain-copy h1 {
    margin: 0 0 16px;
    color: #FFFFFF;
    font-family: "Montserrat", sans-serif;
    font-size: 46px;
    font-weight: 700;
    line-height: 1.15;
}

/* Supporting text */

.webpanda-domain-copy p {
    max-width: 650px;
    margin: 0 auto 34px;
    color: rgba(255, 255, 255, 0.68);
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    font-weight: 400;
    line-height: 1.7;
}

/* =========================================================
   Search Box
   ========================================================= */

.webpanda-domain-search {
    display: flex;
    width: 100%;
    padding: 7px;
    background: #FFFFFF;
    border-radius: 14px;
    box-shadow:
        0 14px 40px rgba(0, 0, 0, 0.22);
}

.webpanda-domain-search .form-control {
    flex: 1;
    height: 54px;
    padding: 0 18px;
    background: transparent;
    color: var(--wp-text);
    border: 0;
    border-radius: 10px;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    box-shadow: none !important;
}

.webpanda-domain-search .form-control:focus {
    border: 0;
    outline: 0;
    box-shadow: none !important;
}

.webpanda-domain-search .form-control::placeholder {
    color: #92989E;
}

/* Search button */

.webpanda-domain-search-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 135px;
    height: 54px;
    padding: 0 22px;
    background: var(--wp-green) !important;
    color: #000000 !important;
    border: 0 !important;
    border-radius: 10px !important;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 600;
    box-shadow: none !important;
    transition:
        background-color 0.2s ease,
        transform 0.2s ease;
}

.webpanda-domain-search-button:hover,
.webpanda-domain-search-button:focus {
    background: var(--wp-green-hover) !important;
    color: #000000 !important;
    transform: translateY(-1px);
    box-shadow: none !important;
}

/* =========================================================
   Secondary Domain Actions
   ========================================================= */

.webpanda-domain-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    margin-top: 20px;
}

.webpanda-domain-text-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 0;
    background: transparent;
    color: rgba(255, 255, 255, 0.72);
    border: 0;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: color 0.2s ease;
}

.webpanda-domain-text-link:hover,
.webpanda-domain-text-link:focus {
    background: transparent;
    color: var(--wp-green);
    text-decoration: none;
    outline: 0;
}

.webpanda-domain-text-link i {
    font-size: 10px;
}

/* =========================================================
   Featured TLDs
   ========================================================= */

.webpanda-featured-tlds {
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 12px;
    margin-top: 34px;
}

.webpanda-tld {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-width: 180px;
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.10);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.82);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
}

.webpanda-tld img {
    width: auto;
    max-width: 65px;
    max-height: 25px;
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {
    .webpanda-domain-hero {
        padding: 64px 0 60px;
    }
    .webpanda-domain-copy h1 {
        font-size: 40px;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .webpanda-domain-hero {
        padding: 52px 0;
    }
    .webpanda-domain-hero-inner {
        text-align: left;
    }
    .webpanda-eyebrow {
        margin-bottom: 12px;
    }
    .webpanda-domain-copy h1 {
        font-size: 34px;
        line-height: 1.18;
    }
    .webpanda-domain-copy p {
        margin: 0 0 28px;
        font-size: 15px;
    }
    .webpanda-domain-search {
        flex-direction: column;
        gap: 7px;
    }
    .webpanda-domain-search .form-control {
        width: 100%;
    }
    .webpanda-domain-search-button {
        width: 100%;
    }
    .webpanda-domain-actions {
        align-items: flex-start;
        justify-content: flex-start;
        flex-direction: column;
        gap: 12px;
    }
    .webpanda-featured-tlds {
        align-items: stretch;
        flex-direction: column;
    }
    .webpanda-tld {
        justify-content: space-between;
        width: 100%;
    }
}

/* =========================================================
   WEBPANDA SERVICES SECTION
   ========================================================= */

.webpanda-services-section {
    padding: 82px 0 88px;
}

.webpanda-section-heading {
    max-width: 760px;
    margin: 0 auto 46px;
    text-align: center;
}

.webpanda-section-heading h2 {
    margin: 0 0 14px;
    color: #1E2228;
    font-family: "Montserrat", sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.15;
}

.webpanda-section-heading p {
    margin: 0;
    color: #6E7681;
    font-family: "Montserrat", sans-serif;
    font-size: 17px;
    line-height: 1.7;
}

/* Grid */
.webpanda-service-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* Card */
.webpanda-service-card {
    display: flex;
    flex-direction: column;
    min-height: 100%;
    padding: 34px 30px 30px;
    background: #FFFFFF;
    border: 1px solid #E5E8EC;
    border-radius: 20px;
    box-shadow: 0 14px 36px rgba(17, 20, 24, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.webpanda-service-card:hover {
    transform: translateY(-6px);
    border-color: rgba(141, 210, 0, 0.45);
    box-shadow: 0 20px 45px rgba(17, 20, 24, 0.12);
}

/* Image icon */
.webpanda-service-art {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 22px;
}

.webpanda-service-art img {
    width: 118px;
    max-width: 100%;
    height: auto;
    display: block;
}

/* Label */
.webpanda-service-label {
    display: block;
    margin-bottom: 10px;
    color: #8DD200;
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

/* Title */
.webpanda-service-card h3 {
    margin: 0 0 14px;
    color: #1E2228;
    font-family: "Montserrat", sans-serif;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.2;
}

/* Description */
.webpanda-service-card p {
    margin: 0 0 28px;
    color: #687078;
    font-family: "Montserrat", sans-serif;
    font-size: 15px;
    line-height: 1.75;
}

/* Button */
.webpanda-service-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    margin-top: auto;
    padding: 14px 18px;
    background: #8DD200;
    color: #111418 !important;
    border-radius: 12px;
    font-family: "Montserrat", sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: background-color 0.2s ease, transform 0.2s ease;
}

.webpanda-service-button:hover,
.webpanda-service-button:focus {
    background: #A7F000;
    color: #111418 !important;
    text-decoration: none !important;
    transform: translateY(-1px);
}

.webpanda-service-button i {
    font-size: 11px;
}

/* Tablet */
@media (max-width: 991px) {
    .webpanda-service-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .webpanda-section-heading h2 {
        font-size: 36px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .webpanda-services-section {
        padding: 58px 0 62px;
    }
    .webpanda-section-heading {
        text-align: left;
        margin-bottom: 34px;
    }
    .webpanda-section-heading h2 {
        font-size: 30px;
    }
    .webpanda-section-heading p {
        font-size: 15px;
    }
    .webpanda-service-grid {
        grid-template-columns: 1fr;
    }
    .webpanda-service-card {
        padding: 28px 24px 24px;
    }
    .webpanda-service-art img {
        width: 96px;
    }
    .webpanda-service-card h3 {
        font-size: 28px;
    }
}

/* =========================================================
   WEBPANDA HOMEPAGE
   Help Section
   ========================================================= */

.webpanda-help-section {
    padding: 82px 32px 88px;
    background:
        radial-gradient(
            circle at 15% 0%,
            rgba(141, 210, 0, 0.10),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 100%,
            rgba(141, 210, 0, 0.06),
            transparent 32%
        ),
        #111418;
}

/* Heading */

.webpanda-help-section .webpanda-section-heading h2 {
    color: #FFFFFF;
}

.webpanda-help-section .webpanda-section-heading p {
    color: rgba(255, 255, 255, 0.62);
}

/* =========================================================
   Help Grid
   ========================================================= */

.webpanda-help-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

/* =========================================================
   Help Card
   ========================================================= */

.webpanda-help-card {
    display: grid;
    grid-template-columns: auto 1fr auto;
    align-items: center;
    gap: 20px;
    min-height: 150px;
    padding: 28px;
    background: rgba(255, 255, 255, 0.045);
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 16px;
    color: #FFFFFF !important;
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease,
        border-color 0.2s ease;
}

.webpanda-help-card:hover,
.webpanda-help-card:focus {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.07);
    border-color: rgba(141, 210, 0, 0.50);
    color: #FFFFFF !important;
    text-decoration: none !important;
}

/* Icon */

.webpanda-help-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: rgba(141, 210, 0, 0.11);
    color: var(--wp-green);
    border: 1px solid rgba(141, 210, 0, 0.20);
    border-radius: 14px;
    font-size: 24px;
}

/* Content */

.webpanda-help-content h3 {
    margin: 0 0 8px;
    color: #FFFFFF;
    font-family: "Montserrat", sans-serif;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.25;
}

.webpanda-help-content p {
    margin: 0;
    color: rgba(255, 255, 255, 0.58);
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.65;
}

/* Arrow */

.webpanda-help-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    color: var(--wp-green);
    border-radius: 50%;
    font-size: 12px;
    transition:
        transform 0.2s ease,
        background-color 0.2s ease;
}

.webpanda-help-card:hover .webpanda-help-arrow {
    transform: translateX(3px);
    background: rgba(141, 210, 0, 0.10);
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 991px) {
    .webpanda-help-section {
        padding: 68px 24px 72px;
    }
    .webpanda-help-grid {
        grid-template-columns: 1fr;
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .webpanda-help-section {
        padding: 54px 18px 58px;
    }
    .webpanda-help-card {
        grid-template-columns: auto 1fr;
        gap: 16px;
        padding: 22px;
    }
    .webpanda-help-icon {
        width: 50px;
        height: 50px;
        font-size: 21px;
    }
    .webpanda-help-arrow {
        display: none;
    }
    .webpanda-help-content h3 {
        font-size: 17px;
    }
}

/* =========================================================
   WEBPANDA HOMEPAGE
   Account Section
   ========================================================= */

.webpanda-account-section {
    padding: 82px 0 90px;
}

/* =========================================================
   Account Grid
   ========================================================= */

.webpanda-account-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

/* =========================================================
   Account Card
   ========================================================= */

.webpanda-account-card {
    display: flex;
    flex-direction: column;
    min-height: 260px;
    padding: 26px;
    background: #FFFFFF;
    color: var(--wp-text) !important;
    border: 1px solid var(--wp-border);
    border-radius: 16px;
    box-shadow: 0 10px 28px rgba(17, 20, 24, 0.05);
    text-decoration: none !important;
    transition:
        transform 0.2s ease,
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}

.webpanda-account-card:hover,
.webpanda-account-card:focus {
    transform: translateY(-4px);
    border-color: rgba(141, 210, 0, 0.55);
    box-shadow: 0 16px 38px rgba(17, 20, 24, 0.10);
    color: var(--wp-text) !important;
    text-decoration: none !important;
}

/* Icon */

.webpanda-account-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    margin-bottom: 22px;
    background: rgba(141, 210, 0, 0.11);
    color: var(--wp-green);
    border-radius: 13px;
    font-size: 22px;
}

/* Heading */

.webpanda-account-card h3 {
    margin: 0 0 10px;
    color: #1E2228;
    font-family: "Montserrat", sans-serif;
    font-size: 18px;
    font-weight: 700;
    line-height: 1.3;
}

/* Description */

.webpanda-account-card p {
    margin: 0 0 24px;
    color: #737B84;
    font-family: "Montserrat", sans-serif;
    font-size: 13px;
    line-height: 1.65;
}

/* Bottom link */

.webpanda-account-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: auto;
    color: var(--wp-green);
    font-family: "Montserrat", sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.webpanda-account-link i {
    font-size: 9px;
    transition: transform 0.2s ease;
}

.webpanda-account-card:hover .webpanda-account-link i {
    transform: translateX(3px);
}

/* =========================================================
   Tablet
   ========================================================= */

@media (max-width: 1199px) {
    .webpanda-account-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 991px) {
    .webpanda-account-section {
        padding: 68px 0 72px;
    }
    .webpanda-account-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* =========================================================
   Mobile
   ========================================================= */

@media (max-width: 767px) {
    .webpanda-account-section {
        padding: 54px 0 60px;
    }
    .webpanda-account-grid {
        grid-template-columns: 1fr;
    }
    .webpanda-account-card {
        min-height: 0;
        padding: 24px;
    }
}
