/* hosting/hosting.css — Hosting & Infrastructure page styles */

/* Apply brand blue accent throughout */
.panel-icon,
.back-link,
.stat-number,
.why-icon,
.section-title {
    color: var(--sc-accent);
}

.panel-link {
    border-color: var(--sc-accent);
    color: var(--sc-accent);
}

.panel-link:hover {
    background: var(--sc-accent);
    color: #fff;
}

.service-panel:hover {
    box-shadow: 0 8px 32px var(--sc-accent-shadow);
}

/* ── Hero ─────────────────────────────────────────────── */
#hosting-hero {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 100vh;
    padding: 4rem 2rem;
    background: radial-gradient(ellipse at 50% 40%, #061824 0%, #000 70%);
    overflow: hidden;
}

/* Subtle data-center dot grid */
#hosting-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(1px 1px at 10% 25%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 35% 60%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1px 1px at 60% 20%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 85% 75%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 20% 85%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 75% 10%, rgba(255,255,255,0.45) 0%, transparent 100%),
        radial-gradient(1px 1px at 50% 90%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 65% 45%, rgba(0,122,204,0.5) 0%, transparent 100%),
        radial-gradient(2px 2px at 28% 35%, rgba(0,122,204,0.35) 0%, transparent 100%),
        radial-gradient(2px 2px at 90% 55%, rgba(0,122,204,0.4) 0%, transparent 100%);
    pointer-events: none;
}

.hosting-hero-logo {
    width: clamp(60px, 10vw, 100px);
    margin-bottom: 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out forwards;
}

.hosting-hero-title {
    font-size: clamp(2rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: 0.05em;
    margin: 0 0 0.5rem;
    color: var(--sc-text-light);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

.hosting-hero-division {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--sc-accent);
    margin: 0 0 1.5rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.9s forwards;
}

.hosting-hero-slogan {
    font-size: clamp(1rem, 2.5vw, 1.4rem);
    font-style: italic;
    color: var(--sc-text-dim);
    margin: 0 0 2.5rem;
    max-width: min(640px, 90vw);
    opacity: 0;
    animation: fadeIn 1s ease-out 1.2s forwards;
}

.hosting-cta-group {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
    opacity: 0;
    animation: fadeIn 1s ease-out 1.6s forwards;
}

.cta-primary {
    padding: 0.75rem 2rem;
    background: var(--sc-accent);
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 600;
    text-decoration: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.cta-primary:hover {
    opacity: 0.85;
    transform: translateY(-2px);
}

.cta-secondary {
    padding: 0.75rem 2rem;
    border: 1px solid var(--sc-accent);
    color: var(--sc-accent);
    border-radius: 6px;
    font-size: 0.95rem;
    text-decoration: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.cta-secondary:hover {
    background: var(--sc-accent);
    color: #fff;
}

/* ── Stats bar ───────────────────────────────────────── */
#hosting-stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    background: var(--sc-bg-header);
    border-top: 1px solid var(--sc-border-dark);
    border-bottom: 1px solid var(--sc-border-dark);
}

#hosting-stats .stat-item {
    flex: 1 1 150px;
    text-align: center;
    padding: 2rem 1rem;
    border-right: 1px solid var(--sc-border-dark);
}

#hosting-stats .stat-item:last-child {
    border-right: none;
}

/* ── Services section ────────────────────────────────── */
#hosting-services {
    padding: 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    background-color: var(--sc-bg-dark);
}

#hosting-services h2.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin: 0 0 1rem;
    color: var(--sc-text-light);
    width: 100%;
}

.hosting-panels {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    width: 100%;
}

/* Coming Soon panel */
.coming-soon-panel {
    position: relative;
    opacity: 0.75;
    border-style: dashed;
}

.coming-soon-panel:hover {
    opacity: 1;
    box-shadow: 0 8px 32px rgba(0, 122, 204, 0.15);
}

.panel-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(0, 122, 204, 0.15);
    border: 1px solid var(--sc-accent);
    color: var(--sc-accent);
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    padding: 0.25rem 0.65rem;
    border-radius: 4px;
}

.panel-link-disabled {
    display: inline-block;
    padding: 0.55rem 1.4rem;
    border: 1px solid var(--sc-text-subtle);
    color: var(--sc-text-subtle);
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: not-allowed;
    pointer-events: none;
    text-decoration: none;
}

/* ── Why StarCircuit section ─────────────────────────── */
#hosting-why {
    padding: 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.5rem;
    background-color: var(--sc-bg-header);
    border-top: 1px solid var(--sc-border-subtle);
    border-bottom: 1px solid var(--sc-border-subtle);
}

#hosting-why h2.section-title {
    font-size: 1.8rem;
    text-align: center;
    margin: 0 0 0.5rem;
    color: var(--sc-text-light);
    width: 100%;
}

.why-grid {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    width: 100%;
    max-width: 960px;
}

.why-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    background: var(--sc-bg-panel);
    border: 1px solid var(--sc-border);
    border-radius: 10px;
    padding: 2rem 1.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 24px var(--sc-accent-shadow);
}

.why-icon {
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.why-item h3 {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    color: var(--sc-text-light);
}

.why-item p {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--sc-text-dim);
    margin: 0;
}

/* ── Contact CTA ─────────────────────────────────────── */
#hosting-contact {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--sc-bg-dark) 0%, #061824 100%);
}

#hosting-contact h2 {
    font-size: 2rem;
    margin: 0 0 0.75rem;
    color: var(--sc-text-light);
}

#hosting-contact p {
    color: var(--sc-text-faint);
    margin: 0 0 2rem;
    font-size: 1rem;
    line-height: 1.7;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
}

/* ── Responsive ──────────────────────────────────────── */
@media (min-width: 768px) {
    .hosting-panels {
        flex-direction: row;
        justify-content: center;
        align-items: stretch;
        flex-wrap: wrap;
        max-width: 1200px;
        margin: 0 auto;
    }

    .hosting-panels .service-panel {
        max-width: 340px;
    }

    .why-grid {
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }

    .why-item {
        flex: 1 1 200px;
        max-width: 220px;
    }
}

@media (max-width: 479px) {
    #hosting-hero {
        padding: 3rem 1.5rem;
    }

    #hosting-stats .stat-item {
        padding: 1.25rem 0.75rem;
    }

    #hosting-services {
        padding: 3.5rem 1.25rem;
    }

    #hosting-why {
        padding: 3.5rem 1.25rem;
    }

    #hosting-contact {
        padding: 3.5rem 1.5rem;
    }
}

@media (min-width: 1280px) {
    #hosting-hero {
        padding: 6rem 4rem;
    }

    #hosting-services {
        padding: 7rem 4rem;
    }

    .hosting-panels .service-panel {
        max-width: 380px;
    }

    #hosting-why {
        padding: 7rem 4rem;
    }

    #hosting-contact {
        padding: 7rem 4rem;
    }
}
