/* ============================================================
   WebFulHost - Additional Styles (Light Theme)
   ============================================================ */

/* ==============================================================
   HOSTING PLAN COMPARISON TABLE
   ============================================================== */
.comparison-table-wrap {
    overflow-x: auto;
    margin: 3rem auto;
    max-width: 1020px;
    border-radius: var(--radius-xl);
    border: 1.5px solid var(--border-color);
    box-shadow: var(--shadow-md);
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
}

.comparison-table thead {
    background: var(--accent-gradient);
    color: white;
}

.comparison-table th {
    padding: 1.1rem 1.5rem;
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: -0.01em;
}

.comparison-table th:first-child { text-align: left; }

.comparison-table td {
    padding: 0.88rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
    transition: background 0.2s;
}

.comparison-table td:first-child {
    text-align: left;
    font-weight: 600;
    color: var(--text-primary);
}

.comparison-table tbody tr:hover {
    background: rgba(90, 79, 243, 0.03);
}

.comparison-table .check-yes {
    color: var(--success);
    font-weight: 700;
    font-size: 1.1rem;
}

.comparison-table .check-no {
    color: var(--text-muted);
    font-size: 1.1rem;
}

/* ==============================================================
   EXIT-INTENT POPUP
   ============================================================== */
.exit-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(10, 8, 32, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
}

.exit-popup-overlay.active {
    display: flex;
}

.exit-popup {
    background: var(--bg-card);
    border: 1.5px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: 3rem 2.5rem;
    max-width: 450px;
    width: 100%;
    text-align: center;
    position: relative;
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.22);
    animation: popupIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes popupIn {
    from { opacity: 0; transform: translateY(24px) scale(0.93); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

.exit-popup-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    font-size: 1.3rem;
    cursor: pointer;
    color: var(--text-muted);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.22s;
}

.exit-popup-close:hover {
    background: var(--danger-light);
    color: var(--danger);
    border-color: transparent;
    transform: rotate(90deg);
}

.exit-popup h3 {
    font-size: 1.55rem;
    font-weight: 900;
    margin-bottom: 0.8rem;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.03em;
}

.exit-popup p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 1.5rem;
    line-height: 1.75;
}

.exit-popup .discount-code {
    display: inline-block;
    padding: 0.65rem 2rem;
    background: rgba(90, 79, 243, 0.06);
    border: 2px dashed var(--accent-primary);
    border-radius: var(--radius-md);
    font-size: 1.35rem;
    font-weight: 900;
    letter-spacing: 0.12em;
    color: var(--accent-primary);
    margin-bottom: 1.6rem;
    cursor: pointer;
    transition: background 0.25s;
}

.exit-popup .discount-code:hover {
    background: rgba(90, 79, 243, 0.1);
}

/* ==============================================================
   INITIALS AVATAR
   ============================================================== */
.avatar-initials {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 1.1rem;
    color: white;
    flex-shrink: 0;
    background: var(--accent-gradient);
    box-shadow: 0 4px 14px rgba(90, 79, 243, 0.3);
}
section.section.datacenter-section img.datacenter-map.reveal-scale.visible {
    background-color: #ffffffdb;
}

.footer-social {
    display: none !important;
}

/* ============================================================
   HOMEPAGE HERO - focused conversion layout
   ============================================================ */
.hero-content {
    max-width: 1180px;
    min-width: 0;
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(420px, 0.95fr);
    align-items: center;
    gap: clamp(3rem, 7vw, 7rem);
    text-align: left;
}

.hero-copy {
    min-width: 0;
    max-width: 100%;
}

.hero-copy .hero-badge {
    margin-bottom: 1.7rem;
}

.hero-copy h1 {
    max-width: 650px;
}

.hero-copy .hero-subtitle {
    max-width: 590px;
    margin: 0 0 1.6rem;
}

.hero-proof-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.7rem 1.2rem;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.82rem;
    font-weight: 600;
}

.hero-proof-row span {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
}

.hero-proof-row .icon {
    color: #7dd3fc;
}

.hero-utility {
    position: relative;
    min-width: 0;
    max-width: 100%;
    padding: 1.65rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-xl);
    background: rgba(255, 255, 255, 0.09);
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.26), inset 0 1px 0 rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    animation: fadeSlideUp 0.8s ease both 0.45s;
}

.hero-utility::before {
    content: '';
    position: absolute;
    inset: 1px;
    border-radius: calc(var(--radius-xl) - 1px);
    background: linear-gradient(135deg, rgba(255,255,255,0.1), transparent 42%);
    pointer-events: none;
}

.hero-utility > * {
    position: relative;
    z-index: 1;
}

.hero-utility-heading {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.hero-utility-kicker {
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
}

.hero-utility-note {
    color: rgba(255, 255, 255, 0.56);
    font-size: 0.72rem;
    text-align: right;
}

.hero-utility .domain-search {
    max-width: none;
    margin: 0;
}

.hero-utility .domain-input-wrap,
.hero-utility .domain-search input {
    min-width: 0;
}

.hero-utility .domain-search button {
    padding-right: 1.65rem;
    padding-left: 1.65rem;
}

.hero-utility .hero-domain-alt {
    justify-content: flex-start;
    margin-top: 0.9rem;
}

.hero-utility .tld-pills {
    justify-content: flex-start;
    margin-top: 1.2rem;
}

@media (max-width: 900px) {
    .hero-content {
        grid-template-columns: minmax(0, 1fr);
        gap: 2.5rem;
        text-align: center;
    }

    .hero-copy .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-proof-row,
    .hero-utility .hero-domain-alt,
    .hero-utility .tld-pills {
        justify-content: center;
    }

    .hero-utility {
        width: 100%;
        max-width: 680px;
        margin: 0 auto;
    }
}

@media (max-width: 520px) {
    .hero-utility {
        padding: 1.15rem;
        border-radius: var(--radius-lg);
    }

    .hero-utility .tld-pills {
        flex-wrap: wrap;
        max-width: 100%;
        overflow: hidden;
    }

    .hero-utility .tld-pill {
        flex: 0 1 auto;
    }

    .hero-utility-heading {
        display: block;
        text-align: left;
    }

    .hero-utility-note {
        display: block;
        margin-top: 0.25rem;
        text-align: left;
    }

    .hero-proof-row {
        justify-content: flex-start;
        text-align: left;
    }
}

/* ============================================================
   HOMEPAGE TOUCH SLIDERS - tablet and mobile
   ============================================================ */
@media (max-width: 1024px) {
    .hero-utility .tld-pills,
    .stats-bar,
    #services-container,
    .tld-pricing-grid,
    .testimonials-grid {
        display: flex;
        flex-wrap: nowrap;
        flex-direction: row;
        justify-content: flex-start;
        align-items: stretch;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        overscroll-behavior-x: contain;
    }

    .hero-utility .tld-pills::-webkit-scrollbar,
    .stats-bar::-webkit-scrollbar,
    #services-container::-webkit-scrollbar,
    .tld-pricing-grid::-webkit-scrollbar,
    .testimonials-grid::-webkit-scrollbar {
        display: none;
    }

    .hero-utility .tld-pills {
        width: 100%;
        max-width: 100%;
        margin-right: 0;
        margin-left: 0;
        padding-right: 0.25rem;
        padding-left: 0.25rem;
        gap: 0.55rem;
    }

    .hero-utility .tld-pill {
        flex: 0 0 auto;
        scroll-snap-align: start;
    }

    .stats-bar {
        justify-content: flex-start;
        gap: 0;
    }

    .stats-bar .stat-item {
        flex: 0 0 clamp(190px, 28vw, 250px);
        width: auto;
        scroll-snap-align: start;
    }

    #services-container {
        gap: 1rem;
        padding: 0 5%;
        scroll-padding-inline: 5%;
    }

    #services-container > * {
        flex: 0 0 clamp(300px, 72vw, 390px);
        scroll-snap-align: start;
    }

    .tld-pricing-grid {
        justify-content: flex-start;
        gap: 0.9rem;
        padding: 0 5%;
        scroll-padding-inline: 5%;
    }

    .tld-pricing-grid .tld-price-card {
        flex: 0 0 clamp(155px, 28vw, 190px);
        width: auto;
        max-width: none;
        scroll-snap-align: start;
    }

    .testimonials-grid {
        grid-template-columns: none;
        gap: 1rem;
        padding: 0 5%;
        scroll-padding-inline: 5%;
    }

    .testimonials-grid .testimonial-card {
        flex: 0 0 clamp(300px, 72vw, 390px);
        scroll-snap-align: start;
    }
}

/* ============================================================
   HOMEPAGE HERO - light editorial reference layout
   ============================================================ */
.hero {
    min-height: 720px;
    padding: 8.5rem 5% 5rem;
    background: #f7faff;
    color: #101d45;
}

.hero::before {
    background:
        radial-gradient(ellipse 60% 75% at 88% 25%, rgba(147, 197, 253, 0.28) 0%, transparent 62%),
        radial-gradient(ellipse 50% 60% at 12% 90%, rgba(219, 234, 254, 0.9) 0%, transparent 68%);
    animation: none;
}

.hero::after {
    opacity: 0.12;
}

.hero-bg-glow,
.hero-particles,
.hero-shapes {
    opacity: 0;
}

.hero-content {
    max-width: 1180px;
    grid-template-columns: minmax(0, 0.95fr) minmax(430px, 1.05fr);
    gap: clamp(3rem, 7vw, 7rem);
    text-align: left;
}

.hero-copy .hero-badge {
    background: #e9f2ff;
    border-color: #c9defa;
    color: #2563eb;
    box-shadow: none;
}

.hero-copy .hero-badge::before {
    background: #16a34a;
    box-shadow: 0 0 8px rgba(22, 163, 74, 0.45);
}

.hero h1 {
    max-width: 620px;
    margin-bottom: 1.4rem;
    color: #101d45;
    font-size: clamp(3rem, 5.8vw, 5.4rem);
    line-height: 1.03;
    letter-spacing: -0.045em;
    text-shadow: none;
}

.hero .gradient-text {
    background: linear-gradient(135deg, #2563eb 0%, #3b82f6 100%);
    background-clip: text;
    -webkit-background-clip: text;
}

.hero-copy .hero-subtitle {
    max-width: 610px;
    margin: 0 0 1.8rem;
    color: #53617f;
    font-size: 1.12rem;
    line-height: 1.7;
}

.hero-proof-row {
    display: grid;
    gap: 0.75rem;
    color: #24365e;
    font-size: 0.98rem;
}

.hero-proof-row span {
    gap: 0.7rem;
}

.hero-proof-row .icon {
    width: 20px;
    height: 20px;
    padding: 3px;
    border-radius: 50%;
    color: #0f9f6e;
    background: #dff8ed;
}

.hero-actions {
    margin-top: 2rem;
}

.hero-primary-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem 1.8rem;
    border-radius: 12px;
    background: #2563eb;
    color: #fff;
    font-size: 1rem;
    font-weight: 800;
    box-shadow: 0 14px 28px rgba(37, 99, 235, 0.24);
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.hero-primary-cta:hover,
.hero-primary-cta:focus-visible {
    color: #fff;
    background: #1d4ed8;
    transform: translateY(-2px);
    box-shadow: 0 18px 34px rgba(37, 99, 235, 0.3);
    outline: none;
}

.hero-utility {
    padding: 0;
    border: 0;
    background: transparent;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
    animation: none;
}

.hero-utility::before {
    display: none;
}

.hero-showcase {
    position: relative;
    min-height: 355px;
    margin-bottom: 1.5rem;
}

.hero-network-art {
    position: absolute;
    top: 2.4rem;
    right: 0;
    width: min(100%, 560px);
    height: 250px;
    object-fit: cover;
    border-radius: 26px;
    opacity: 0.92;
    box-shadow: 0 22px 55px rgba(37, 99, 235, 0.13);
}

.hero-offer-card {
    position: absolute;
    z-index: 2;
    top: 0;
    left: 0;
    width: 270px;
    padding: 1.4rem 1.5rem;
    border-radius: 18px;
    background: #1553a4;
    color: #fff;
    box-shadow: 0 20px 42px rgba(21, 83, 164, 0.22);
}

.hero-offer-label,
.hero-offer-note {
    display: block;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.72rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.hero-offer-card strong {
    display: block;
    margin: 0.7rem 0 0.85rem;
    font-size: 2rem;
    line-height: 1.05;
}

.hero-offer-card em {
    color: #8ec5ff;
    font-style: normal;
}

.hero-metric {
    position: absolute;
    z-index: 3;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 155px;
    padding: 1rem 1.15rem;
    border: 1px solid rgba(255, 255, 255, 0.72);
    border-radius: 16px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 16px 35px rgba(34, 55, 104, 0.14);
    backdrop-filter: blur(10px);
}

.hero-metric strong {
    color: #142452;
    font-size: 1.45rem;
    line-height: 1;
}

.hero-metric span {
    color: #6a7897;
    font-size: 0.75rem;
}

.hero-metric-domains {
    bottom: 0.2rem;
    left: 0.7rem;
}

.hero-metric-uptime {
    right: 0.2rem;
    bottom: -0.6rem;
}

.hero-utility-heading {
    color: #142452;
}

.hero-utility-kicker {
    color: #142452;
}

.hero-utility-note {
    color: #6a7897;
}

.hero-utility .domain-search {
    box-shadow: 0 12px 28px rgba(40, 68, 122, 0.12), 0 0 0 1px #dbe7f8;
}

.hero-utility .hero-domain-alt {
    color: #61708d;
}

.hero-utility .tld-pill {
    color: #53617f;
    background: rgba(255, 255, 255, 0.78);
    border-color: #d5e3f6;
    box-shadow: 0 4px 12px rgba(57, 86, 137, 0.06);
}

.hero-utility .tld-pill strong {
    color: #2563eb;
}

.hero-utility .tld-pill:hover {
    color: #142452;
    background: #ffffff;
    border-color: #93c5fd;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.13);
}

.hero-utility .btn-skip-domain {
    color: #2563eb;
}

@media (max-width: 900px) {
    .hero {
        min-height: auto;
        padding-top: 7.5rem;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-copy .hero-subtitle {
        margin-left: auto;
        margin-right: auto;
    }

    .hero-proof-row {
        justify-items: center;
        text-align: left;
        width: fit-content;
        max-width: 100%;
        margin: 0 auto;
    }

    .hero-showcase {
        width: min(100%, 560px);
        margin: 0 auto 1.5rem;
    }
}

@media (max-width: 520px) {
    .hero h1 {
        font-size: 2.75rem;
    }

    .hero-showcase {
        min-height: 300px;
    }

    .hero-network-art {
        top: 2.2rem;
        height: 205px;
    }

    .hero-offer-card {
        width: 215px;
        padding: 1rem;
    }

    .hero-offer-card strong {
        font-size: 1.5rem;
    }

    .hero-metric {
        min-width: 125px;
        padding: 0.75rem 0.85rem;
    }

    .hero-metric strong {
        font-size: 1.1rem;
    }

    .hero-metric-domains {
        left: 0;
    }

    .hero-metric-uptime {
        right: 0;
    }
}

@media (max-width: 520px) {
    .hero-utility .tld-pills {
        flex-wrap: nowrap;
        overflow-x: auto;
        justify-content: flex-start;
        margin: 1.2rem 0 0;
        padding: 0.35rem 0.1rem 0.5rem;
    }

    .stats-bar .stat-item {
        flex-basis: 78vw;
    }

    #services-container {
        padding-left: 5%;
        padding-right: 5%;
    }

    #services-container > *,
    .testimonials-grid .testimonial-card {
        flex-basis: 82vw;
    }

    .tld-pricing-grid {
        padding-left: 5%;
        padding-right: 5%;
    }

    .tld-pricing-grid .tld-price-card {
        flex-basis: 62vw;
    }
}

/* Keep the homepage offer and its next steps together in the first screen. */
.hero {
    min-height: 0;
    padding-top: clamp(6.5rem, 9vw, 8rem);
    padding-bottom: clamp(3.5rem, 6vw, 5rem);
}

.hero-content {
    gap: clamp(2rem, 5vw, 5rem);
}

.hero h1 {
    max-width: 620px;
    font-size: clamp(2.9rem, 5vw, 4.5rem);
    line-height: 1.08;
}

.hero-copy .hero-subtitle {
    margin-bottom: 1.35rem;
    font-size: 1.05rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1rem 1.5rem;
    margin-top: 1.6rem;
}

.hero-secondary-cta {
    color: #1d4ed8;
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.hero-secondary-cta:hover,
.hero-secondary-cta:focus-visible {
    color: #123a96;
}

.hero-showcase {
    min-height: 270px;
    margin-bottom: 1.25rem;
}

.hero-network-art {
    top: 1.5rem;
    height: 205px;
}

.hero-offer-card {
    width: 245px;
    padding: 1.15rem 1.25rem;
}

.hero-offer-card strong {
    font-size: 1.7rem;
}

.hero-utility #domain-result:empty,
#domain-result-2:empty {
    display: none;
}

@media (max-width: 900px) {
    .hero-content {
        gap: 2rem;
    }

    .hero-actions {
        justify-content: center;
    }
}

@media (max-width: 640px) {
    .hero {
        padding-top: 6.5rem;
    }

    .hero h1 {
        font-size: clamp(2.35rem, 10vw, 2.9rem);
    }

    .hero-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .hero-primary-cta {
        justify-content: center;
    }

    .hero-showcase {
        display: none;
    }
}

/* ============================================================
   HOMEPAGE SLIDER CONTROLS
   ============================================================ */
.homepage-slider-shell {
    width: 100%;
    min-width: 0;
}

.homepage-slider-controls {
    display: none;
}

.features-toggle {
    align-self: flex-start;
    margin: -1.25rem 0 1.5rem;
    padding: 0;
    border: 0;
    background: transparent;
    color: var(--accent-primary);
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.features-toggle:hover,
.features-toggle:focus-visible {
    color: var(--accent-secondary);
    outline: none;
}

@media (max-width: 1024px) {
    .homepage-slider-controls {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 0.8rem;
        padding-top: 1rem;
    }

    .homepage-slider-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 2.4rem;
        height: 2.4rem;
        border: 1px solid var(--border-accent);
        border-radius: 50%;
        background: var(--bg-card);
        color: var(--accent-primary);
        font-size: 1.25rem;
        line-height: 1;
        cursor: pointer;
        box-shadow: var(--shadow-sm);
        transition: transform var(--transition-fast), background var(--transition-fast), color var(--transition-fast);
    }

    .homepage-slider-button:hover,
    .homepage-slider-button:focus-visible {
        background: var(--accent-gradient);
        color: #fff;
        transform: translateY(-2px);
        outline: none;
    }

    .homepage-slider-progress {
        width: 2.5rem;
        height: 0.25rem;
        border-radius: var(--radius-pill);
        background: var(--border-color);
    }

    .homepage-slider-progress::after {
        content: '';
        display: block;
        width: 50%;
        height: 100%;
        border-radius: inherit;
        background: var(--accent-gradient);
    }

    .stats-bar + .trusted-bar {
        position: relative;
    }
}
