/* Domain & Hosting Module - Cloud Dev Nest */

:root {
    --dh-primary: #1a6fd4;
    --dh-primary-dark: #0d4a9e;
    --dh-accent: #ff7a00;
    --dh-accent-hover: #e56d00;
    --dh-text: #1e293b;
    --dh-muted: #64748b;
    --dh-light: #f8fafc;
    --dh-border: #e2e8f0;
}

.dh-page { color: var(--dh-text); }

.dh-hero {
    background: linear-gradient(135deg, var(--dh-primary) 0%, var(--dh-primary-dark) 100%);
    color: #fff;
    padding: 4rem 0 3.5rem;
    position: relative;
    overflow: hidden;
}

.dh-hero::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 20%, rgba(255,255,255,.12) 0%, transparent 45%),
                radial-gradient(circle at 10% 80%, rgba(255,255,255,.08) 0%, transparent 40%);
    pointer-events: none;
}

.dh-hero .container { position: relative; z-index: 1; }

.dh-hero-title {
    font-size: clamp(1.75rem, 4vw, 2.75rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.dh-hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.2rem);
    opacity: .92;
    margin-bottom: 1.5rem;
}

.dh-hero-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.5rem;
}

.dh-hero-list li {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin-bottom: .65rem;
    font-size: .98rem;
}

.dh-hero-list li i { color: #93c5fd; margin-top: .2rem; }

.dh-btn-primary {
    background: var(--dh-accent);
    border: none;
    color: #fff;
    font-weight: 600;
    padding: .75rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    transition: background .2s;
}

.dh-btn-primary:hover { background: var(--dh-accent-hover); color: #fff; }

.dh-btn-outline {
    border: 2px solid #fff;
    color: #fff;
    background: transparent;
    font-weight: 600;
    padding: .72rem 1.5rem;
    border-radius: 999px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .5rem;
}

.dh-btn-outline:hover { background: rgba(255,255,255,.12); color: #fff; }

.dh-section-label {
    color: var(--dh-accent);
    font-weight: 700;
    font-size: .85rem;
    letter-spacing: .08em;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: .5rem;
}

.dh-section-label::before,
.dh-section-label::after {
    content: "—";
    margin: 0 .5rem;
    opacity: .7;
}

.dh-section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    text-align: center;
    margin-bottom: .75rem;
    line-height: 1.25;
}

.dh-section-title .tx-primary { color: var(--dh-primary); }

.dh-section-desc {
    text-align: center;
    color: var(--dh-muted);
    max-width: 720px;
    margin: 0 auto 2.5rem;
}

.dh-feature-card {
    background: #fff;
    border: 1px solid var(--dh-border);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 4px 20px rgba(15,23,42,.06);
    transition: transform .2s, box-shadow .2s;
}

.dh-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(15,23,42,.1);
}

.dh-feature-icon {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

.dh-feature-icon.blue { background: var(--dh-primary); }
.dh-feature-icon.orange { background: var(--dh-accent); }
.dh-feature-icon.green { background: #16a34a; }
.dh-feature-icon.yellow { background: #eab308; color: #1e293b; }

.dh-check-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dh-check-list li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    margin-bottom: .65rem;
    font-size: .95rem;
}

.dh-check-list li i { color: var(--dh-primary); margin-top: .25rem; }

/* Domain search bar */
.dh-domain-search {
    background: #fff;
    border-radius: 12px;
    padding: .5rem;
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    box-shadow: 0 8px 32px rgba(0,0,0,.15);
}

.dh-domain-search input {
    flex: 1;
    min-width: 180px;
    border: none;
    padding: .85rem 1rem;
    font-size: 1rem;
    outline: none;
}

.dh-domain-search select {
    border: 1px solid var(--dh-border);
    border-radius: 8px;
    padding: .75rem 1rem;
    min-width: 100px;
}

.dh-domain-search button {
    background: var(--dh-primary);
    color: #fff;
    border: none;
    border-radius: 8px;
    padding: .85rem 1.5rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Quick price bar */
.dh-quick-prices {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    margin-top: 2rem;
}

.dh-quick-price-item {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 12px;
    padding: .75rem 1.25rem;
    text-align: center;
    min-width: 100px;
}

.dh-quick-price-item strong { display: block; font-size: 1.1rem; }
.dh-quick-price-item span { font-size: .85rem; opacity: .9; }

/* Pricing table */
.dh-pricing-wrap {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 0 -12px;
    padding: 0 12px 1rem;
}

.dh-pricing-table {
    width: 100%;
    min-width: 900px;
    border-collapse: separate;
    border-spacing: 0;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(15,23,42,.08);
}

.dh-pricing-table th,
.dh-pricing-table td {
    padding: 1rem .85rem;
    text-align: center;
    border-bottom: 1px solid var(--dh-border);
    vertical-align: middle;
    font-size: .92rem;
}

.dh-pricing-table thead th {
    background: #fff;
    border-bottom: 2px solid var(--dh-border);
    padding-top: 1.25rem;
}

.dh-pricing-table .feature-col {
    background: var(--dh-primary);
    color: #fff;
    text-align: left;
    font-weight: 600;
    min-width: 180px;
    position: sticky;
    left: 0;
    z-index: 2;
}

.dh-pricing-table tbody td:first-child {
    background: var(--dh-primary);
    color: #fff;
    text-align: left;
    font-weight: 500;
    position: sticky;
    left: 0;
    z-index: 1;
}

.dh-plan-name {
    font-weight: 800;
    font-size: 1rem;
    margin-bottom: .35rem;
}

.dh-plan-price {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--dh-primary);
    margin: .5rem 0;
}

.dh-plan-price small {
    font-size: .75rem;
    font-weight: 500;
    color: var(--dh-muted);
}

.dh-popular-badge {
    background: var(--dh-accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 700;
    padding: .2rem .65rem;
    border-radius: 999px;
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: .35rem;
}

.dh-order-btn {
    display: inline-block;
    border: 2px solid var(--dh-primary);
    color: var(--dh-primary);
    background: transparent;
    padding: .45rem 1rem;
    border-radius: 999px;
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
    transition: all .2s;
}

.dh-order-btn:hover {
    background: var(--dh-primary);
    color: #fff;
}

.dh-domain-table {
    width: 100%;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(15,23,42,.06);
}

.dh-domain-table th {
    background: var(--dh-primary);
    color: #fff;
    padding: 1rem;
    font-weight: 600;
}

.dh-domain-table td {
    padding: .85rem 1rem;
    border-bottom: 1px solid var(--dh-border);
}

.dh-domain-table tbody tr:hover { background: var(--dh-light); }

/* Dark specs section */
.dh-specs-section {
    background: linear-gradient(135deg, var(--dh-primary-dark) 0%, #0a3d7a 100%);
    color: #fff;
    padding: 4rem 0;
}

.dh-spec-card {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px;
    padding: 1.5rem;
    height: 100%;
}

.dh-spec-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: .75rem; }
.dh-spec-card ul { list-style: none; padding: 0; margin: 0; }
.dh-spec-card li { margin-bottom: .5rem; font-size: .9rem; opacity: .92; padding-left: 1rem; position: relative; }
.dh-spec-card li::before { content: "•"; position: absolute; left: 0; color: #93c5fd; }

/* FAQ accordion */
.dh-faq-section { padding: 4rem 0; background: var(--dh-light); }

.dh-accordion .accordion-item {
    border: 1px solid var(--dh-border);
    border-radius: 12px !important;
    margin-bottom: .75rem;
    overflow: hidden;
    background: #fff;
}

.dh-accordion .accordion-button {
    font-weight: 600;
    font-size: 1rem;
    padding: 1.1rem 1.25rem;
    box-shadow: none !important;
    background: #fff;
    color: var(--dh-text);
}

.dh-accordion .accordion-button:not(.collapsed) {
    background: #eff6ff;
    color: var(--dh-primary);
}

.dh-accordion .accordion-button::after {
    background-image: none;
    content: "+";
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--dh-primary);
    width: auto;
    height: auto;
    transform: none !important;
}

.dh-accordion .accordion-button:not(.collapsed)::after {
    content: "−";
}

.dh-accordion .accordion-body {
    padding: 0 1.25rem 1.1rem;
    color: var(--dh-muted);
    line-height: 1.65;
}

/* CTA banner */
.dh-cta-banner {
    background: linear-gradient(135deg, var(--dh-primary) 0%, var(--dh-primary-dark) 100%);
    color: #fff;
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
}

.dh-cta-banner h3 { font-weight: 800; margin-bottom: .75rem; }

/* Support section */
.dh-support-section {
    background: linear-gradient(135deg, var(--dh-primary) 0%, var(--dh-primary-dark) 100%);
    color: #fff;
    padding: 4rem 0;
}

.dh-support-img {
    width: 100%;
    max-width: 420px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.dh-under-hood-card {
    background: #fff;
    border-radius: 16px;
    padding: 0 0 1.75rem;
    height: 100%;
    box-shadow: 0 8px 32px rgba(15,23,42,.08);
    border: 1px solid var(--dh-border);
    overflow: hidden;
}

.dh-card-illustration-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 210px;
    padding: 1.25rem 1rem;
    margin-bottom: 1rem;
    background: linear-gradient(180deg, #f8fafc 0%, #fff 100%);
    border-bottom: 1px solid var(--dh-border);
}

.dh-under-hood-card .dh-card-illustration {
    width: 100%;
    max-width: 320px;
    height: 190px;
    object-fit: contain;
    object-position: center;
    display: block;
    margin: 0 auto;
}

.dh-under-hood-card h4 {
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--dh-primary);
    padding: 0 1.75rem;
}

.dh-under-hood-card .dh-check-list {
    padding: 0 1.75rem;
}

/* Speed cards */
.dh-speed-card {
    background: #fff;
    border: 1px solid var(--dh-border);
    border-radius: 12px;
    padding: 1.25rem;
    height: 100%;
}

.dh-speed-tag {
    display: inline-block;
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: .2rem .5rem;
    border-radius: 4px;
    margin-bottom: .5rem;
    color: #fff;
}

.dh-speed-tag.tools { background: var(--dh-primary); }
.dh-speed-tag.ssd { background: var(--dh-accent); }
.dh-speed-tag.server { background: #16a34a; }
.dh-speed-tag.cdn { background: #dc2626; }

.dh-speed-img {
    width: 100%;
    max-width: 480px;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.dh-contact-note {
    text-align: center;
    color: var(--dh-muted);
    font-size: .95rem;
    margin-top: 1.5rem;
}

.dh-contact-note a { color: var(--dh-primary); font-weight: 600; text-decoration: none; }

/* Section illustrations */
.dh-section-img {
    width: 100%;
    max-width: 520px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.dh-section-img-wrap {
    position: relative;
    padding: .5rem;
}

.dh-plugins-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    max-width: 960px;
    margin: 0 auto;
}

@media (min-width: 992px) {
    .dh-plugins-grid {
        grid-template-columns: repeat(6, 1fr);
    }
}

.dh-plugin-card {
    background: #fff;
    border: 1px solid var(--dh-border);
    border-radius: 14px;
    padding: 1.25rem 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 88px;
    box-shadow: 0 4px 16px rgba(15,23,42,.05);
    transition: transform .2s, box-shadow .2s;
}

.dh-plugin-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(15,23,42,.1);
}

.dh-plugin-card img {
    width: 100%;
    max-width: 130px;
    max-height: 48px;
    min-height: 28px;
    height: auto;
    object-fit: contain;
    display: block;
}

.dh-domain-visual-row {
    align-items: center;
}

.dh-domain-visual-row .dh-section-img {
    max-width: 460px;
}

@media (max-width: 991.98px) {
    .dh-hero { padding: 3rem 0 2.5rem; }
    .dh-pricing-table { min-width: 780px; }
}

@media (max-width: 575.98px) {
    .dh-hero-actions { flex-direction: column; }
    .dh-hero-actions .dh-btn-primary,
    .dh-hero-actions .dh-btn-outline { width: 100%; justify-content: center; }
    .dh-quick-prices { gap: .5rem; }
    .dh-quick-price-item { min-width: calc(50% - .5rem); flex: 1; }
}
