/* === Homepage Styles (self-contained, hp- namespaced) === */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: #0a0a14;
    color: #e0e0e0;
    min-height: 100%;
    overflow-x: hidden;
}

/* === Gradient Text === */
.hp-gradient {
    background: linear-gradient(135deg, #00f0ff, #b347d9, #ff2d7b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* === Navbar === */
.hp-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    height: 56px;
    background: rgba(10, 10, 20, 0.92);
    border-bottom: 1px solid rgba(0, 240, 255, 0.08);
    position: sticky;
    top: 0;
    z-index: 200;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.hp-nav-brand {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: #00f0ff;
    letter-spacing: 0.5px;
    text-decoration: none;
}

.hp-nav-links {
    display: flex;
    gap: 28px;
}

.hp-nav-links a {
    color: #c8c8d0;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s ease;
}

.hp-nav-links a:hover {
    color: #ffffff;
}

/* === Hero === */
.hp-hero {
    position: relative;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hp-hero-bg {
    position: absolute;
    inset: 0;
    background-image: url("/assets/topo_03_particle_connections.png");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: rotate(180deg);
    z-index: 0;
}

.hp-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 40px 24px;
}

.hp-hero-title {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.15;
    color: #ffffff;
    margin-bottom: 20px;
}

.hp-hero-title span {
    display: block;
}

.hp-hero-sub {
    font-size: 1.1rem;
    color: #a0a0b0;
    line-height: 1.7;
    max-width: 540px;
    margin: 0 auto 32px auto;
}

.hp-hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
}

/* === Buttons === */
.hp-btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: linear-gradient(135deg, #00f0ff 0%, #b347d9 100%);
    color: #0a0a14;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}

.hp-btn-primary:hover { opacity: 0.9; }
.hp-btn-primary:active { transform: scale(0.98); }
.hp-btn-lg { padding: 16px 40px; font-size: 1.05rem; }

.hp-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    background: rgba(10, 10, 20, 0.6);
    color: #e0e0e0;
    font-size: 0.95rem;
    font-weight: 600;
    border: 1px solid rgba(0, 240, 255, 0.15);
    border-radius: 8px;
    text-decoration: none;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: border-color 0.2s, color 0.2s, background 0.2s;
}

.hp-btn-secondary:hover {
    border-color: rgba(0, 240, 255, 0.4);
    color: #ffffff;
    background: rgba(10, 10, 20, 0.8);
}

/* === Sections === */
.hp-section {
    padding: 60px 24px;
    display: flex;
    justify-content: center;
}

/* === Glass Card === */
.hp-card {
    width: 100%;
    max-width: 1000px;
    background: rgba(10, 10, 20, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(0, 240, 255, 0.1);
    border-radius: 12px;
    padding: 48px 40px;
    text-align: center;
}

.hp-card-narrow {
    max-width: 640px;
}

/* === Section Typography === */
.hp-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #00f0ff;
    margin-bottom: 12px;
}

.hp-heading {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
}

.hp-desc {
    font-size: 1rem;
    color: #a0a0b0;
    line-height: 1.7;
    max-width: 720px;
    margin: 0 auto 40px auto;
}

/* === Pillar Cards === */
.hp-pillars {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    text-align: center;
}

.hp-pillar {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 10px;
    padding: 28px 22px;
    transition: border-color 0.3s, transform 0.2s, background 0.2s;
}

.hp-pillar:hover {
    border-color: rgba(0, 240, 255, 0.25);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.hp-pillar-icon {
    font-size: 1.4rem;
    color: #b347d9;
    margin-bottom: 14px;
}

.hp-pillar h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.hp-pillar p {
    font-size: 0.85rem;
    color: #888898;
    line-height: 1.6;
    margin: 0;
}

/* === Service Cards === */
.hp-services {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    text-align: left;
}

.hp-service {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(0, 240, 255, 0.08);
    border-radius: 10px;
    padding: 28px 24px;
    transition: border-color 0.3s, transform 0.2s, background 0.2s;
}

.hp-service:hover {
    border-color: rgba(179, 71, 217, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-3px);
}

.hp-svc-num {
    display: inline-block;
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #00f0ff;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.hp-service h3 {
    font-family: "Space Grotesk", "Inter", sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
}

.hp-service p {
    font-size: 0.85rem;
    color: #888898;
    line-height: 1.6;
    margin: 0;
}

/* === Footer === */
.hp-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 24px;
    height: 64px;
    background: rgba(10, 10, 20, 0.95);
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.hp-footer p {
    font-size: 0.85rem;
    color: #a0a0a8;
    margin: 0;
}

.hp-footer strong {
    color: #d0d0d8;
    font-weight: 600;
}

/* === Responsive === */
@media (max-width: 768px) {
    .hp-hero-title {
        font-size: 2.4rem;
    }
    .hp-hero-sub {
        font-size: 0.95rem;
    }
    .hp-hero-ctas {
        flex-direction: column;
        align-items: center;
    }
    .hp-pillars {
        grid-template-columns: 1fr;
    }
    .hp-services {
        grid-template-columns: 1fr;
    }
    .hp-heading {
        font-size: 1.7rem;
    }
    .hp-card {
        padding: 32px 20px;
    }
    .hp-nav-links {
        gap: 16px;
    }
    .hp-nav-links a {
        font-size: 0.82rem;
    }
}
