/* =============================================
   DATACENTER.CSS — DONHOSTER
   Brand: #6B3DBB · #8E2FE4 · #10B981 · #FCD34D
   ============================================= */

.section-container { max-width: 1200px; margin: 0 auto; padding: 0 2rem; }

.section-header { text-align: center; margin-bottom: 3.5rem; }
.section-header h2 { font-size: clamp(1.75rem, 3.5vw, 2.5rem); font-weight: 800; color: var(--text-primary); margin-bottom: 1rem; line-height: 1.2; }
.section-header p  { font-size: 1.0625rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }

.dc-section-tag {
    display: inline-block;
    background: rgba(107,61,187,0.1);
    color: #6B3DBB;
    border: 1px solid rgba(107,61,187,0.25);
    border-radius: 50px;
    padding: 6px 18px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.pulse-dot {
    width: 9px; height: 9px;
    background: #10B981; border-radius: 50%;
    display: inline-block;
    animation: pulse-green 2s infinite; flex-shrink: 0;
}
@keyframes pulse-green {
    0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
    50%      { box-shadow: 0 0 0 8px rgba(16,185,129,0); }
}

/* ════════════════════════════════════════════
   HERO
   ════════════════════════════════════════════ */
.dc-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    background: #0F172A;
    overflow: hidden;
}

.dc-hero-img {
    position: absolute;
    inset: 0;
}
.dc-hero-img img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dc-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107,61,187,0.85) 0%, rgba(15,23,42,0.92) 100%);
}

.dc-hero-content {
    position: relative;
    z-index: 2;
    max-width: 780px;
    padding: 80px 0;
}

.dc-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 9px 20px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    margin-bottom: 28px;
}

.dc-hero-title {
    font-size: clamp(2.25rem, 5vw, 3.75rem);
    font-weight: 900;
    color: white;
    margin-bottom: 20px;
    line-height: 1.1;
}

.dc-gradient-text {
    background: linear-gradient(135deg, #FCD34D 0%, #F97316 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}

.dc-hero-subtitle {
    font-size: 1.125rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 32px;
    line-height: 1.7;
    max-width: 620px;
}

.dc-hero-pillars {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 36px;
}

.dc-pillar {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
}
.dc-pillar svg { stroke: #FCD34D; }

.dc-hero-cta {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}

.btn-large {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 10px;
    text-decoration: none;
    transition: all var(--transition-base);
    border: 2px solid transparent;
}
.btn-large.btn-primary { background: linear-gradient(135deg,#10B981,#059669); color: white; box-shadow: 0 6px 20px rgba(16,185,129,0.35); }
.btn-large.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(16,185,129,0.5); }
.btn-large.btn-secondary { background: rgba(255,255,255,0.1); color: white; border-color: rgba(255,255,255,0.35); }
.btn-large.btn-secondary:hover { background: rgba(255,255,255,0.18); }

.dc-scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    animation: bounceDown 2s ease-in-out infinite;
}
@keyframes bounceDown {
    0%,100% { transform: translateX(-50%) translateY(0); }
    50%      { transform: translateX(-50%) translateY(6px); }
}

/* ════════════════════════════════════════════
   STATS BAR
   ════════════════════════════════════════════ */
.dc-stats-bar {
    background: var(--bg-card);
    border-bottom: 1px solid var(--border-color);
}

.dc-stats-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.dc-stat {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px 16px;
    flex: 1;
}

.dc-stat-num   { font-size: 1.5rem; font-weight: 900; color: #6B3DBB; line-height: 1; margin-bottom: 5px; white-space: nowrap; }
.dc-stat-label { font-size: 0.75rem; color: var(--text-secondary); font-weight: 500; text-transform: uppercase; letter-spacing: 0.5px; white-space: nowrap; }

.dc-stat-div {
    width: 1px;
    height: 40px;
    background: var(--border-color);
    flex-shrink: 0;
}

/* ════════════════════════════════════════════
   FACILITY — 2 columns
   ════════════════════════════════════════════ */
.dc-facility { background: var(--bg-primary); }

.dc-facility-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

/* Image side */
.dc-facility-image {
    position: relative;
    overflow: hidden;
    min-height: 500px;
}

.dc-facility-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.dc-facility:hover .dc-facility-image img { transform: scale(1.03); }

.dc-facility-address {
    position: absolute;
    bottom: 20px; left: 20px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
    display: flex; align-items: center; gap: 7px;
}
.dc-facility-address svg { stroke: #10B981; }

/* Copy side */
.dc-facility-copy {
    padding: 60px 56px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-secondary);
}

.dc-facility-copy h2 {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.25;
}

.dc-facility-copy > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 14px;
}

.dc-facility-specs {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

.dc-spec-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9375rem;
    color: var(--text-secondary);
    font-weight: 500;
}

/* ════════════════════════════════════════════
   INFRASTRUCTURE CARDS
   ════════════════════════════════════════════ */
.dc-infra { padding: 80px 0; background: var(--bg-secondary); }

.dc-infra-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.dc-infra-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    padding: 32px 26px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dc-infra-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(135deg, #6B3DBB, #8E2FE4);
    opacity: 0;
    transition: opacity 0.3s;
}

.dc-infra-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-xl); border-color: #6B3DBB; }
.dc-infra-card:hover::before { opacity: 1; }

.dc-infra-icon {
    width: 60px; height: 60px;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 18px;
}
.dc-icon--purple { background: rgba(107,61,187,0.1); }
.dc-icon--purple svg { stroke: #6B3DBB; }
.dc-icon--blue   { background: rgba(59,130,246,0.1); }
.dc-icon--blue svg { stroke: #3B82F6; }
.dc-icon--green  { background: rgba(16,185,129,0.1); }
.dc-icon--green svg { stroke: #10B981; }
.dc-icon--yellow { background: rgba(245,158,11,0.1); }
.dc-icon--yellow svg { stroke: #F59E0B; }

.dc-infra-card h3 { font-size: 1.125rem; font-weight: 700; color: var(--text-primary); margin-bottom: 10px; }
.dc-infra-card p  { font-size: 0.9375rem; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* ════════════════════════════════════════════
   SERVICES — 2 column
   ════════════════════════════════════════════ */
.dc-services { background: var(--bg-primary); overflow: hidden; }

.dc-services-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.dc-services-copy {
    padding: 72px 56px 72px 0;
    max-width: 100%;
    margin-left: calc((100vw - 1200px) / 2);
    padding-left: 2rem;
}

.dc-services-copy h2 {
    font-size: clamp(1.625rem, 3vw, 2.25rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.25;
}

.dc-services-copy > p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.75;
    margin-bottom: 28px;
}

.dc-services-list {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dc-services-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}

.dc-svc-icon {
    width: 44px; height: 44px;
    background: rgba(107,61,187,0.1);
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.dc-svc-icon svg { stroke: #6B3DBB; }

.dc-services-list li > div { display: flex; flex-direction: column; gap: 3px; padding-top: 4px; }
.dc-services-list li strong { font-size: 0.9375rem; color: var(--text-primary); font-weight: 700; }
.dc-services-list li span   { font-size: 0.875rem; color: var(--text-secondary); }

.dc-services-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #6B3DBB, #8E2FE4);
    color: white;
    padding: 13px 28px;
    border-radius: 10px;
    font-weight: 700;
    font-size: 1rem;
    text-decoration: none;
    transition: all var(--transition-base);
    box-shadow: 0 6px 20px rgba(107,61,187,0.3);
}
.dc-services-cta:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(107,61,187,0.45); }

/* Services image side */
.dc-services-image {
    position: relative;
    overflow: hidden;
}

.dc-services-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 500px;
}

.dc-img-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 7px;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(8px);
    color: white;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.8125rem;
    font-weight: 600;
}

.dc-img-badge--tl { top: 20px; left: 20px; }
.dc-img-badge--br { bottom: 20px; right: 20px; }
.dc-img-badge svg { flex-shrink: 0; }

/* ════════════════════════════════════════════
   GLOBAL NETWORK MAP
   ════════════════════════════════════════════ */
.dc-network { padding: 80px 0; background: var(--bg-secondary); }

.dc-network-map {
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 28px;
    box-shadow: 0 24px 60px rgba(0,0,0,0.35);
    border: 1px solid rgba(107,61,187,0.3);
    line-height: 0;
}

.dc-map-svg {
    width: 100%;
    height: auto;
    display: block;
}

/* Mobile fallback list */
.dc-network-list {
    display: none;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.dc-net-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 10px 14px;
    font-size: 0.875rem;
    color: var(--text-secondary);
}

.dc-net-item--primary { border-color: #10B981; background: rgba(16,185,129,0.05); }

.dc-net-dot {
    width: 10px; height: 10px;
    border-radius: 50%;
    background: #6B3DBB;
    flex-shrink: 0;
}
.dc-net-dot--active  { background: #10B981; box-shadow: 0 0 0 3px rgba(16,185,129,0.2); }
.dc-net-dot--network { background: #9CA3AF; }

.dc-net-badge {
    margin-left: auto;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 50px;
    white-space: nowrap;
}
.dc-net-badge          { background: rgba(107,61,187,0.1); color: #6B3DBB; }
.dc-net-badge--dc      { background: rgba(107,61,187,0.1); color: #6B3DBB; }
.dc-net-badge--net     { background: rgba(156,163,175,0.15); color: var(--text-secondary); }

/* ════════════════════════════════════════════
   GALLERY
   ════════════════════════════════════════════ */
.dc-gallery { padding: 80px 0; background: var(--bg-primary); }

.dc-gallery-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    grid-template-rows: auto auto;
    gap: 16px;
}

.dc-gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 14px;
    background: var(--bg-secondary);
}

.dc-gallery-item--tall { grid-row: 1 / 3; }
.dc-gallery-item--wide { grid-column: 1 / 3; }

.dc-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    min-height: 200px;
    transition: transform 0.4s ease;
}

.dc-gallery-item:hover img { transform: scale(1.05); }

.dc-gallery-label {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
    color: white;
    padding: 20px 16px 12px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* ════════════════════════════════════════════
   FINAL CTA
   ════════════════════════════════════════════ */
.dc-cta {
    position: relative;
    padding: 100px 0;
    overflow: hidden;
    background: #0F172A;
}

.dc-cta-bg {
    position: absolute;
    inset: 0;
}
.dc-cta-bg img { width: 100%; height: 100%; object-fit: cover; display: block; }

.dc-cta-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(107,61,187,0.9) 0%, rgba(15,23,42,0.95) 100%);
}

.dc-cta-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.dc-cta-content h2 {
    font-size: clamp(1.875rem, 4vw, 3rem);
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    line-height: 1.15;
}

.dc-cta-content > p {
    font-size: 1.0625rem;
    color: rgba(255,255,255,0.85);
    margin-bottom: 36px;
    line-height: 1.7;
}

.dc-cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 28px;
}

.dc-cta-trust {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.dc-cta-trust span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.875rem;
    color: rgba(255,255,255,0.75);
}
.dc-cta-trust svg { stroke: #10B981; }

/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (≤1024px)
   ════════════════════════════════════════════ */
@media (max-width: 1024px) {
    .dc-facility-inner  { grid-template-columns: 1fr; }
    .dc-facility-image  { min-height: 360px; }
    .dc-facility-copy   { padding: 48px 40px; }

    .dc-services-inner  { grid-template-columns: 1fr; }
    .dc-services-copy   { padding: 56px 2rem; margin-left: 0; order: 1; }
    .dc-services-image  { order: 0; min-height: 320px; }

    .dc-infra-grid      { grid-template-columns: repeat(2, 1fr); }
    .dc-stats-row       { flex-wrap: wrap; }
    .dc-stat            { min-width: 33%; }

    .dc-gallery-grid { grid-template-columns: 1fr 1fr; }
    .dc-gallery-item--tall { grid-row: auto; }
    .dc-gallery-item--wide { grid-column: auto; }
}

/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE (≤768px)
   ════════════════════════════════════════════ */
@media (max-width: 768px) {
    .dc-hero            { min-height: auto; }
    .dc-hero-content    { padding: 60px 0; }
    .dc-hero-cta        { flex-direction: column; }
    .btn-large          { width: 100%; max-width: 320px; justify-content: center; }

    .dc-stats-row       { display: grid; grid-template-columns: repeat(3, 1fr); }
    .dc-stat-div        { display: none; }
    .dc-stat            { padding: 16px 8px; border-right: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); }
    .dc-stat:nth-child(3n) { border-right: none; }
    .dc-stat:nth-last-child(-n+3) { border-bottom: none; }
    .dc-stat-num        { font-size: 1.125rem; }

    .dc-infra-grid      { grid-template-columns: 1fr; }
    .dc-facility-copy   { padding: 36px 24px; }

    /* Map: hide on mobile, show list */
    .dc-network-map     { display: none; }
    .dc-network-list    { display: grid; }

    .dc-gallery-grid    { grid-template-columns: 1fr; }
    .dc-cta-buttons     { flex-direction: column; align-items: center; }
    .dc-cta-trust       { gap: 12px; }
    .section-container  { padding: 0 1.25rem; }
}