/* ParsHost — Public / marketing page styles */

.ph-public-nav {
    position: sticky;
    top: 0;
    z-index: 1020;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(16, 185, 129, 0.12);
}
.ph-public-nav-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 14px 0;
}
.ph-public-nav .navbar-brand {
    font-weight: 800;
    color: #064e3b !important;
    font-size: 1.25rem;
}
.ph-public-nav-links {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    list-style: none;
    margin: 0;
    padding: 0;
}
.ph-public-nav-links a {
    color: #374151;
    text-decoration: none;
    padding: 8px 12px;
    font-weight: 500;
    font-size: 14px;
}
.ph-public-nav-links a:hover {
    color: #059669;
}
.ph-public-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.hero {
    position: relative;
    padding: 80px 24px 100px;
    text-align: center;
    overflow: hidden;
}
.hero h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, #064e3b 0%, #047857 50%, #0d9488 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    line-height: 1.2;
    margin-bottom: 20px;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}
.hero .lead {
    font-size: 1.125rem;
    color: #4b5563;
    max-width: 700px;
    margin: 0 auto 32px;
}
.hero-cta {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 48px;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 500;
    background: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(16, 185, 129, 0.2);
    color: #047857;
    margin-bottom: 20px;
}
.hero-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 16px;
    max-width: 800px;
    margin: 0 auto;
}
.hero-stat {
    padding: 18px;
    background: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.8);
}
.hero-stat-num {
    font-size: 1.6rem;
    font-weight: 800;
    background: linear-gradient(135deg, #059669, #0d9488);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
}
.hero-stat-label {
    font-size: 13px;
    color: #6b7280;
}

.section {
    padding: 64px 0;
}
.section-head {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 40px;
}
.section-tag {
    display: inline-block;
    padding: 6px 12px;
    font-size: 12px;
    font-weight: 600;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(6, 182, 212, 0.1));
    color: #047857;
    margin-bottom: 12px;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    color: #064e3b;
    margin-bottom: 12px;
}
.section-desc {
    color: #6b7280;
}

.feature-card {
    padding: 28px;
    height: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.12);
}
.feature-icon {
    width: 52px;
    height: 52px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #10b981, #06b6d4);
    color: #fff;
    margin-bottom: 16px;
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.3);
}
.feature-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #064e3b;
    margin-bottom: 8px;
}
.feature-desc {
    font-size: 14px;
    color: #6b7280;
    margin: 0;
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
}
.pricing-card {
    padding: 28px;
    position: relative;
    transition: transform 0.25s ease;
}
.pricing-card:hover {
    transform: translateY(-4px);
}
.pricing-card.featured {
    border: 2px solid #10b981 !important;
    box-shadow: 0 16px 40px rgba(16, 185, 129, 0.15);
}
.pricing-price {
    font-size: 2rem;
    font-weight: 800;
    color: #047857;
}
.pricing-features {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
.pricing-features li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(16, 185, 129, 0.08);
    font-size: 14px;
    color: #374151;
}
.pricing-features li i {
    color: #10b981;
    margin-left: 8px;
}
html[dir="ltr"] .pricing-features li i {
    margin-left: 0;
    margin-right: 8px;
}

/* Auth pages — centered card, full viewport, no site header/footer */
body.ph-auth-shell #header,
body.ph-auth-shell .master-breadcrumb,
body.ph-auth-shell #footer {
    display: none !important;
}

body.ph-auth-shell #main-body.ph-auth-body,
body.ph-auth-shell .ph-auth-content {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
    width: 100% !important;
    min-height: 100vh;
}

body.ph-auth-shell section#main-body .container,
body.ph-auth-shell .ph-auth-content .container,
body.ph-auth-shell .ph-auth-content .row,
body.ph-auth-shell .ph-auth-content .primary-content {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

.ph-auth-wrap {
    min-height: 100vh;
    padding: 40px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 10;
}

.ph-auth-card {
    width: 100%;
    max-width: 460px;
    padding: 40px 36px;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(30px);
    border: 1px solid rgba(255, 255, 255, 0.95);
    box-shadow:
        0 8px 32px rgba(16, 185, 129, 0.12),
        0 16px 64px rgba(6, 182, 212, 0.08);
}

.ph-auth-card-wide {
    max-width: 720px;
}

.ph-auth-card-head {
    margin-bottom: 28px;
}

.ph-auth-logo {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
    text-decoration: none;
    color: #064e3b;
    font-size: 1.25rem;
    font-weight: 700;
}

.ph-auth-logo-img {
    max-height: 40px;
}

.ph-auth-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #064e3b;
    margin: 0 0 8px;
}

.ph-auth-card-foot {
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid #e5e7eb;
}

.ph-auth-lang {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
}

.ph-auth-lang a {
    padding: 6px 12px;
    font-size: 13px;
    color: #6b7280;
    text-decoration: none;
    border: 1px solid rgba(16, 185, 129, 0.2);
    transition: all 0.2s;
}

.ph-auth-lang a.active,
.ph-auth-lang a:hover {
    color: #047857;
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.06);
}

.ph-auth-card .card {
    border: none !important;
    box-shadow: none !important;
    background: rgba(255, 255, 255, 0.75) !important;
    border: 1px solid rgba(16, 185, 129, 0.1) !important;
}

.ph-auth-card .card-title {
    font-size: 1rem;
    margin-bottom: 16px;
}

@media (max-width: 767.98px) {
    .ph-auth-wrap {
        padding: 24px 16px;
        align-items: flex-start;
    }

    .ph-auth-card,
    .ph-auth-card-wide {
        padding: 28px 20px;
    }
}

/* Domain search on homepage — blend with hero */
.home-domain .card,
#main-body .domainchecker-homepage {
    background: rgba(255, 255, 255, 0.85) !important;
    border: 1px solid rgba(16, 185, 129, 0.15) !important;
}
