/* ==========================================================================
   THUNDER HOST — VISITOR THEME — BUTTONS & HERO
   ========================================================================== */

.th-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-weight: 700;
    font-size: .92rem;
    padding: .7rem 1.4rem;
    border-radius: var(--th-radius-sm);
    border: 1px solid transparent;
    transition: all .2s ease;
    cursor: pointer;
    line-height: 1.2;
    text-decoration: none !important;
    white-space: nowrap;
}
.th-btn svg { width: 18px; height: 18px; }
.th-btn-primary {
    color: #fff;
    background: linear-gradient(135deg, var(--th-primary), var(--th-primary-dark));
    box-shadow: 0 4px 14px rgba(5, 150, 105, .25);
}
.th-btn-primary:hover {
    color: #fff;
    transform: translateY(-1px);
    box-shadow: 0 8px 22px rgba(5, 150, 105, .35);
}
.th-btn-secondary {
    color: var(--th-ink);
    background: rgba(15, 23, 42, .04);
    border: 1px solid var(--th-border);
}
.th-btn-secondary:hover {
    background: rgba(15, 23, 42, .08);
    color: var(--th-ink);
}
.th-btn-outline {
    color: var(--th-primary);
    background: transparent;
    border: 1.5px solid var(--th-primary);
}
.th-btn-outline:hover {
    color: #fff;
    background: var(--th-primary);
}
.th-btn-light {
    color: var(--th-ink);
    background: #fff;
    border: 1px solid var(--th-border);
}
.th-btn-light:hover { background: var(--th-soft-2); }
.th-btn-lg { padding: 1rem 2rem; font-size: 1rem; }
.th-btn-sm { padding: .45rem .9rem; font-size: .82rem; }
.th-btn-block { width: 100%; }
.th-btn-login, .th-btn-signup { font-size: .88rem; padding: .55rem 1.1rem; }

/* Hero */
.th-hero {
    position: relative;
    padding: 6rem 0 5rem;
    background:
        radial-gradient(ellipse at top, rgba(5, 150, 105, .08), transparent 60%),
        radial-gradient(ellipse at bottom right, rgba(217, 119, 6, .06), transparent 50%),
        linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    overflow: hidden;
}
.th-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(15, 23, 42, .03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(15, 23, 42, .03) 1px, transparent 1px);
    background-size: 48px 48px;
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 80%);
    pointer-events: none;
}
.th-hero-inner { position: relative; z-index: 2; }
.th-hero-grid {
    display: grid;
    grid-template-columns: 1.1fr .9fr;
    gap: 3rem;
    align-items: center;
}
@media (max-width: 991.98px) {
    .th-hero-grid { grid-template-columns: 1fr; }
    .th-hero { padding: 4rem 0 3rem; }
}
.th-hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .4rem 1rem;
    background: rgba(5, 150, 105, .08);
    color: var(--th-primary-dark);
    font-size: .82rem;
    font-weight: 700;
    border-radius: 999px;
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 1.25rem;
}
.th-hero-eyebrow .dot {
    width: 6px; height: 6px;
    background: var(--th-primary);
    border-radius: 50%;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, .18);
}
.th-hero h1 {
    font-size: clamp(2.25rem, 4.5vw, 3.75rem);
    line-height: 1.05;
    margin-bottom: 1.25rem;
}
.th-hero h1 .grad {
    background: linear-gradient(135deg, var(--th-primary), var(--th-accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.th-hero p.lead {
    font-size: 1.15rem;
    color: var(--th-muted);
    margin-bottom: 2rem;
    max-width: 560px;
}
.th-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 2.5rem;
}
.th-hero-trust {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    color: var(--th-muted);
    font-size: .85rem;
}
.th-hero-trust-item {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
}
.th-hero-trust-item svg { width: 18px; height: 18px; color: var(--th-primary); }

.th-hero-visual { position: relative; min-height: 380px; }
.th-hero-card {
    position: relative;
    background: #fff;
    border-radius: var(--th-radius-lg);
    box-shadow: var(--th-shadow-lg);
    padding: 2rem;
    border: 1px solid var(--th-border);
    overflow: hidden;
}
.th-hero-card-glow {
    position: absolute;
    width: 200px; height: 200px;
    border-radius: 50%;
    filter: blur(60px);
    opacity: .5;
    z-index: 0;
}
.th-hero-card-glow.g1 { background: var(--th-primary); top: -60px; right: -40px; }
.th-hero-card-glow.g2 { background: var(--th-accent); bottom: -40px; left: -40px; opacity: .35; }
.th-hero-card-inner { position: relative; z-index: 1; }

.th-server-panel {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    background: var(--th-soft);
    border: 1px solid var(--th-border);
    border-radius: var(--th-radius);
    margin-bottom: 1rem;
}
.th-server-panel:last-child { margin-bottom: 0; }
.th-server-icon {
    width: 48px; height: 48px;
    display: inline-flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, var(--th-primary), var(--th-primary-dark));
    color: #fff;
    border-radius: 10px;
    font-weight: 900;
    font-size: 1.1rem;
    flex-shrink: 0;
}
.th-server-panel-info { flex: 1; min-width: 0; }
.th-server-panel-info strong { display: block; color: var(--th-ink); font-size: 1rem; font-weight: 700; }
.th-server-panel-info small { color: var(--th-muted); font-size: .82rem; }
.th-server-status {
    display: inline-flex; align-items: center; gap: .35rem;
    padding: .25rem .6rem;
    background: rgba(16, 185, 129, .1);
    color: var(--th-success);
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}
.th-server-status::before {
    content: ""; width: 6px; height: 6px; background: currentColor; border-radius: 50%;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, .2);
}

.th-page-header {
    position: relative;
    padding: 5rem 0 4rem;
    background:
        radial-gradient(ellipse at top, rgba(5, 150, 105, .12), transparent 60%),
        linear-gradient(180deg, #f0f9f6 0%, #ffffff 100%);
    overflow: hidden;
}
.th-page-header h1 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
}
.th-page-header p.lead {
    font-size: 1.1rem;
    color: var(--th-muted);
    max-width: 700px;
    margin-bottom: 1.5rem;
}
.th-breadcrumb {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-size: .85rem;
    color: var(--th-muted);
    margin-bottom: 1.25rem;
}
.th-breadcrumb a { color: var(--th-muted); }
.th-breadcrumb a:hover { color: var(--th-primary); }
.th-breadcrumb svg { width: 14px; height: 14px; }
.th-breadcrumb .sep { color: var(--th-border); }
