/* =========================================================
   BD IT CENTER - Domain Module CSS
   Organized Version
========================================================= */

/* ------------------------------
   01. Page Base
------------------------------ */
.bdic-domain-page {
    background: #f8fbff;
    color: #0b1220;
    overflow-x: hidden;
}

/* ------------------------------
   02. Hero Section
------------------------------ */
.bdic-domain-hero {
    position: relative;
    padding: clamp(5rem, 8vw, 8rem) 0 clamp(4rem, 7vw, 6rem);
    background:
        radial-gradient(circle at 82% 18%, rgba(14, 165, 233, .22), transparent 34%),
        linear-gradient(135deg, #07152e 0%, #0f2f73 58%, #123b8f 100%);
    color: #fff;
    overflow: hidden;
}

.bdic-domain-sub-hero {
    padding-top: clamp(4.5rem, 7vw, 7rem);
}

.bdic-domain-hero-pattern {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, .05) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .05) 1px, transparent 1px);
    background-size: 44px 44px;
    opacity: .42;
}

.bdic-domain-hero .container {
    position: relative;
    z-index: 2;
}

.bdic-domain-kicker {
    display: inline-flex;
    padding: .55rem .9rem;
    border-radius: 999px;
    background: rgba(125, 211, 252, .14);
    border: 1px solid rgba(125, 211, 252, .28);
    color: #7dd3fc;
    font-weight: 950;
    font-size: .8rem;
    letter-spacing: .06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.bdic-domain-hero h1 {
    font-size: clamp(2.15rem, 5vw, 4.5rem);
    line-height: 1.06;
    font-weight: 950;
    letter-spacing: -.05em;
    margin-bottom: 1rem;
}

.bdic-domain-hero p {
    max-width: 760px;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.4vw, 1.18rem);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

/* ------------------------------
   03. Hero Buttons
------------------------------ */
.bdic-domain-actions {
    display: flex;
    gap: .85rem;
    flex-wrap: wrap;
}

.bdic-domain-btn {
    min-height: 48px;
    padding: .82rem 1.15rem;
    border-radius: 13px;
    text-decoration: none;
    font-weight: 950;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid transparent;
    transition: .22s ease;
}

.bdic-domain-btn:hover {
    transform: translateY(-2px);
}

.bdic-domain-btn-primary {
    background: #0b5cff;
    color: #fff;
    box-shadow: 0 16px 36px rgba(11, 92, 255, .26);
}

.bdic-domain-btn-primary:hover {
    color: #fff;
}

.bdic-domain-btn-outline {
    background: #fff;
    color: #0f2f73;
    border-color: rgba(255, 255, 255, .45);
}

.bdic-domain-btn-outline:hover {
    color: #0f2f73;
}

/* ------------------------------
   04. Hero Visual
------------------------------ */
.bdic-domain-visual {
    display: flex;
    justify-content: center;
}

.bdic-domain-visual img {
    max-width: 100%;
    border-radius: 30px;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .24);
}

.bdic-domain-visual-card {
    width: min(100%, 430px);
    min-height: 320px;
    border-radius: 30px;
    background: rgba(255, 255, 255, .1);
    border: 1px solid rgba(255, 255, 255, .18);
    backdrop-filter: blur(14px);
    display: grid;
    place-content: center;
    text-align: center;
    padding: 2rem;
    box-shadow: 0 35px 90px rgba(0, 0, 0, .22);
}

.domain-globe {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.bdic-domain-visual-card strong {
    font-size: 1.55rem;
    font-weight: 950;
}

.bdic-domain-visual-card span {
    color: rgba(255, 255, 255, .78);
    margin-top: .6rem;
}

/* ------------------------------
   05. Common Sections
------------------------------ */
.bdic-domain-section,
.bdic-domain-search-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
}

.bdic-domain-soft {
    background: #eef6ff;
}

.bdic-domain-section-head {
    max-width: 820px;
    margin: 0 auto 2.4rem;
}

.bdic-domain-section-head span {
    display: inline-flex;
    margin-bottom: .7rem;
    padding: .5rem .9rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #0b5cff;
    border: 1px solid #dbeafe;
    font-weight: 950;
    font-size: .8rem;
    text-transform: uppercase;
    letter-spacing: .05em;
}

.bdic-domain-section-head h2 {
    font-size: clamp(1.85rem, 3vw, 3rem);
    font-weight: 950;
    letter-spacing: -.035em;
    color: #07152e;
    margin-bottom: .8rem;
}

.bdic-domain-section-head p {
    color: #64748b;
    line-height: 1.8;
    margin: 0;
}

/* ------------------------------
   06. Common Cards
------------------------------ */
.bdic-domain-service-card,
.bdic-tld-card,
.bdic-domain-rich-content,
.bdic-domain-faq details,
.bdic-domain-search-card {
    background: #fff;
    border: 1px solid rgba(15, 47, 115, .08);
    border-radius: 24px;
    box-shadow: 0 18px 52px rgba(15, 47, 115, .08);
}

/* ------------------------------
   07. Service Cards
------------------------------ */
.bdic-domain-service-card {
    height: 100%;
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    text-decoration: none;
    color: #0b1220;
    transition: .22s ease;
}

.bdic-domain-service-card:hover {
    transform: translateY(-5px);
    color: #0b1220;
}

.service-icon {
    width: 70px;
    height: 70px;
    flex: 0 0 auto;
    border-radius: 22px;
    background: linear-gradient(135deg, #0b5cff, #16a34a);
    color: #fff;
    display: grid;
    place-items: center;
    font-size: 2rem;
    font-weight: 950;
}

.bdic-domain-service-card h3 {
    font-weight: 950;
    color: #07152e;
    margin-bottom: .55rem;
}

.bdic-domain-service-card p {
    color: #64748b;
    line-height: 1.7;
}

.bdic-domain-service-card strong {
    color: #0b5cff;
}

/* ------------------------------
   08. TLD Pricing Cards
------------------------------ */
.bdic-tld-card {
    position: relative;
    height: 100%;
    padding: 1.35rem;
    text-align: center;
    overflow: hidden;
}

.tld-badge {
    position: absolute;
    right: 14px;
    top: 14px;
    background: #16a34a;
    color: #fff;
    border-radius: 999px;
    padding: .28rem .6rem;
    font-size: .72rem;
    font-weight: 950;
}

.bdic-tld-card h3 {
    font-size: 2rem;
    font-weight: 950;
    color: #0b5cff;
    margin-bottom: .25rem;
}

.bdic-tld-card.compact h3 {
    font-size: 1.65rem;
}

.bdic-tld-card p {
    color: #64748b;
    margin-bottom: 1rem;
}

.tld-price strong {
    display: block;
    font-size: 1.55rem;
    font-weight: 950;
    color: #07152e;
}

.tld-price del {
    color: #94a3b8;
    font-weight: 850;
    margin-right: .3rem;
}

.tld-price span {
    display: inline-flex;
    margin-top: .35rem;
    border-radius: 999px;
    background: #eff6ff;
    color: #0b5cff;
    padding: .25rem .6rem;
    font-size: .78rem;
    font-weight: 950;
}

.bdic-tld-card ul {
    list-style: none;
    margin: 1rem 0 0;
    padding: 0;
    display: grid;
    gap: .45rem;
    color: #64748b;
    font-weight: 800;
}

/* ------------------------------
   09. Rich Content / SEO Content
------------------------------ */
.bdic-domain-rich-content {
    padding: clamp(1.3rem, 4vw, 2.4rem);
    line-height: 1.9;
    color: #334155;
}

.bdic-domain-rich-content h1,
.bdic-domain-rich-content h2,
.bdic-domain-rich-content h3 {
    font-weight: 950;
    color: #07152e;
    line-height: 1.25;
    margin-top: 1.5rem;
    margin-bottom: .8rem;
}

.bdic-domain-rich-content > h2:first-child {
    margin-top: 0;
}

/* ------------------------------
   10. FAQ Section
------------------------------ */
.bdic-domain-faq {
    max-width: 900px;
    margin: 0 auto;
    display: grid;
    gap: .9rem;
}

.bdic-domain-faq details {
    padding: 1.1rem 1.25rem;
}

.bdic-domain-faq summary {
    cursor: pointer;
    font-weight: 950;
    color: #07152e;
}

.bdic-domain-faq details div {
    margin-top: .8rem;
    color: #64748b;
    line-height: 1.8;
}

/* ------------------------------
   11. Domain Search Card
------------------------------ */
.bdic-domain-search-card {
    padding: clamp(1.3rem, 4vw, 2.4rem);
}

.bdic-domain-search-form {
    max-width: 920px;
    margin: 0 auto;
}

.domain-input-wrap {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px 180px;
    gap: .7rem;
    background: #f8fbff;
    border: 1px solid #dbe5f5;
    border-radius: 18px;
    padding: .7rem;
}

.domain-input-wrap input,
.domain-input-wrap select {
    border: 0;
    background: #fff;
    border-radius: 13px;
    min-height: 54px;
    padding: .75rem 1rem;
    outline: none;
    font-weight: 850;
}

.domain-input-wrap button {
    border: 0;
    border-radius: 13px;
    background: #0b5cff;
    color: #fff;
    font-weight: 950;
    padding: .75rem 1rem;
}

.domain-search-note {
    display: block;
    text-align: center;
    color: #64748b;
    margin-top: .9rem;
}

/* ------------------------------
   12. Domain Search Result
------------------------------ */
.bdic-domain-result {
    margin-top: 1.25rem;
}

.domain-loading,
.domain-alert {
    padding: 1rem 1.2rem;
    border-radius: 16px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    color: #9a3412;
    font-weight: 900;
    text-align: center;
}

.domain-alert span {
    display: block;
    font-weight: 700;
    margin-top: .3rem;
}

.domain-result-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
    background: #fff;
    border: 1px solid rgba(15, 47, 115, .08);
    border-radius: 18px;
    box-shadow: 0 14px 40px rgba(15, 47, 115, .08);
    padding: 1rem;
}

.domain-result-info {
    display: flex;
    align-items: center;
    gap: .9rem;
    min-width: 0;
}

.domain-result-info span {
    width: 52px;
    height: 52px;
    border-radius: 999px;
    display: grid;
    place-items: center;
    background: #16a34a;
    color: #fff;
    font-size: 1.7rem;
    font-weight: 950;
    flex: 0 0 auto;
}

.domain-result-card.unavailable .domain-result-info span {
    background: #64748b;
}

.domain-result-info h3 {
    font-weight: 950;
    color: #07152e;
    margin: 0;
    word-break: break-word;
}

.domain-result-info p {
    margin: .25rem 0 0;
    color: #64748b;
}

.domain-result-action {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.domain-price {
    text-align: right;
}

.domain-price strong {
    display: block;
    color: #07152e;
    font-size: 1.15rem;
    font-weight: 950;
}

.domain-price small {
    color: #64748b;
}

.domain-result-action button,
.domain-result-card > button {
    border: 0;
    border-radius: 12px;
    background: #0b5cff;
    color: #fff;
    min-height: 46px;
    padding: .7rem 1rem;
    font-weight: 950;
}

.domain-result-card > button[disabled] {
    background: #64748b;
}

/* ------------------------------
   13. Responsive Design
------------------------------ */
@media (max-width: 991.98px) {
    .bdic-domain-hero {
        text-align: center;
    }

    .bdic-domain-actions {
        justify-content: center;
    }

    .domain-input-wrap {
        grid-template-columns: 1fr;
    }

    .domain-price {
        text-align: left;
    }
}

@media (max-width: 575.98px) {
    .bdic-domain-actions {
        flex-direction: column;
    }

    .bdic-domain-btn {
        width: 100%;
    }

    .bdic-domain-service-card {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin: 0 auto;
    }

    .domain-result-card,
    .domain-result-action {
        align-items: flex-start;
        flex-direction: column;
        width: 100%;
    }

    .domain-result-action button {
        width: 100%;
    }
}