/* Global WebFulHost site — global-only components on top of the shared brand system. */

main#main-content {
    display: block;
}
main#main-content.auth-page {
    display: flex;
}

/* --- Region selector (header) --- */
.btn-region {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s, background 0.2s;
    white-space: nowrap;
}
.btn-region:hover {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
    background: var(--bg-secondary);
}
.btn-region .icon {
    color: var(--accent-primary);
}

/* --- Global hero (home + service intros) --- */
.hero-global {
    position: relative;
    overflow: hidden;
}
.hero-global-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #07061a 0%, #0e0b2e 45%, #151a4d 100%);
}
.hero-global-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 30%, rgba(90, 79, 243, 0.35), transparent 40%),
        radial-gradient(circle at 80% 20%, rgba(37, 99, 235, 0.3), transparent 40%),
        radial-gradient(circle at 60% 90%, rgba(124, 58, 237, 0.15), transparent 45%);
    animation: aurora-drift 14s ease-in-out infinite alternate;
}
.hero-global-bg::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: url("../images/bg-network.jpg");
    background-size: cover;
    background-position: center;
    opacity: 0.14;
    mix-blend-mode: screen;
}
.hero-global .hero-inner,
.hero-global .container {
    position: relative;
    z-index: 2;
}

/* Share the /au/ reveal keyframes with a global-only variant */
@keyframes aurora-drift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(3%, -2%, 0) scale(1.06); }
    100% { transform: translate3d(-2%, 3%, 0) scale(1.02); }
}

/* --- Global testimonials --- */
.testimonial-global {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.75rem;
    height: 100%;
}
.testimonial-global .stars {
    color: #f5a623;
    margin-bottom: 0.75rem;
    letter-spacing: 0.1em;
}
.testimonial-global blockquote {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-primary);
    margin-bottom: 1.25rem;
}
.testimonial-global .attribution {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.testimonial-global .attribution img {
    width: 42px;
    height: 42px;
    border-radius: 50%;
}
.testimonial-global .attribution strong {
    display: block;
    font-size: 0.9rem;
}
.testimonial-global .attribution small {
    color: var(--text-secondary, #6b7280);
}

/* --- Region notice card (footer / about) --- */
.region-note {
    border: 1px dashed var(--border-color);
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    background: var(--bg-secondary);
}

/* --- Estimated pricing callout --- */
.estimate-note {
    font-size: 0.8rem;
    color: var(--text-secondary, #6b7280);
}

/* Global-specific stat numbers inherit .stat-num from the shared system. */

/* --- Global plan cards (pricing on home + /pricing) --- */
.global-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
    max-width: 1080px;
    margin: 0 auto;
    align-items: stretch;
}
.global-plan-card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}
.global-plan-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.12);
}
.global-plan-card.popular {
    border-color: var(--accent-primary);
}
.global-plan-card .plan-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #fff;
    background: var(--accent-gradient);
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
}
.global-plan-card .plan-header {
    padding: 1.5rem 1.5rem 1rem;
}
.global-plan-card .plan-header h3 {
    font-size: 1.1rem;
    margin-bottom: 0.25rem;
}
.global-plan-card .plan-header p {
    font-size: 0.85rem;
    color: var(--text-secondary, #6b7280);
    margin: 0;
}
.global-plan-card .plan-price {
    padding: 0 1.5rem 1rem;
}
.global-plan-card .plan-price .amount {
    font-size: 2rem;
    font-weight: 800;
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.global-plan-card .plan-price .period {
    font-size: 0.85rem;
    color: var(--text-secondary, #6b7280);
}
.global-plan-card .plan-features {
    list-style: none;
    margin: 0 auto 0;
    padding: 1rem 1.5rem;
    border-top: 1px solid var(--border-color);
    flex: 1;
}
.global-plan-card .plan-features li {
    display: flex;
    gap: 0.6rem;
    align-items: flex-start;
    font-size: 0.9rem;
    padding: 0.32rem 0;
    color: var(--text-primary);
}
.global-plan-card .plan-features .icon {
    flex-shrink: 0;
    color: var(--success);
    margin-top: 0.15rem;
}
.global-plan-card .plan-footer {
    padding: 1rem 1.5rem 1.5rem;
}

/* --- Testimonial track (scroll-snap carousel) --- */
.testimonial-track {
    display: flex;
    gap: 1.5rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    padding-bottom: 1rem;
    -webkit-overflow-scrolling: touch;
}
.testimonial-track .testimonial-card {
    flex: 0 0 320px;
    scroll-snap-align: start;
}
.carousel-controls {
    display: flex;
    gap: 0.6rem;
    justify-content: center;
    margin-top: 0.5rem;
}
.carousel-controls button {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: border-color 0.2s, color 0.2s;
}
.carousel-controls button:hover:not(:disabled) {
    border-color: var(--accent-primary);
    color: var(--accent-primary);
}
.carousel-controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (max-width: 1024px) {
    .btn-region {
        padding: 0.4rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* --- Inner page header (service/about/legal) --- */
.page-head {
    position: relative;
    padding: 8rem 0 4rem;
    text-align: center;
    overflow: hidden;
    color: #fff;
}
.page-head .page-head-bg {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #07061a 0%, #0e0b2e 50%, #151a4d 100%);
}
.page-head .page-head-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(circle at 20% 25%, rgba(90, 79, 243, 0.32), transparent 42%),
        radial-gradient(circle at 80% 30%, rgba(37, 99, 235, 0.26), transparent 42%);
}
.page-head .container {
    position: relative;
    z-index: 2;
}
.page-head .crumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    justify-content: center;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.55);
}
.page-head .crumbs a {
    color: #c6c1ff;
    text-decoration: none;
    font-weight: 600;
}
.page-head .crumbs a:hover {
    color: #fff;
}
.page-head h1 {
    max-width: 860px;
    margin: 0 auto 1rem;
    font-size: clamp(2.2rem, 5vw, 3.4rem);
    font-weight: 850;
    line-height: 1.1;
    letter-spacing: -0.03em;
}
.page-head .page-head-sub {
    max-width: 720px;
    margin: 0 auto;
    font-size: 1.05rem;
    color: rgba(255, 255, 255, 0.72);
}

/* --- Check list (heroes + split sections) --- */
.checks-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.6rem 1.4rem;
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}
.checks-grid li {
    display: flex;
    gap: 0.55rem;
    align-items: flex-start;
    font-size: 0.9rem;
    font-weight: 600;
}
.checks-grid .icon {
    flex-shrink: 0;
    color: #55e4aa;
    margin-top: 0.15rem;
}

/* --- Split section (two-column, icons) --- */
.split-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}
.split-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 1rem;
    padding: 1.75rem;
}
.split-card .split-icon {
    display: grid;
    width: 52px;
    height: 52px;
    margin-bottom: 1rem;
    place-items: center;
    border-radius: 0.9rem;
    background: linear-gradient(135deg, rgba(90, 79, 243, 0.12), rgba(34, 184, 240, 0.12));
    color: var(--accent-primary);
}
.split-card h3 {
    font-size: 1.05rem;
    margin-bottom: 0.5rem;
}
.split-card p {
    font-size: 0.9rem;
    color: var(--text-secondary, #6b7280);
    margin: 0;
}

@media (max-width: 575px) {
    .checks-grid {
        grid-template-columns: 1fr;
    }
}

/* --- Support page (contact layout, channels, ticket form) --- */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.15fr;
    gap: 3rem;
    align-items: start;
}

.contact-info h2 {
    font-size: var(--font-3xl);
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.contact-info > p {
    color: var(--text-secondary);
    font-size: 1rem;
    max-width: 30rem;
}

.support-channels {
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-top: 1.75rem;
    list-style: none;
    padding: 0;
}

.support-channels li {
    display: flex;
    align-items: flex-start;
    gap: 1.1rem;
    padding: 1.25rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: border-color 0.3s, transform 0.3s;
}

.support-channels li:hover {
    border-color: var(--border-accent);
    transform: translateX(4px);
}

.support-channels .feature-icon-box {
    width: 50px;
    height: 50px;
    flex-shrink: 0;
    margin-bottom: 0;
    font-size: 1.35rem;
}

.support-channels h4 {
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.2rem;
}

.support-channels p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.5;
    margin: 0;
}

.contact-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    padding: 2rem;
}

.contact-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1.4rem;
}

.form-field {
    margin-bottom: 1.25rem;
}

.form-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.01em;
}

.form-field input,
.form-field select,
.form-field textarea {
    width: 100%;
    height: 56px;
    padding: 0 1rem;
    background: var(--bg-secondary);
    border: 1.5px solid var(--border-color);
    border-radius: 12px;
    color: var(--text-primary);
    font-family: 'Inter', sans-serif;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-field textarea {
    height: auto;
    min-height: 136px;
    padding: 0.9rem 1rem;
    resize: vertical;
}

.form-field input::placeholder,
.form-field textarea::placeholder {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.form-field input:hover,
.form-field select:hover,
.form-field textarea:hover {
    border-color: var(--border-accent);
}

.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
    border-color: var(--accent-primary);
    background: var(--bg-primary);
    box-shadow: 0 0 0 3px rgba(90, 79, 243, 0.1);
}

.form-field select option {
    background: var(--bg-card);
    color: var(--text-primary);
}

.ticket-msg {
    margin-top: 1rem;
}

.btn-ticket-text,
.btn-ticket-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

@media (max-width: 900px) {
    .contact-layout {
        grid-template-columns: 1fr;
    }

    .contact-card {
        margin-top: 0.5rem;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

/* --- Shared utilities --- */
.gap-2 {
    gap: 0.5rem;
}

.wfh-shortcode {
    display: block;
}

.visually-hidden,
.visually-hidden-focusable:not(:focus):not(:focus-within) {
    position: absolute !important;
    width: 1px;
    height: 1px;
    margin: -1px;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================================
   GLOBAL SITE DISTINCTIVE STYLING (Preserves WebFulHost Brand)
   ============================================================ */

/* Global Brand Logo Badge */
.wfh-global-site .logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
.wfh-global-site .global-badge {
    display: inline-block;
    font-size: 0.65rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.15rem 0.55rem;
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(90, 79, 243, 0.15), rgba(37, 99, 235, 0.25));
    color: var(--accent-primary, #5A4FF3);
    border: 1px solid rgba(90, 79, 243, 0.35);
    line-height: 1.4;
}

/* Global Hero Section Enhancement */
.wfh-global-site .hero {
    background: radial-gradient(circle at 50% -10%, #151047 0%, #0c0926 45%, #050512 100%) !important;
    color: #ffffff !important;
    position: relative;
}

/* High-Contrast Hero Typography (Overrides Light-Mode defaults) */
.wfh-global-site .hero h1 {
    color: #ffffff !important;
    font-size: clamp(2.8rem, 5.2vw, 4.6rem);
    font-weight: 800;
    line-height: 1.08;
    letter-spacing: -0.04em;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    margin-bottom: 1.3rem;
}

.wfh-global-site .hero .gradient-text {
    background: linear-gradient(135deg, #60a5fa 0%, #38bdf8 60%, #93c5fd 100%) !important;
    background-clip: text !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.wfh-global-site .hero-copy .hero-subtitle {
    color: #d1d9ec !important;
    font-size: 1.15rem;
    line-height: 1.7;
    margin-bottom: 1.6rem;
}

.wfh-global-site .hero-proof-row {
    color: #ffffff !important;
    font-size: 0.95rem;
}

.wfh-global-site .hero-proof-row span {
    color: #f1f5f9 !important;
}

.wfh-global-site .hero-proof-row svg,
.wfh-global-site .hero-proof-row use {
    color: #10b981 !important;
    fill: #10b981 !important;
}

.wfh-global-site .hero-secondary-cta {
    color: #93c5fd !important;
    border: 1px solid rgba(147, 197, 253, 0.35) !important;
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(8px);
    border-radius: var(--radius-pill, 999px);
    padding: 0.85rem 1.6rem;
    font-weight: 600;
    transition: all 0.25s ease;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
}

.wfh-global-site .hero-secondary-cta:hover {
    color: #ffffff !important;
    background: rgba(90, 79, 243, 0.35);
    border-color: #5A4FF3 !important;
    box-shadow: 0 4px 20px rgba(90, 79, 243, 0.4);
    transform: translateY(-2px);
}

/* Badge Beacon Fix (No double dot) */
.wfh-global-site .hero-badge-global {
    background: rgba(90, 79, 243, 0.18) !important;
    border: 1px solid rgba(90, 79, 243, 0.4) !important;
    color: #e0dfff !important;
    box-shadow: 0 4px 20px rgba(90, 79, 243, 0.25) !important;
    display: inline-flex !important;
    align-items: center;
    gap: 0.55rem;
    padding: 0.45rem 1.1rem !important;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.wfh-global-site .hero-badge-global::before {
    content: '' !important;
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: #10b981 !important;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7) !important;
    animation: pulseBeacon 2s infinite !important;
    display: inline-block !important;
}

/* Pulsing Live Beacon & Badges */
.pulse-beacon {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
    animation: pulseBeacon 2s infinite;
    display: inline-block;
}

.pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #10b981;
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6);
    animation: pulseBeacon 2s infinite;
    display: inline-block;
}

@keyframes pulseBeacon {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* Global Latency Strip in Hero Copy */
.hero-regions-strip {
    display: flex;
    gap: 0.6rem;
    flex-wrap: wrap;
    margin: 1.2rem 0 1.6rem;
}

.region-node {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 0.78rem;
    color: #f1f5f9;
    font-weight: 600;
    white-space: nowrap;
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.region-node:hover {
    transform: translateY(-2px);
    border-color: rgba(90, 79, 243, 0.6);
}

.region-node em {
    font-style: normal;
    color: #34d399;
    font-weight: 700;
}

/* Global Hero Showcase & Offer Card */
.hero-offer-card-global {
    background: linear-gradient(135deg, rgba(25, 20, 80, 0.95), rgba(37, 99, 235, 0.92)) !important;
    border: 1px solid rgba(90, 79, 243, 0.45);
    backdrop-filter: blur(16px);
    box-shadow: 0 20px 48px rgba(90, 79, 243, 0.28) !important;
}

/* Domain Search Headings on Dark Hero */
.wfh-global-site .hero-utility-heading,
.wfh-global-site .hero-utility-kicker {
    color: #ffffff !important;
    font-weight: 700;
}

.wfh-global-site .hero-utility-note {
    color: #94a3b8 !important;
}

.wfh-global-site .hero-utility .hero-domain-alt {
    color: #94a3b8 !important;
}

.wfh-global-site .btn-skip-domain {
    color: #60a5fa !important;
}

.wfh-global-site .btn-skip-domain:hover {
    color: #ffffff !important;
}

.wfh-global-site .hero-utility .tld-pill {
    color: #e2e8f0 !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25) !important;
}

.wfh-global-site .hero-utility .tld-pill strong {
    color: #60a5fa !important;
}

/* Global Stats Bar Refinement */
.wfh-global-site .stats-bar {
    background: linear-gradient(180deg, #09081f 0%, #0d0b2b 100%) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.wfh-global-site .stats-bar .stat-item {
    border-right-color: rgba(255, 255, 255, 0.08) !important;
}

.wfh-global-site .stats-bar .stat-num {
    background: linear-gradient(135deg, #ffffff 30%, #a5b4fc 100%) !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.wfh-global-site .stats-bar .stat-label {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Region Switcher Pill */
.wfh-global-site .btn-region {
    background: rgba(90, 79, 243, 0.08);
    border: 1px solid rgba(90, 79, 243, 0.25);
    color: var(--accent-primary, #5A4FF3);
    font-weight: 600;
    border-radius: 999px;
    padding: 0.45rem 1rem;
    transition: all 0.25s ease;
}

.wfh-global-site .btn-region:hover {
    background: var(--accent-primary, #5A4FF3);
    color: #ffffff;
    border-color: var(--accent-primary, #5A4FF3);
    box-shadow: 0 4px 14px rgba(90, 79, 243, 0.3);
}