/* Pacific Networks Cloud Services — colours from https://www.pn.vu */

:root {
    --brand-green: #75c044;
    --brand-green-deep: #5ea233;
    --brand-blue: #1abce9;
    --brand-blue-deep: #1299c0;
    --brand-black: #000;
    --brand-ink: #0d1216;
    --ocean-deep: #0d1216;
    --ocean-mid: #152028;
    --lagoon: #1abce9;
    --foam: #eef7f2;
    --mist: #f5f8f6;
    --ink: #101820;
    --ink-soft: #3d5560;
    --sun: #75c044;
    --white: #fff;
    --line: rgba(16, 24, 32, 0.12);
    --font-display: "Space Grotesk", "Segoe UI", sans-serif;
    --font-body: "Source Sans 3", "Segoe UI", sans-serif;
    --radius: 0.35rem;

    --primary: #75c044;
    --primary-lifted: #5ea233;
    --primary-accented: #4d8a2a;
    --success: #75c044;
    --info: #1abce9;
    --secondary: #3d5560;
}

html {
    font-size: 16px;
}

body.theme-pacific {
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(1200px 600px at 8% -12%, rgba(26, 188, 233, 0.16), transparent 55%),
        radial-gradient(900px 500px at 100% 0%, rgba(117, 192, 68, 0.14), transparent 50%),
        linear-gradient(180deg, var(--mist) 0%, var(--foam) 45%, var(--mist) 100%);
}

body.theme-pacific.primary-bg-color {
    background-color: var(--mist);
}

.theme-pacific h1,
.theme-pacific h2,
.theme-pacific h3,
.theme-pacific h4,
.theme-pacific .h1,
.theme-pacific .h2,
.theme-pacific .h3,
.theme-pacific .card-title,
.theme-pacific .pricing-card-title {
    font-family: var(--font-display);
    letter-spacing: -0.02em;
    color: var(--ocean-deep);
}

.theme-pacific a {
    color: var(--brand-blue-deep);
}

.theme-pacific a:hover {
    color: var(--brand-blue);
}

.theme-pacific .btn {
    border-radius: var(--radius);
    font-family: var(--font-display);
    font-weight: 600;
    padding: 0.7rem 1.15rem;
    transition: transform 0.2s, background 0.2s, border-color 0.2s, color 0.2s;
}

.theme-pacific .btn:hover {
    transform: translateY(-1px);
}

.theme-pacific .btn-primary,
.theme-pacific .btn-primary:not(:disabled):not(.disabled):active,
.theme-pacific .btn-info {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--brand-black);
}

.theme-pacific .btn-primary:hover,
.theme-pacific .btn-info:hover {
    background: var(--brand-green-deep);
    border-color: var(--brand-green-deep);
    color: var(--white);
}

.theme-pacific .btn-success {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--ocean-deep);
}

.theme-pacific .btn-success:hover {
    background: var(--brand-blue-deep);
    border-color: var(--brand-blue-deep);
    color: var(--white);
}

.theme-pacific .btn-secondary,
.theme-pacific .btn-ghost-light {
    background: transparent;
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    color: var(--white);
}

.theme-pacific .btn-secondary:hover,
.theme-pacific .btn-ghost-light:hover {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.12);
    color: var(--white);
}

.theme-pacific .btn-outline-primary {
    color: var(--ocean-deep);
    border-color: var(--brand-blue);
    background: transparent;
}

.theme-pacific .btn-outline-primary:hover {
    background: var(--brand-blue);
    border-color: var(--brand-blue);
    color: var(--ocean-deep);
}

.theme-pacific .btn-default {
    border-color: var(--line);
    color: var(--ink);
}

.theme-pacific .badge-info,
.theme-pacific .badge-success {
    background: var(--brand-blue);
    color: var(--ocean-deep);
}

/* Header — dark masthead like pn.vu */
header.header {
    background: transparent;
}

.theme-pacific header.header .topbar {
    background: var(--brand-black);
    color: rgba(255, 255, 255, 0.7);
}

.theme-pacific header.header .pn-masthead {
    background: rgba(0, 0, 0, 0.92);
    border-bottom: 1px solid rgba(26, 188, 233, 0.22);
    padding: 0.65rem 0;
}

.theme-pacific header.header .logo-img {
    max-width: 220px;
    max-height: 58px;
    width: auto;
    height: auto;
}

.theme-pacific .pn-wordmark {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.7rem;
    color: var(--brand-green);
    letter-spacing: -0.04em;
}

.theme-pacific .pn-wordmark span {
    color: var(--brand-blue);
}

.theme-pacific header.header .navbar a {
    color: rgba(255, 255, 255, 0.88);
}

.theme-pacific header.header .main-navbar-wrapper .navbar-nav > li > a {
    display: inline-block;
    color: rgba(255, 255, 255, 0.88);
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 0.95rem;
    line-height: 1.2;
    padding: 0.55rem 0.85rem 0.4rem;
    margin: 0 0.15rem;
    border-bottom: 2px solid transparent;
    text-decoration: none;
}

.theme-pacific header.header .navbar a:hover,
.theme-pacific header.header .navbar a:focus,
.theme-pacific header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
.theme-pacific header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
.theme-pacific header.header .main-navbar-wrapper .navbar-nav > li.show > a,
.theme-pacific header.header .main-navbar-wrapper .navbar-nav > li.active > a {
    color: var(--brand-green) !important;
    text-decoration: none;
}

.theme-pacific header.header .main-navbar-wrapper .navbar-nav > li > a:hover,
.theme-pacific header.header .main-navbar-wrapper .navbar-nav > li > a:focus,
.theme-pacific header.header .main-navbar-wrapper .navbar-nav > li.show > a,
.theme-pacific header.header .main-navbar-wrapper .navbar-nav > li.active > a {
    border-bottom-color: var(--brand-green);
}

.theme-pacific header.header .search {
    border-color: rgba(26, 188, 233, 0.35);
    background: rgba(255, 255, 255, 0.04);
}

.theme-pacific header.header .search .form-control,
.theme-pacific header.header .search .btn {
    background: transparent;
    border-color: transparent;
    color: var(--white);
}

.theme-pacific header.header .search .form-control::placeholder {
    color: rgba(255, 255, 255, 0.45);
}

.theme-pacific header.header .toolbar .nav-link {
    border: 1px solid rgba(26, 188, 233, 0.35);
    color: rgba(255, 255, 255, 0.85);
    background: rgba(255, 255, 255, 0.04);
}

.theme-pacific header.header .toolbar .nav-link:hover {
    border-color: var(--brand-green);
    color: var(--white);
}

.theme-pacific header.header .main-navbar-wrapper {
    background: var(--ocean-deep);
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.theme-pacific header.header .dropdown-menu {
    background: var(--ocean-mid);
    border: 1px solid rgba(26, 188, 233, 0.28);
    padding: 0.4rem 0;
}

.theme-pacific header.header .dropdown-menu a,
.theme-pacific header.header .dropdown-item,
.theme-pacific header.header .dropdown-item a {
    color: rgba(255, 255, 255, 0.92);
}

.theme-pacific header.header .dropdown-menu .dropdown-item:hover,
.theme-pacific header.header .dropdown-menu .dropdown-item:focus,
.theme-pacific header.header .dropdown-menu .dropdown-item:hover > a,
.theme-pacific header.header .dropdown-menu .dropdown-item:focus > a,
.theme-pacific header.header .dropdown-menu a.dropdown-item:hover,
.theme-pacific header.header .dropdown-menu a.dropdown-item:focus,
.theme-pacific header.header .dropdown-menu a:hover,
.theme-pacific header.header .dropdown-menu a:focus {
    background: var(--brand-green) !important;
    color: var(--brand-black) !important;
}

.theme-pacific .sidebar .list-group-item:hover,
.theme-pacific .sidebar .list-group-item:focus {
    background: rgba(117, 192, 68, 0.16);
    color: var(--ocean-deep);
    border-left: 3px solid var(--brand-green);
}

.theme-pacific .master-breadcrumb {
    background: transparent;
    border: 0;
    padding-top: 1rem;
}

.theme-pacific .master-breadcrumb .breadcrumb {
    background: transparent;
    padding-left: 0;
}

/* Hero */
.pn-hero {
    position: relative;
    color: var(--white);
    padding: 3.5rem 0 2.5rem;
    overflow: hidden;
    background:
        linear-gradient(105deg, rgba(0, 0, 0, 0.78) 0%, rgba(13, 18, 22, 0.62) 50%, rgba(0, 0, 0, 0.45) 100%),
        radial-gradient(800px 360px at 90% 10%, rgba(26, 188, 233, 0.28), transparent 60%),
        radial-gradient(700px 320px at 0% 100%, rgba(117, 192, 68, 0.22), transparent 55%),
        var(--ocean-deep);
}

.pn-hero-overlay {
    pointer-events: none;
    position: absolute;
    inset: 0;
    opacity: 0.06;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='80' viewBox='0 0 160 80'%3E%3Cpath d='M0 40c20-16 40-16 60 0s40 16 60 0 40-16 60 0' fill='none' stroke='%231abce9' stroke-width='2'/%3E%3C/svg%3E");
    background-size: 160px 80px;
}

.pn-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    padding-bottom: 1.5rem;
}

.pn-eyebrow {
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--brand-green);
    margin-bottom: 0.65rem;
    font-size: 0.78rem;
    font-weight: 700;
    display: inline-block;
}

.pn-hero h1 {
    color: var(--white);
    max-width: 22ch;
    margin-bottom: 0.75rem;
    font-size: clamp(1.7rem, 4vw, 2.6rem);
    font-weight: 600;
}

.pn-hero-lead {
    color: rgba(255, 255, 255, 0.88);
    max-width: 46ch;
    margin-bottom: 1.35rem;
    font-size: 1.08rem;
}

.pn-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.pn-trust {
    background: var(--brand-black);
    color: rgba(255, 255, 255, 0.9);
    padding: 0.85rem 0;
    font-weight: 600;
}

.pn-trust .container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem 1.5rem;
}

.pn-trust strong {
    color: var(--brand-green);
}

/* Domain search */
.pn-domain-search {
    position: relative;
    z-index: 1;
    margin-top: 0.5rem;
}

.pn-domain-card {
    background: rgba(255, 255, 255, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: calc(var(--radius) + 0.15rem);
    padding: 1.5rem 1.5rem 1.15rem;
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.28);
    color: var(--ink);
}

.pn-domain-card h2 {
    margin-bottom: 0.35rem;
    font-size: 1.35rem;
}

.pn-domain-card > p {
    color: var(--ink-soft);
    margin-bottom: 1rem;
}

.pn-domain-card .form-control {
    min-height: 52px;
    border-color: var(--line);
}

.pn-tld-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-top: 1rem;
}

.pn-tld {
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 0.45rem 0.7rem;
    font-size: 0.92rem;
    color: var(--ink-soft);
}

.pn-tld strong {
    font-family: var(--font-display);
    color: var(--ocean-deep);
    margin-right: 0.25rem;
}

.pn-pricing-link {
    display: inline-block;
    margin-top: 0.75rem;
    font-weight: 700;
}

/* Homepage sections */
.pn-home {
    padding: 2.5rem 0 1rem;
}

.pn-section {
    margin-bottom: 3rem;
}

.pn-section-head {
    max-width: 40rem;
    margin-bottom: 1.5rem;
}

.pn-section-head h2 {
    font-size: clamp(1.7rem, 3vw, 2.3rem);
    margin-bottom: 0.5rem;
}

.pn-section-head p {
    color: var(--ink-soft);
    font-size: 1.05rem;
}

.pn-service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
    gap: 1rem;
}

.pn-service-card {
    display: block;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 0.1rem);
    padding: 1.35rem 1.25rem;
    color: inherit;
    text-decoration: none;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.pn-service-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand-blue);
    box-shadow: 0 10px 24px rgba(16, 24, 32, 0.08);
    color: inherit;
    text-decoration: none;
}

.pn-service-icon {
    display: inline-flex;
    width: 2.6rem;
    height: 2.6rem;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(26, 188, 233, 0.12);
    color: var(--brand-blue-deep);
    margin-bottom: 0.75rem;
    font-size: 1.15rem;
}

.pn-service-card h3 {
    font-size: 1.2rem;
    margin-bottom: 0.4rem;
}

.pn-service-card p {
    color: var(--ink-soft);
    margin: 0;
}

.pn-product-cards .card {
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 0.1rem);
    background: rgba(255, 255, 255, 0.92);
}

.pn-feature-band {
    color: var(--white);
    background: linear-gradient(135deg, #000 0%, #101820 55%, #12303a 100%);
    border-radius: calc(var(--radius) + 0.2rem);
    padding: 2rem 1.5rem;
    display: grid;
    gap: 1.5rem;
    position: relative;
    overflow: hidden;
}

@media (min-width: 800px) {
    .pn-feature-band {
        grid-template-columns: 1.3fr 0.7fr;
        align-items: center;
        padding: 2.4rem 2rem;
    }
}

.pn-feature-band h2,
.pn-feature-band .pn-eyebrow {
    color: var(--white);
}

.pn-feature-band .pn-eyebrow {
    color: var(--brand-green);
}

.pn-feature-band p {
    color: rgba(255, 255, 255, 0.86);
}

.pn-feature-band aside {
    border-left: 2px solid rgba(117, 192, 68, 0.7);
    padding-left: 1.25rem;
}

.pn-feature-band aside strong {
    font-family: var(--font-display);
    display: block;
    margin-bottom: 0.35rem;
    font-size: 1.2rem;
}

.theme-pacific .action-icon-btns a {
    border-radius: calc(var(--radius) + 0.1rem);
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--line);
}

/* Dashboard */
.pn-dashboard-banner {
    display: grid;
    gap: 1rem;
    margin: 1.25rem 0 1.5rem;
    padding: 1.4rem 1.35rem;
    border-radius: calc(var(--radius) + 0.15rem);
    background: linear-gradient(135deg, #000 0%, #101820 60%, #12303a 100%);
    color: var(--white);
}

@media (min-width: 768px) {
    .pn-dashboard-banner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

.pn-dashboard-banner h2 {
    color: var(--white);
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
}

.pn-dashboard-banner p {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 0;
}

.theme-pacific .tiles .tile {
    background: rgba(255, 255, 255, 0.94);
    border: 1px solid var(--line);
}

.theme-pacific .tiles .tile .stat {
    font-family: var(--font-display);
}

.theme-pacific .tiles .highlight.bg-color-blue {
    background: var(--brand-blue);
}

.theme-pacific .tiles .highlight.bg-color-green {
    background: var(--brand-green);
}

.theme-pacific .card {
    border-color: var(--line);
}

.theme-pacific .sidebar .panel,
.theme-pacific .sidebar .card {
    border-radius: var(--radius);
}

/* Forms & login */
.theme-pacific .form-control,
.theme-pacific .custom-select {
    border-color: var(--line);
    border-radius: var(--radius);
}

.theme-pacific .form-control:focus {
    border-color: var(--brand-blue);
    box-shadow: 0 0 0 0.2rem rgba(26, 188, 233, 0.25);
}

.theme-pacific .login-form .card,
.theme-pacific .mw-540.card {
    border-radius: calc(var(--radius) + 0.15rem);
    border-color: var(--line);
    box-shadow: 0 12px 30px rgba(16, 24, 32, 0.06);
}

/* Footer */
.pn-cta {
    background: linear-gradient(120deg, rgba(0, 0, 0, 0.9), rgba(16, 24, 32, 0.82));
    color: var(--white);
    padding: 2.4rem 0;
    margin-top: 1rem;
}

.pn-cta h2 {
    color: var(--white);
    font-size: clamp(1.5rem, 3vw, 2rem);
    margin-bottom: 0.45rem;
}

.pn-cta p {
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 0;
}

.pn-cta-inner {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 800px) {
    .pn-cta-inner {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}

.pn-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.theme-pacific .footer.pn-footer {
    background: var(--brand-black);
    color: rgba(255, 255, 255, 0.82);
    padding: 3rem 0 1.4rem;
}

.pn-footer-grid {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

@media (min-width: 800px) {
    .pn-footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr 1fr;
    }
}

.pn-footer-logo {
    max-width: 200px;
    height: auto;
    margin-bottom: 0.9rem;
}

.pn-footer h3 {
    color: var(--white);
    font-size: 1rem;
    margin-bottom: 0.75rem;
}

.pn-footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pn-footer-links li {
    margin-bottom: 0.4rem;
}

.pn-footer-links a {
    color: rgba(255, 255, 255, 0.78);
}

.pn-footer-links a:hover {
    color: var(--brand-blue);
}

.pn-footer-meta {
    color: rgba(255, 255, 255, 0.55);
    font-size: 0.9rem;
}

.pn-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding-top: 1rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 0.75rem;
    font-size: 0.9rem;
}

.pn-footer-bottom a,
.pn-footer .copyright {
    color: rgba(255, 255, 255, 0.65);
}

.pn-footer .btn {
    color: rgba(255, 255, 255, 0.8);
}

.theme-pacific .pagination .page-item.active .page-link {
    background: var(--brand-green);
    border-color: var(--brand-green);
    color: var(--brand-black);
}

.theme-pacific .list-group-item.active {
    background: var(--ocean-deep);
    border-color: var(--ocean-deep);
}

/* Comparison / standard carts inherit brand colours */
.theme-pacific #order-premium_comparison h3,
.theme-pacific #order-supreme_comparison h3,
.theme-pacific #order-standard_cart h1,
.theme-pacific #order-standard_cart h2 {
    font-family: var(--font-display);
    color: var(--ocean-deep);
}

.theme-pacific #order-premium_comparison .price-table-container .order-button,
.theme-pacific #order-premium_comparison .price-table-container .order-button:hover,
.theme-pacific #order-supreme_comparison .order-button,
.theme-pacific #order-standard_cart .btn-success,
.theme-pacific #order-standard_cart .btn-primary {
    background: var(--brand-green) !important;
    border-color: var(--brand-green) !important;
    color: var(--brand-black) !important;
    text-shadow: none;
    filter: none;
}

.theme-pacific #order-premium_comparison .price-table-container .price-table ul li a {
    color: var(--brand-blue-deep);
}

.pn-premium-badge,
.theme-pacific .suggested-domains .promo.premium {
    display: inline-block;
    margin-left: 0.45rem;
    padding: 0.12rem 0.5rem;
    border-radius: 999px;
    background: var(--brand-green);
    color: var(--brand-black);
    font-family: var(--font-display);
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    vertical-align: middle;
}

#primaryLookupResult.pn-is-premium {
    border: 2px solid var(--brand-green);
    border-radius: 0.5rem;
    background: rgba(117, 192, 68, 0.08);
    padding: 0.75rem 1rem;
}

#primaryLookupResult.pn-is-premium .domain-available {
    color: #3d6b1f;
}

.spotlight-tld.pn-is-premium {
    border-color: var(--brand-green);
    box-shadow: inset 0 0 0 2px var(--brand-green);
}

.spotlight-tld .pn-premium-badge {
    position: absolute;
    top: 6px;
    left: 6px;
    z-index: 2;
    display: inline-block !important;
    margin: 0;
    padding: 0.1rem 0.4rem;
    line-height: 1.2;
    font-size: 0.6rem;
}

.domain-suggestion.pn-is-premium {
    background: rgba(117, 192, 68, 0.08);
    border-left: 3px solid var(--brand-green);
}

@media (max-width: 575.98px) {
    .pn-hero {
        padding-top: 2.2rem;
    }

    .theme-pacific header.header .logo-img {
        max-width: 160px;
        max-height: 46px;
    }
}
